Tomcat Problems - Any help is appreciated

2004-09-16 Thread Wilson, Allen
Hello...

I am running 4.1.18 and I suddenly started having problems with Tomcat.
Here is the information that is in the catalina.out file (as added it as
an attachment)...if someone can point me in the right direction to fix
this...I would appreciate it

Thanks you

Allen

** Information in file *

Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
org.xml.sax.SAXParseException: Document root element web-app, must
match DOCTYPE root null.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Error
HandlerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.jav
a:173)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
a:371)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
a:305)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDVa
lidator.java:1526)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDVali
dator.java:1804)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.
java:724)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(X
MLDocumentFragmentScannerImpl.java:759)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRoot
ElementHook(XMLDocumentScannerImpl.java:957)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo
cumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
25)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
81)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
:1175)
at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi
g.java:282)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
ava:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3567
)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:821)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
er.java:257)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
:569)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36
8)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
[ERROR] Digester - -Parse Error at line 1 column 10: Document root
element web-app, must match DOCTYPE root null.
org.xml.sax.SAXParseException: Document root element web-app, must
match DOCTYPE root null.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Error
HandlerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.jav
a:173)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
a:371)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
a:305)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDVali

RE: dallas help wanted

2004-08-24 Thread Wilson, Allen
What help do you need..i am in dallas

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic
Sent: Tuesday, August 24, 2004 10:34 AM
To: [EMAIL PROTECTED]
Subject: ot: dallas help wanted


Please e-mail me if you know someone available.
.V


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


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



RE: Tomcat Webserver

2004-08-04 Thread Wilson, Allen
Yes it has a webserver in it..

Root =  directory_to_tomcat/webapps/root

-Original Message-
From: Marcelo Muzilli (Gelt) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 04, 2004 2:42 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Webserver
Importance: High


Howdy TomcatERs,

I would like to know if Tomcat has an webserver inside it or do
I have to work with Apache (for example) together. If yes, where is the
DocumentRoot directory?

Regards,

Marcelo Muzilli
GELT Tecnologia
www.gelt.com.br
[EMAIL PROTECTED]
Tel: +55 (43) 3375 3187 



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


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



Jakarta Commons Configuration files

2004-08-01 Thread Wilson, Allen
Good afternoon...

I am trying to create a java class that will send HTML mail. I have the
class created and compile but it errors out specifying that the
org.apache.commons.configurtion.Configuration class cannot be found.

Does anyone know where I can locate the jar files for the Commons
Configuration. I look on the Apache Jakarta site and found the Commons
Configuration area but no link to the files could be found.

Thanks...Allen

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



RE: Cannot create JDBC driver of class

2004-07-28 Thread Wilson, Allen
I not sure but when I did this for mysql and got this error. It was due
to the version of the driver that I used. The version that I had was
lower than what the java libraries was expecting. You may want to check
the driver to see what version of Java it works with.

Allen

-Original Message-
From: Bussie, Andre D [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 28, 2004 3:42 PM
To: [EMAIL PROTECTED]
Subject: Cannot create JDBC driver of class


What's triggers this error message I've been trying to connect to a
datasource via JNDI on Tomcat 5.0.19 for the past couple of days and it
seems like when I fix one problem I run into another. Does anyone know
what causes this error message?

 

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class 'org.hsqldb.jdbcDriver' for connect URL 'jdbc:hsqldb.hsql:x',
cause: 

java.sql.SQLException: No suitable driver

 

Before you answer these are the steps I completed so far

1.) Added DataSource via Tomcat Admin Tool

2.) Modified server.xml context to include info for datasource

3.) Modified web.xml file with resource-ref tag

4.) Modified webapp.xml file in tomcat/conf/Catalina file with
datasource params

 

Can anyone help me? 

 

Has anyone had a successful connection to a datasource?

 

Thanks is advance

 

Andre' D. Bussie

Sourcing Rotational Program 

MAC-MAR

532 Fellowship Rd

Moorestown, NJ 08057

856.787.3273 

856.952.7325 - Cell

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 


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



RE: Tomcat 5 on port 80

2004-05-04 Thread Wilson, Allen
Are you trying to start Tomcat as another user other than root (on port
80). To use port 80 Tomcat will be started as root...to get around this
you can start Tomcat as root as have it switch over to another user. I
did so by using the Commons Daemon
(http://jakarta.apache.org/commons/daemon/)

-Original Message-
From: Mario Moroni [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 29, 2004 9:32 AM
To: Tomcat Users List
Subject: Tomcat 5 on port 80


Hi all,
I'm trying to install tomcat 5 on a freeBSD box.

I'd like to use it as a server, and I don't want to install apache (if
it is
possible).
Now I've my tomcat running on port 8180 (Coyote), and no apache
installed.

I'd like to move coyote to port 80 so I can use tomcat as standalone web
server but the log sys that port 80 is not allowed can anybody
help
me?

Thanks.

 Mario

 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=d=29-4

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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: tomcat as deamon

2004-04-15 Thread Wilson, Allen
Just a short thank you



This is working great...and I hope that I can help someone on the list
as everyone has helped me
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 11:20 PM
To: [EMAIL PROTECTED]
Subject: Re: tomcat as deamon


Look at the 'Tomcat.sh' script in jsvc-src/native.  That one is for
Tomcat
4.  Of course, you'll likely have to edit the file to fix things like
paths
and the user.  It's pretty straight forward to change it.

And, yes, I've run Tomcat 4 happily with jsvc ;-).

Wilson, Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Doug...

 I failed to mention that I am on Tomcat 4do you have any
experience
 with jsvc and that. If not, I read through the link you've provided
and
 I may have to move up to Tomcat 5.

 Allen

 -Original Message-
 From: Parsons Technical Services
[mailto:[EMAIL PROTECTED]

 Sent: Monday, April 12, 2004 9:24 PM
 To: Tomcat Users List
 Subject: Re: tomcat as deamon


 Allen,

 Read this page. It will make a little more sense than the instructions
 on
 the commons page.

 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html

 Note the last paragraph on the page. And the script has already been
 changed
 for TC5.

 Once you have completed these steps then you can put the script in
 init.d
 and link it from the desired runlevels. Here is what my modified
script
 looks like:

 # Adapt the following lines to your configuration
 JAVA_HOME=/tomcat/jv
 CATALINA_HOME=/tomcat/tc
 DAEMON_HOME=/tomcat/tc/bin
 TOMCAT_USER=tomcat
 TMP_DIR=/var/tmp
 CATALINA_OPTS=
 CLASSPATH=\
 $JAVA_HOME/lib/tools.jar:\
 $CATALINA_HOME/bin/commons-daemon.jar:\
 $CATALINA_HOME/bin/bootstrap.jar

 case $1 in
   start)
 #
 # Start Tomcat
 #
 $DAEMON_HOME/jsvc \
 -user $TOMCAT_USER \
 -home $JAVA_HOME \
 -Dcatalina.home=$CATALINA_HOME \
 -Djava.io.tmpdir=$TMP_DIR \
 -outfile $CATALINA_HOME/logs/catalina.out \
 -errfile '1' \
 $CATALINA_OPTS \
 -cp $CLASSPATH \
 -Xms384m \
 -Xmx512m \
 org.apache.catalina.startup.Bootstrap
 #
 # To get a verbose JVM
 #-verbose \
 # To get a debug of jsvc.
 #-debug \
 ;;

   stop)
 #
 # Stop Tomcat
 #
 PID=`cat /var/run/jsvc.pid`
 kill $PID
 ;;

   *)
 echo Usage tomcat start/stop
 exit 1;;
 esac

 I also put a link in usr/bin to the script in init.d which allows me
to
 do a
 tomcat stop and tomcat start from anywhere to stop and start tomcat.
My
 script name is tomcat without the .sh .

 Sorry if I am too verbose in my instructions.

 Doug


 - Original Message - 
 From: Wilson, Allen [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, April 12, 2004 6:59 PM
 Subject: RE: tomcat as deamon


  Doug...
 
  I tried to figure out how to use the jsvc...I have it configured but
I
  not sure how to use in in a class...any ideas'
 
  Allen
 
  -Original Message-
  From: Parsons Technical Services
 [mailto:[EMAIL PROTECTED]
 
  Sent: Monday, April 12, 2004 5:55 PM
  To: Tomcat Users List
  Subject: Re: tomcat as deamon
 
 
  Emerson,
 
  It depends. If you need to run tomcat on port 80, then you will need
  jsvc
  otherwise calling startup.sh should work.
 
  Doug
  www.parsonstechnical.com
 
 
  - Original Message - 
  From: Emerson Cargnin [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Monday, April 12, 2004 5:39 PM
  Subject: tomcat as deamon
 
 
   Anyone has experience in using tomcat as deamon??
   What would be the best way? using jsvc??? or create a script to be
   called by init.d?
  
   Would be enough to call startup.sh and shutdown in apache init.d
  script
  
   -- 
   Emerson Cargnin
   Analista de Sistemas
   Setor de Desenvolvimento de Sistemas - TRE-SC
   tel : (048) - 251-3700 - Ramal 3181
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail:
[EMAIL PROTECTED]
  
  
 
 
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




 
 


  This message may contain proprietary or confidential company
 information.
  Any unauthorized use or disclosure is prohibited.
 
 
 




 
 


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



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

RE: tomcat as deamon

2004-04-12 Thread Wilson, Allen
Doug...

I tried to figure out how to use the jsvc...I have it configured but I
not sure how to use in in a class...any ideas'

Allen

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Monday, April 12, 2004 5:55 PM
To: Tomcat Users List
Subject: Re: tomcat as deamon


Emerson,

It depends. If you need to run tomcat on port 80, then you will need
jsvc
otherwise calling startup.sh should work.

Doug
www.parsonstechnical.com


- Original Message - 
From: Emerson Cargnin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 12, 2004 5:39 PM
Subject: tomcat as deamon


 Anyone has experience in using tomcat as deamon??
 What would be the best way? using jsvc??? or create a script to be
 called by init.d?

 Would be enough to call startup.sh and shutdown in apache init.d
script

 -- 
 Emerson Cargnin
 Analista de Sistemas
 Setor de Desenvolvimento de Sistemas - TRE-SC
 tel : (048) - 251-3700 - Ramal 3181

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





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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: tomcat as deamon

2004-04-12 Thread Wilson, Allen
Doug...

I failed to mention that I am on Tomcat 4do you have any experience
with jsvc and that. If not, I read through the link you've provided and
I may have to move up to Tomcat 5.

Allen

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]

Sent: Monday, April 12, 2004 9:24 PM
To: Tomcat Users List
Subject: Re: tomcat as deamon


Allen,

Read this page. It will make a little more sense than the instructions
on
the commons page.

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html

Note the last paragraph on the page. And the script has already been
changed
for TC5.

Once you have completed these steps then you can put the script in
init.d
and link it from the desired runlevels. Here is what my modified script
looks like:

# Adapt the following lines to your configuration
JAVA_HOME=/tomcat/jv
CATALINA_HOME=/tomcat/tc
DAEMON_HOME=/tomcat/tc/bin
TOMCAT_USER=tomcat
TMP_DIR=/var/tmp
CATALINA_OPTS=
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar

case $1 in
  start)
#
# Start Tomcat
#
$DAEMON_HOME/jsvc \
-user $TOMCAT_USER \
-home $JAVA_HOME \
-Dcatalina.home=$CATALINA_HOME \
-Djava.io.tmpdir=$TMP_DIR \
-outfile $CATALINA_HOME/logs/catalina.out \
-errfile '1' \
$CATALINA_OPTS \
-cp $CLASSPATH \
-Xms384m \
-Xmx512m \
org.apache.catalina.startup.Bootstrap
#
# To get a verbose JVM
#-verbose \
# To get a debug of jsvc.
#-debug \
;;

  stop)
#
# Stop Tomcat
#
PID=`cat /var/run/jsvc.pid`
kill $PID
;;

  *)
echo Usage tomcat start/stop
exit 1;;
esac

I also put a link in usr/bin to the script in init.d which allows me to
do a
tomcat stop and tomcat start from anywhere to stop and start tomcat. My
script name is tomcat without the .sh .

Sorry if I am too verbose in my instructions.

Doug


- Original Message - 
From: Wilson, Allen [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 12, 2004 6:59 PM
Subject: RE: tomcat as deamon


 Doug...

 I tried to figure out how to use the jsvc...I have it configured but I
 not sure how to use in in a class...any ideas'

 Allen

 -Original Message-
 From: Parsons Technical Services
[mailto:[EMAIL PROTECTED]

 Sent: Monday, April 12, 2004 5:55 PM
 To: Tomcat Users List
 Subject: Re: tomcat as deamon


 Emerson,

 It depends. If you need to run tomcat on port 80, then you will need
 jsvc
 otherwise calling startup.sh should work.

 Doug
 www.parsonstechnical.com


 - Original Message - 
 From: Emerson Cargnin [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, April 12, 2004 5:39 PM
 Subject: tomcat as deamon


  Anyone has experience in using tomcat as deamon??
  What would be the best way? using jsvc??? or create a script to be
  called by init.d?
 
  Would be enough to call startup.sh and shutdown in apache init.d
 script
 
  -- 
  Emerson Cargnin
  Analista de Sistemas
  Setor de Desenvolvimento de Sistemas - TRE-SC
  tel : (048) - 251-3700 - Ramal 3181
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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









 This message may contain proprietary or confidential company
information.
 Any unauthorized use or disclosure is prohibited.










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



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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Connecting the HTTP Server and Tomcat

2004-04-08 Thread Wilson, Allen
Not a problem...

I wish I could get it working as easily with Apache and Tomcat on
Solaris...

I think I just missing something..but I cannot put my finger on it.

-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 6:31 PM
To: Tomcat User
Subject: RE: Connecting the HTTP Server and Tomcat


Allen, thanks for pointing me at mod_jk.  It works better than proxy or
rewrite!
I've implemented it here now on Apache 2.0 (under WinXP) connected to
Tomcat
4.1.24 (Solaris).
with mod_jk 1.2.5.  Works great!  In case it helps, I'll attach my
config
files:

Tomcat's server.xml:
-
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8113 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=20/

workers.properties:
---
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=192.168.1.62
worker.worker1.port=8113
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

Apache httpd.conf:
--
#
# Entries for connection to Tomcat
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.dll
# Declare the module for IfModule directive
#AddModule mod_jk2.c
# Where to find workers.properties
# Update this path to match your conf directory location (put
workers.properties next to httpd.conf)
JkWorkersFile C:\Program Files\Apache
Group\Apache2\conf\workers.properties
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log
next to access_log)
#JkLogFile /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
#JkLogLevel info
# Select the log format
#JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
# JkOptions indicate to send SSL KEY SIZE,
#JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
#JkRequestLogFormat %w %V %T
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /fitmesite/* worker1
jkMount /soap/* worker1
#
# end of Tomcat connection info



-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 1:19 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


Hi.

Can you post the relevant parts of your httpd.conf file?  Also, I missed
this in the thread if it was mentioned, but what version of Apache are
you working with?  I ask, because it looks like from my setup that
Apache ditched the AddModule directive in Apache 2.0.xx.

LoadModule needs to be in your httpd.conf file before the AddModule
directive under Apache 1.3.x as in:

# All the other LoadModule directive here.
LoadModule jk_module  modules/mod_jk.so

# Further down, all the AddModule directives here
AddModule mod_jk.c

It'd be helpful to see the JkWorkersFile directive, JkMount directive,
and the contents of the jk workers file.

--David

Just tack it on to the end of the list of LoadModule directives.  Then
use AddModule at the end of the list of AddModule directives.

Wilson, Allen wrote:

I think I may have found the problem

I tried to add the line AddModule mod_jk.c in the HTTP server config
and
it gave an error. I could not locate the file within my HTTP or Tomcat
installation.even though I have the mod_jk.so file in the libexec
directory.



-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:35 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


Assuming the connector is working, what effect does adding an
additional

mapping of

/portalajp13

to your existing

/portal/*  ajp13

mapping have?

I just double-checked on our dev box where jk is definitely up. I got a
404 from apache for /mapping but /mapping/stuff got routed through
to tomcat.

Jon

Wilson, Allen wrote:



No you are not way off...at least not from my point of view because


that


is what I thought would work. But unless I specify the port
(http://myserver.com:8080/portal) it will not get there...

It makes me think that the connector is not function correctly but I


do


not know how to tell..when I check the running ports I see the 8009


port


running but it does not hand to Tomcat

-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:09 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


I may be way off but...
I don't think
http://myserver.com/portal
maps to
/portal/* ajp13

http://myserver.com/portal/
or
http://myserver.com/portal/whatever.jsp
probably will, though.

Give it a go, may work,

Jon

Wilson, Allen wrote

RE: Connecting the HTTP Server and Tomcat

2004-04-08 Thread Wilson, Allen
Okay...maybe I am missing the boat hereI've got the jsvc built and
started to read through the Daemon API to see how to implement the
interface for Tomcat-4.1.18. But I do not see how to use it to start my
Tomcat session.

Is there a for dummies book on this

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 7:47 AM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat



Hi,
You can change fairly easily to run with commons-daemon.  Specific
instructions are at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html and general
instructions for daemon are at
http://jakarta.apache.org/commons/daemon/jsvc.html (for unix platforms)
and http://jakarta.apache.org/commons/daemon/procrun.html (for windows
platforms).  

As to your command-line options, it depends.  If you mean many -D params
for the JVMs, that's easy to copy and paste to the jsvc/procrun script.
If you mean options set by catalina.sh, there really aren't that many
(4-5, e.g. endorsed directory, classpath), and they're short.  You will
need to copy and paste those into your jsvc/procrun script if you write
one.

You can also look at/extend $CATALINA_HOME/bin/catalina.xml, and use
commons-launcher (http://jakarta.apache.org/commons/launcher/) to launch
your tomcat.  This eliminates the need for OS-specific scripts, instead
using an Ant file.  This Ant file (catalina.xml) provided with tomcat
has the utility tasks and information you'd need.  Please start another
thread on this mailing list if you go down one of these routes.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: SH Solutions [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 5:35 PM
To: 'Tomcat Users List'
Subject: RE: Connecting the HTTP Server and Tomcat

Hi

Currently I use
  catalina.sh start | stop
to control tomcat 4.1.x and 5.0.x running as root.

Can I change it easily to use commons-daemon (running as non-root)?
A lot of command line options are set in catalina.sh. Would I need to
do
this manually ?

Regards,
  Steffen


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

Using Commons Daemon to start Tomcat

2004-04-08 Thread Wilson, Allen
Title: Message



*** Note this is a 
breakoff from the Connecting the HTTP Server and Tomcat thread 
***

I found the 
BootstrapService and BootstrapServiceContext files and I will look at them for 
methods on implementing them. I also looked at the thread from the link you 
provided and it looks like there is not need for a class to implement the 
daemon. It look like a script was created that passed parameters to the jsvc for 
starting and stopping. 

Is this 
correct...and if so...why is the class needed

Allen
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Using Commons Daemon to start Tomcat

2004-04-08 Thread Wilson, Allen
I don't have Tomcat 5..I have Tomcat 4...so the BootstrapServiceContext is the class 
to use with jsvc..

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 1:26 PM
To: Tomcat Users List
Subject: RE: Using Commons Daemon to start Tomcat



Hi,
The link said the class exists for tomcat 4, but you need to write something like it 
for tomcat 5.

Yoav Shapira
Millennium Research Informatics

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 12:41 PM
To: Tomcat Users List
Subject: Using Commons Daemon to start Tomcat

*** Note this is a breakoff from the Connecting the HTTP Server and Tomcat thread ***
 
I found the BootstrapService and BootstrapServiceContext files and I will look at them 
for methods on implementing them. I also looked at the thread from the link you 
provided and it looks like there is not need for a class to implement the daemon. It lo
ok like a script was created that passed parameters to the jsvc for starting and 
stopping. 
 
Is this correct...and if so...why is the class needed
 
Allen



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
 saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Connecting the HTTP Server and Tomcat

2004-04-08 Thread Wilson, Allen
Not a problemand no..I still do not have it working

Here is the workers.properties

#BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
#END workers.properties



-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 1:49 PM
To: Wilson, Allen
Subject: RE: Connecting the HTTP Server and Tomcat


Allen, did you solve the problem of connecting these?
If not, someone in another email had asked that you show your
worker.properties file.
That could be helpful.  So post it if it ain't soup yet.
Regards
Bill

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 7:32 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Connecting the HTTP Server and Tomcat


Not a problem...

I wish I could get it working as easily with Apache and Tomcat on
Solaris...

I think I just missing something..but I cannot put my finger on it.

-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 6:31 PM
To: Tomcat User
Subject: RE: Connecting the HTTP Server and Tomcat


Allen, thanks for pointing me at mod_jk.  It works better than proxy or
rewrite!
I've implemented it here now on Apache 2.0 (under WinXP) connected to
Tomcat
4.1.24 (Solaris).
with mod_jk 1.2.5.  Works great!  In case it helps, I'll attach my
config
files:

Tomcat's server.xml:
-
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8113 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=20/

workers.properties:
---
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=192.168.1.62
worker.worker1.port=8113
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

Apache httpd.conf:
--
#
# Entries for connection to Tomcat
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.dll
# Declare the module for IfModule directive
#AddModule mod_jk2.c
# Where to find workers.properties
# Update this path to match your conf directory location (put
workers.properties next to httpd.conf)
JkWorkersFile C:\Program Files\Apache
Group\Apache2\conf\workers.properties
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log
next to access_log)
#JkLogFile /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
#JkLogLevel info
# Select the log format
#JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
# JkOptions indicate to send SSL KEY SIZE,
#JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
#JkRequestLogFormat %w %V %T
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /fitmesite/* worker1
jkMount /soap/* worker1
#
# end of Tomcat connection info



-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 1:19 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


Hi.

Can you post the relevant parts of your httpd.conf file?  Also, I missed
this in the thread if it was mentioned, but what version of Apache are
you working with?  I ask, because it looks like from my setup that
Apache ditched the AddModule directive in Apache 2.0.xx.

LoadModule needs to be in your httpd.conf file before the AddModule
directive under Apache 1.3.x as in:

# All the other LoadModule directive here.
LoadModule jk_module  modules/mod_jk.so

# Further down, all the AddModule directives here
AddModule mod_jk.c

It'd be helpful to see the JkWorkersFile directive, JkMount directive,
and the contents of the jk workers file.

--David

Just tack it on to the end of the list of LoadModule directives.  Then
use AddModule at the end of the list of AddModule directives.

Wilson, Allen wrote:

I think I may have found the problem

I tried to add the line AddModule mod_jk.c in the HTTP server config
and
it gave an error. I could not locate the file within my HTTP or Tomcat
installation.even though I have the mod_jk.so file in the libexec
directory.



-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:35 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


Assuming the connector is working, what effect does adding an
additional

mapping of

/portalajp13

to your existing

/portal/*  ajp13

mapping have?

I just double-checked on our dev box where jk is definitely up. I got a
404 from apache for /mapping but /mapping/stuff got routed through

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
Okay...that looks similar to the tomcat 4 information I haveis your
connector working correctly?

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 6:06 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


My configuration is for tomcat 5:

Service name=Catalina
 Connector acceptCount=100 connectionTimeout=2 
disableUploadTimeout=true port=8080 redirectPort=8443
 /Connector

 Connector port=8009
enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /

 Engine defaultHost=localhost name=Catalina
   Host appBase=webapps name=localhost
 Logger className=org.apache.catalina.logger.FileLogger 
prefix=localhost_log. suffix=.txt timestamp=true/
...
...

Wilson, Allen wrote:
 Here are the lines.
 
 Connector
 className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5
maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=100 debug=0
 connectionTimeout=2 / 
 
 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector
 className=org.apache.ajp.tomcat4.Ajp13Connector port=8009
 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/
 
 Let me know if there is something that is incorrect.
 
 -Original Message-
 From: Emerson Cargnin [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 06, 2004 4:28 PM
 To: Tomcat Users List
 Subject: Re: Connecting the HTTP Server and Tomcat
 
 
 You said you can connect through port 8009 through the browser???
 The jk protocol is not http, so if the configuration was allright you 
 can't connect through 8009 as http. Maybe the error is at your
 server.xml...
 
 Wilson, Allen wrote:
 
Thanks but this is on a Windows system and will not help...I am on a
Solaris and I have looked at documents like this before and they still
do not give me a definitive way of setting everything and testing
 
 it...
 
Right now I have the HTTP server (port 80), Tomcat (port 8080), and
 
 the
 
connector (8009) running. I even looked at the netstat to see if each
port was available...and they were.

When a do the home page request (http://myserver.com) it works
fine...but if I request the page for the Jetspeed Portal
(http://myserver.com/portal), I get an error. If I request the portal
page through port 8080 it works fine. If I request the same page on
 
 8009
 
it works fine.

In all cases there were no entries in my mod_jk.log.

I am looking for something that will outline the steps for me on a
Solaris machine or at least give me a better way to diagnose what I am
doing wrong



-Original Message-
From: kwilding [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 10:55 AM
To: 'Tomcat Users List'
Subject: RE: Connecting the HTTP Server and Tomcat


http://www.greenfieldresearch.ca/technical/jk2_config.html
 
This was a really good starting point. Ignore the fact it talks abut
windows, I imstaled on SuSE8.2 using apache2.0.48 and both tomcat 4
 
 and
 
5
Kevan

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
Sent: 06 April 2004 16:42
To: Tomcat Users List
Subject: Connecting the HTTP Server and Tomcat


Good morning
 
Can any provide some assistance on connecting the HTTP server and
 
 Tomcat
 
together. I am using HTTP Server 2.0.48 and Tomcat-4.1.18 on a Sun
Solaris
machine. I think I have everything in place but when the only way I
 
 can
 
reach the Tomcat stuff is my specifying the port number in the URL.
 
Can someone point me in the direction of some How to connect Apache
 
 and
 
Tomcat for Dummies instructions that will provide me some clear steps
and
methods for checking everything out.
 
Thanks...and any help is appreciated.
 
Allen




 


 
This message may contain proprietary or confidential company
 
 information.
 
Any unauthorized use or disclosure is prohibited.





 


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


 
 This message may contain proprietary or confidential company
information.
 Any unauthorized use or disclosure is prohibited.
 
 
 
 


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


-- 
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
Bill..thanks for the reply...

I will read through the link you provide but isn't that what the
connector is supposed to do.

My understanding what that the Apache HTTP server would detect what the
request was (Java or not) and pass it on to Tomcat.
Is this not what the specification of /portal/* ajp13 in the
configuration does.

This is what I got from the document at:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk.quickhowto.html

Here is a little from one of the pages in that area... (
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html )

In a nutshell a web server is waiting for client HTTP requests. When
these requests arrive the server does whatever is needed to serve the
requests by providing the necessary content. 

Adding a servlet container may somewhat change this behavior. Now the
web server needs also to perform the following: 

Load the servlet container adapter library and initialize it (prior to
serving requests). 
When a request arrives, it needs to check and see if a certain request
belongs to a servlet, if so it needs to let the adapter take the request
and handle it. 
The adapter on the other hand needs to know what requests it is going to
serve, usually based on some pattern in the request URL, and to where to
direct these requests. 


Is this not correct...or am I misunderstanding it



-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 12:26 PM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Allen,

do you have the web server configured to throw the requests over to
Tomcat?
In other words, have either Proxy support or else URL Rewriting turned
on in
the web server?
Otherwise your HTTP requests default to port 80, so they will be eaten
by
the web server and never reach Tomcat,
since Tomcat is listening on ports that the HTTP requests do not come to
by
default.

Have you looked at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html
- Bill

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 8:54 AM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Okay...that looks similar to the tomcat 4 information I haveis your
connector working correctly?

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 6:06 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


My configuration is for tomcat 5:

Service name=Catalina
 Connector acceptCount=100 connectionTimeout=2
disableUploadTimeout=true port=8080 redirectPort=8443
 /Connector

 Connector port=8009
enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /

 Engine defaultHost=localhost name=Catalina
   Host appBase=webapps name=localhost
 Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_log. suffix=.txt timestamp=true/
...
...

Wilson, Allen wrote:
 Here are the lines.

 Connector
 className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5
maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=100 debug=0
 connectionTimeout=2 /

 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector
 className=org.apache.ajp.tomcat4.Ajp13Connector port=8009
 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/

 Let me know if there is something that is incorrect.

 -Original Message-
 From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 4:28 PM
 To: Tomcat Users List
 Subject: Re: Connecting the HTTP Server and Tomcat


 You said you can connect through port 8009 through the browser???
 The jk protocol is not http, so if the configuration was allright you
 can't connect through 8009 as http. Maybe the error is at your
 server.xml...

 Wilson, Allen wrote:

Thanks but this is on a Windows system and will not help...I am on a
Solaris and I have looked at documents like this before and they still
do not give me a definitive way of setting everything and testing

 it...

Right now I have the HTTP server (port 80), Tomcat (port 8080), and

 the

connector (8009) running. I even looked at the netstat to see if each
port was available...and they were.

When a do the home page request (http://myserver.com) it works
fine...but if I request the page for the Jetspeed Portal
(http://myserver.com/portal), I get an error. If I request the portal
page through port 8080 it works fine. If I request the same page on

 8009

it works fine.

In all cases there were no entries in my mod_jk.log.

I am looking for something that will outline the steps for me on a
Solaris machine or at least give me a better way to diagnose what I am
doing wrong



-Original Message-
From: kwilding [mailto:[EMAIL

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
No you are not way off...at least not from my point of view because that
is what I thought would work. But unless I specify the port 
(http://myserver.com:8080/portal) it will not get there...

It makes me think that the connector is not function correctly but I do
not know how to tell..when I check the running ports I see the 8009 port
running but it does not hand to Tomcat

-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 2:09 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


I may be way off but...
I don't think
http://myserver.com/portal
maps to
/portal/* ajp13

http://myserver.com/portal/
or
http://myserver.com/portal/whatever.jsp
probably will, though.

Give it a go, may work,

Jon

Wilson, Allen wrote:

 Bill..thanks for the reply...
 
 I will read through the link you provide but isn't that what the
 connector is supposed to do.
 
 My understanding what that the Apache HTTP server would detect what
the
 request was (Java or not) and pass it on to Tomcat.
 Is this not what the specification of /portal/* ajp13 in the
 configuration does.
 
 This is what I got from the document at:
 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk.quickhowto.html
 
 Here is a little from one of the pages in that area... (
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html )
 
 In a nutshell a web server is waiting for client HTTP requests. When
 these requests arrive the server does whatever is needed to serve the
 requests by providing the necessary content. 
 
 Adding a servlet container may somewhat change this behavior. Now the
 web server needs also to perform the following: 
 
 Load the servlet container adapter library and initialize it (prior to
 serving requests). 
 When a request arrives, it needs to check and see if a certain request
 belongs to a servlet, if so it needs to let the adapter take the
request
 and handle it. 
 The adapter on the other hand needs to know what requests it is going
to
 serve, usually based on some pattern in the request URL, and to where
to
 direct these requests. 
 
 
 Is this not correct...or am I misunderstanding it
 
 
 
 -Original Message-
 From: Bill Bruns [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 07, 2004 12:26 PM
 To: Tomcat Users List
 Subject: RE: Connecting the HTTP Server and Tomcat
 
 
 Allen,
 
 do you have the web server configured to throw the requests over to
 Tomcat?
 In other words, have either Proxy support or else URL Rewriting turned
 on in
 the web server?
 Otherwise your HTTP requests default to port 80, so they will be eaten
 by
 the web server and never reach Tomcat,
 since Tomcat is listening on ports that the HTTP requests do not come
to
 by
 default.
 
 Have you looked at
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html
 - Bill
 
 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 07, 2004 8:54 AM
 To: Tomcat Users List
 Subject: RE: Connecting the HTTP Server and Tomcat
 
 
 Okay...that looks similar to the tomcat 4 information I haveis
your
 connector working correctly?
 
 -Original Message-
 From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 6:06 PM
 To: Tomcat Users List
 Subject: Re: Connecting the HTTP Server and Tomcat
 
 
 My configuration is for tomcat 5:
 
 Service name=Catalina
  Connector acceptCount=100 connectionTimeout=2
 disableUploadTimeout=true port=8080 redirectPort=8443
  /Connector
 
  Connector port=8009
 enableLookups=false redirectPort=8443 debug=0
 protocol=AJP/1.3 /
 
  Engine defaultHost=localhost name=Catalina
Host appBase=webapps name=localhost
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=localhost_log. suffix=.txt timestamp=true/
 ...
 ...
 
 Wilson, Allen wrote:
 
Here are the lines.

Connector
className=org.apache.catalina.connector.http.HttpConnector
   port=8080 minProcessors=5
 
 maxProcessors=75
 
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0
connectionTimeout=2 /

!-- Define an AJP 1.3 Connector on port 8009 --
Connector
className=org.apache.ajp.tomcat4.Ajp13Connector port=8009
minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/

Let me know if there is something that is incorrect.

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 4:28 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


You said you can connect through port 8009 through the browser???
The jk protocol is not http, so if the configuration was allright you
can't connect through 8009 as http. Maybe the error is at your
server.xml...

Wilson, Allen wrote:


Thanks but this is on a Windows system and will not help

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
Okay...I've read the article and the way it look is that you are doing
the connection without using a connector like mod_jk. You are doing it
with the proxy module...mod_proxy.so

Is that correct

If so, then it provides me another method to go but before I start back
tracking to do something new..I would like to see if I could get the
mod_jk connector working...

-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 2:04 PM
To: Wilson, Allen; Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Allen,

you ask isn't that what the connector is supposed to do,
but the connector is in Tomcat, not in your web server.
It is the web server software that is monitoring port 80,
and that is where your browser sends requests to by default,
so the request must get past the web server first.
To do that you need to tell the web server where to send them, namely to
your Tomcat port.
I think this accounts for the behaviour you told about, namely that
Tomcat responds fine when you specify the port number in your URL.

-Bill

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 11:32 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Connecting the HTTP Server and Tomcat


Bill..thanks for the reply...

I will read through the link you provide but isn't that what the
connector is supposed to do.

My understanding what that the Apache HTTP server would detect what the
request was (Java or not) and pass it on to Tomcat.
Is this not what the specification of /portal/* ajp13 in the
configuration does.

This is what I got from the document at:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk.quickhowto.html

Here is a little from one of the pages in that area... (
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html )

In a nutshell a web server is waiting for client HTTP requests. When
these requests arrive the server does whatever is needed to serve the
requests by providing the necessary content.

Adding a servlet container may somewhat change this behavior. Now the
web server needs also to perform the following:

Load the servlet container adapter library and initialize it (prior to
serving requests).
When a request arrives, it needs to check and see if a certain request
belongs to a servlet, if so it needs to let the adapter take the request
and handle it.
The adapter on the other hand needs to know what requests it is going to
serve, usually based on some pattern in the request URL, and to where to
direct these requests.


Is this not correct...or am I misunderstanding it



-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 12:26 PM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Allen,

do you have the web server configured to throw the requests over to
Tomcat?
In other words, have either Proxy support or else URL Rewriting turned
on in
the web server?
Otherwise your HTTP requests default to port 80, so they will be eaten
by
the web server and never reach Tomcat,
since Tomcat is listening on ports that the HTTP requests do not come to
by
default.

Have you looked at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html
- Bill

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 8:54 AM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Okay...that looks similar to the tomcat 4 information I haveis your
connector working correctly?

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 6:06 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


My configuration is for tomcat 5:

Service name=Catalina
 Connector acceptCount=100 connectionTimeout=2
disableUploadTimeout=true port=8080 redirectPort=8443
 /Connector

 Connector port=8009
enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /

 Engine defaultHost=localhost name=Catalina
   Host appBase=webapps name=localhost
 Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_log. suffix=.txt timestamp=true/
...
...

Wilson, Allen wrote:
 Here are the lines.

 Connector
 className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5
maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=100 debug=0
 connectionTimeout=2 /

 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector
 className=org.apache.ajp.tomcat4.Ajp13Connector port=8009
 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/

 Let me know if there is something that is incorrect.

 -Original Message-
 From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
 Sent

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
I think I may have found the problem

I tried to add the line AddModule mod_jk.c in the HTTP server config and
it gave an error. I could not locate the file within my HTTP or Tomcat
installation.even though I have the mod_jk.so file in the libexec
directory.



-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 2:35 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


Assuming the connector is working, what effect does adding an additional

mapping of

/portal ajp13

to your existing

/portal/*   ajp13

mapping have?

I just double-checked on our dev box where jk is definitely up. I got a 
404 from apache for /mapping but /mapping/stuff got routed through 
to tomcat.

Jon

Wilson, Allen wrote:

 No you are not way off...at least not from my point of view because
that
 is what I thought would work. But unless I specify the port 
 (http://myserver.com:8080/portal) it will not get there...
 
 It makes me think that the connector is not function correctly but I
do
 not know how to tell..when I check the running ports I see the 8009
port
 running but it does not hand to Tomcat
 
 -Original Message-
 From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 07, 2004 2:09 PM
 To: Tomcat Users List
 Subject: Re: Connecting the HTTP Server and Tomcat
 
 
 I may be way off but...
 I don't think
 http://myserver.com/portal
 maps to
 /portal/* ajp13
 
 http://myserver.com/portal/
 or
 http://myserver.com/portal/whatever.jsp
 probably will, though.
 
 Give it a go, may work,
 
 Jon
 
 Wilson, Allen wrote:
 
 
Bill..thanks for the reply...

I will read through the link you provide but isn't that what the
connector is supposed to do.

My understanding what that the Apache HTTP server would detect what
 
 the
 
request was (Java or not) and pass it on to Tomcat.
Is this not what the specification of /portal/* ajp13 in the
configuration does.

This is what I got from the document at:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk.quickhowto.html

Here is a little from one of the pages in that area... (
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html )

In a nutshell a web server is waiting for client HTTP requests. When
these requests arrive the server does whatever is needed to serve the
requests by providing the necessary content. 

Adding a servlet container may somewhat change this behavior. Now the
web server needs also to perform the following: 

Load the servlet container adapter library and initialize it (prior to
serving requests). 
When a request arrives, it needs to check and see if a certain request
belongs to a servlet, if so it needs to let the adapter take the
 
 request
 
and handle it. 
The adapter on the other hand needs to know what requests it is going
 
 to
 
serve, usually based on some pattern in the request URL, and to where
 
 to
 
direct these requests. 


Is this not correct...or am I misunderstanding it



-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 12:26 PM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Allen,

do you have the web server configured to throw the requests over to
Tomcat?
In other words, have either Proxy support or else URL Rewriting turned
on in
the web server?
Otherwise your HTTP requests default to port 80, so they will be eaten
by
the web server and never reach Tomcat,
since Tomcat is listening on ports that the HTTP requests do not come
 
 to
 
by
default.

Have you looked at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html
- Bill

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 8:54 AM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Okay...that looks similar to the tomcat 4 information I haveis
 
 your
 
connector working correctly?

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 6:06 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


My configuration is for tomcat 5:

Service name=Catalina
 Connector acceptCount=100 connectionTimeout=2
disableUploadTimeout=true port=8080 redirectPort=8443
 /Connector

 Connector port=8009
enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /

 Engine defaultHost=localhost name=Catalina
   Host appBase=webapps name=localhost
 Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_log. suffix=.txt timestamp=true/
...
...

Wilson, Allen wrote:


Here are the lines.

   Connector
className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5

maxProcessors=75


  enableLookups=true redirectPort=8443
  acceptCount=100 debug=0
connectionTimeout

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
My reason for the Apache..is that I do not want root to run the Tomcat
process once I put the server into production and I saw no other way for
Tomcat to run on port 80 without using root..

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 2:44 PM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat



Hi,
The rest of this thread aside, are you sure you even need Apache?  Do
you particular CGI/SSI/PHP scripts you need to serve in a high
concurrency environment?  What's your expected load?  Tomcat standalone
might be good enough for your needs, in which case you could drop all
this connector stuff.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 3:04 PM
To: Wilson, Allen; Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat

Allen,

you ask isn't that what the connector is supposed to do,
but the connector is in Tomcat, not in your web server.
It is the web server software that is monitoring port 80,
and that is where your browser sends requests to by default,
so the request must get past the web server first.
To do that you need to tell the web server where to send them, namely
to
your Tomcat port.
I think this accounts for the behaviour you told about, namely that
Tomcat responds fine when you specify the port number in your URL.

-Bill

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 11:32 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Connecting the HTTP Server and Tomcat


Bill..thanks for the reply...

I will read through the link you provide but isn't that what the
connector is supposed to do.

My understanding what that the Apache HTTP server would detect what the
request was (Java or not) and pass it on to Tomcat.
Is this not what the specification of /portal/* ajp13 in the
configuration does.

This is what I got from the document at:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk.quickhowto.html

Here is a little from one of the pages in that area... (
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html )

In a nutshell a web server is waiting for client HTTP requests. When
these requests arrive the server does whatever is needed to serve the
requests by providing the necessary content.

Adding a servlet container may somewhat change this behavior. Now the
web server needs also to perform the following:

Load the servlet container adapter library and initialize it (prior to
serving requests).
When a request arrives, it needs to check and see if a certain request
belongs to a servlet, if so it needs to let the adapter take the
request
and handle it.
The adapter on the other hand needs to know what requests it is going
to
serve, usually based on some pattern in the request URL, and to where
to
direct these requests.


Is this not correct...or am I misunderstanding it



-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 12:26 PM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Allen,

do you have the web server configured to throw the requests over to
Tomcat?
In other words, have either Proxy support or else URL Rewriting turned
on in
the web server?
Otherwise your HTTP requests default to port 80, so they will be eaten
by
the web server and never reach Tomcat,
since Tomcat is listening on ports that the HTTP requests do not come
to
by
default.

Have you looked at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html
- Bill

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 8:54 AM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Okay...that looks similar to the tomcat 4 information I haveis your
connector working correctly?

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 6:06 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


My configuration is for tomcat 5:

Service name=Catalina
 Connector acceptCount=100 connectionTimeout=2
disableUploadTimeout=true port=8080 redirectPort=8443
 /Connector

 Connector port=8009
enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /

 Engine defaultHost=localhost name=Catalina
   Host appBase=webapps name=localhost
 Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_log. suffix=.txt timestamp=true/
...
...

Wilson, Allen wrote:
 Here are the lines.

 Connector
 className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5
maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=100 debug=0
 connectionTimeout

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
No a problem...I am using 2.0.48..

I have the LoadModule line and the other directives here...they are 


LoadModule jk_module /usr/WWW/libexec/mod_jk.so


 JkWorkersFile /usr/tomcat-4.1.18/conf/jk/workers.properties
 JkLogFile /usr/tomcat-4.1.18/logs/mod_jk.log
 JkLogLeveldebug
 JkMount  /portal/* ajp13

I was unable to put in the AddModule line because I did not see it (the
mod_jk.c file) loaded when I did the apachectl -l. I am working on
getting that loaded now

-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 3:19 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


Hi.

Can you post the relevant parts of your httpd.conf file?  Also, I missed

this in the thread if it was mentioned, but what version of Apache are 
you working with?  I ask, because it looks like from my setup that 
Apache ditched the AddModule directive in Apache 2.0.xx.

LoadModule needs to be in your httpd.conf file before the AddModule 
directive under Apache 1.3.x as in:

# All the other LoadModule directive here.
LoadModule jk_module  modules/mod_jk.so

# Further down, all the AddModule directives here
AddModule mod_jk.c

It'd be helpful to see the JkWorkersFile directive, JkMount directive, 
and the contents of the jk workers file.

--David

Just tack it on to the end of the list of LoadModule directives.  Then 
use AddModule at the end of the list of AddModule directives.

Wilson, Allen wrote:

I think I may have found the problem

I tried to add the line AddModule mod_jk.c in the HTTP server config
and
it gave an error. I could not locate the file within my HTTP or Tomcat
installation.even though I have the mod_jk.so file in the libexec
directory.



-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 2:35 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


Assuming the connector is working, what effect does adding an
additional

mapping of

/portalajp13

to your existing

/portal/*  ajp13

mapping have?

I just double-checked on our dev box where jk is definitely up. I got a

404 from apache for /mapping but /mapping/stuff got routed through 
to tomcat.

Jon

Wilson, Allen wrote:

  

No you are not way off...at least not from my point of view because


that
  

is what I thought would work. But unless I specify the port 
(http://myserver.com:8080/portal) it will not get there...

It makes me think that the connector is not function correctly but I


do
  

not know how to tell..when I check the running ports I see the 8009


port
  

running but it does not hand to Tomcat

-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 2:09 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


I may be way off but...
I don't think
http://myserver.com/portal
maps to
/portal/* ajp13

http://myserver.com/portal/
or
http://myserver.com/portal/whatever.jsp
probably will, though.

Give it a go, may work,

Jon

Wilson, Allen wrote:




Bill..thanks for the reply...

I will read through the link you provide but isn't that what the
connector is supposed to do.

My understanding what that the Apache HTTP server would detect what
  

the



request was (Java or not) and pass it on to Tomcat.
Is this not what the specification of /portal/* ajp13 in the
configuration does.

This is what I got from the document at:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk.quickhowto.htm
l

Here is a little from one of the pages in that area... (
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html )

In a nutshell a web server is waiting for client HTTP requests. When
these requests arrive the server does whatever is needed to serve the
requests by providing the necessary content. 

Adding a servlet container may somewhat change this behavior. Now the
web server needs also to perform the following: 

Load the servlet container adapter library and initialize it (prior
to
serving requests). 
When a request arrives, it needs to check and see if a certain
request
belongs to a servlet, if so it needs to let the adapter take the
  

request



and handle it. 
The adapter on the other hand needs to know what requests it is going
  

to



serve, usually based on some pattern in the request URL, and to where
  

to



direct these requests. 


Is this not correct...or am I misunderstanding it



-Original Message-
From: Bill Bruns [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 12:26 PM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat


Allen,

do you have the web server configured to throw the requests over to
Tomcat?
In other words, have either Proxy support or else URL Rewriting
turned
on in
the web server?
Otherwise your HTTP requests default to port 80, so they will be
eaten

RE: Connecting the HTTP Server and Tomcat

2004-04-07 Thread Wilson, Allen
Yes...I think this is a better route to go...I will try it...thanks

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 3:43 PM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat



Hi,

My reason for the Apache..is that I do not want root to run the Tomcat
process once I put the server into production and I saw no other way
for
Tomcat to run on port 80 without using root..

Use commons-daemon for this.  It ships with tomcat5 and works with
tomcat4 as well: http://jakarta.apache.org/commons/daemon/index.html.

Yoav Shapira




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

Connecting the HTTP Server and Tomcat

2004-04-06 Thread Wilson, Allen
Title: Message



Good 
morning

Can any provide some 
assistance on connecting the HTTP server and Tomcat together. I am using HTTP 
Server 2.0.48 and Tomcat-4.1.18 on a Sun Solaris machine. I think I have 
everything in place but when the only way I can reach the Tomcat stuff is my 
specifying the port number in the URL.

Can someone point me 
in the direction of some "How to connect Apache and Tomcat for Dummies" 
instructions that will provide me some clear steps and methods for checking 
everything out.

Thanks...and any 
help is appreciated.

Allen
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Connecting the HTTP Server and Tomcat

2004-04-06 Thread Wilson, Allen
Thanks but this is on a Windows system and will not help...I am on a
Solaris and I have looked at documents like this before and they still
do not give me a definitive way of setting everything and testing it...

Right now I have the HTTP server (port 80), Tomcat (port 8080), and the
connector (8009) running. I even looked at the netstat to see if each
port was available...and they were.

When a do the home page request (http://myserver.com) it works
fine...but if I request the page for the Jetspeed Portal
(http://myserver.com/portal), I get an error. If I request the portal
page through port 8080 it works fine. If I request the same page on 8009
it works fine.

In all cases there were no entries in my mod_jk.log.

I am looking for something that will outline the steps for me on a
Solaris machine or at least give me a better way to diagnose what I am
doing wrong



-Original Message-
From: kwilding [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 10:55 AM
To: 'Tomcat Users List'
Subject: RE: Connecting the HTTP Server and Tomcat


http://www.greenfieldresearch.ca/technical/jk2_config.html
 
This was a really good starting point. Ignore the fact it talks abut
windows, I imstaled on SuSE8.2 using apache2.0.48 and both tomcat 4 and
5
Kevan

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
Sent: 06 April 2004 16:42
To: Tomcat Users List
Subject: Connecting the HTTP Server and Tomcat


Good morning
 
Can any provide some assistance on connecting the HTTP server and Tomcat
together. I am using HTTP Server 2.0.48 and Tomcat-4.1.18 on a Sun
Solaris
machine. I think I have everything in place but when the only way I can
reach the Tomcat stuff is my specifying the port number in the URL.
 
Can someone point me in the direction of some How to connect Apache and
Tomcat for Dummies instructions that will provide me some clear steps
and
methods for checking everything out.
 
Thanks...and any help is appreciated.
 
Allen

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Connecting the HTTP Server and Tomcat

2004-04-06 Thread Wilson, Allen
Here are the lines.

Connector
className=org.apache.catalina.connector.http.HttpConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0
connectionTimeout=2 / 

!-- Define an AJP 1.3 Connector on port 8009 --
Connector
className=org.apache.ajp.tomcat4.Ajp13Connector port=8009
minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/

Let me know if there is something that is incorrect.

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 4:28 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat


You said you can connect through port 8009 through the browser???
The jk protocol is not http, so if the configuration was allright you 
can't connect through 8009 as http. Maybe the error is at your
server.xml...

Wilson, Allen wrote:
 Thanks but this is on a Windows system and will not help...I am on a
 Solaris and I have looked at documents like this before and they still
 do not give me a definitive way of setting everything and testing
it...
 
 Right now I have the HTTP server (port 80), Tomcat (port 8080), and
the
 connector (8009) running. I even looked at the netstat to see if each
 port was available...and they were.
 
 When a do the home page request (http://myserver.com) it works
 fine...but if I request the page for the Jetspeed Portal
 (http://myserver.com/portal), I get an error. If I request the portal
 page through port 8080 it works fine. If I request the same page on
8009
 it works fine.
 
 In all cases there were no entries in my mod_jk.log.
 
 I am looking for something that will outline the steps for me on a
 Solaris machine or at least give me a better way to diagnose what I am
 doing wrong
 
 
 
 -Original Message-
 From: kwilding [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 06, 2004 10:55 AM
 To: 'Tomcat Users List'
 Subject: RE: Connecting the HTTP Server and Tomcat
 
 
 http://www.greenfieldresearch.ca/technical/jk2_config.html
  
 This was a really good starting point. Ignore the fact it talks abut
 windows, I imstaled on SuSE8.2 using apache2.0.48 and both tomcat 4
and
 5
 Kevan
 
 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
 Sent: 06 April 2004 16:42
 To: Tomcat Users List
 Subject: Connecting the HTTP Server and Tomcat
 
 
 Good morning
  
 Can any provide some assistance on connecting the HTTP server and
Tomcat
 together. I am using HTTP Server 2.0.48 and Tomcat-4.1.18 on a Sun
 Solaris
 machine. I think I have everything in place but when the only way I
can
 reach the Tomcat stuff is my specifying the port number in the URL.
  
 Can someone point me in the direction of some How to connect Apache
and
 Tomcat for Dummies instructions that will provide me some clear steps
 and
 methods for checking everything out.
  
 Thanks...and any help is appreciated.
  
 Allen
 
 
 


 
 This message may contain proprietary or confidential company
information.
 Any unauthorized use or disclosure is prohibited.
 
 
 
 


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


-- 
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181

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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Suggestion on where to put mysql driver

2004-03-05 Thread Wilson, Allen
I put my driver in the WEB-INF /lib since I only wanted that application
to use the driver. If you want it to be available to the whole server
you can use the others.



-Original Message-
From: Simone - Dev [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 05, 2004 10:33 AM
To: 'Tomcat Users List'
Subject: Suggestion on where to put mysql driver


hello all,
I'm installing a new server and I'd like know where should I put the
mysql jdbc driver.
In all my other server I installed them in the $JAVA_HOME/jre/lib/ext
But I suppose this is not the best position for it.
 
Where do u suggest to put it?
Common
Shared
in each webapp WEB-INF/lib
 
Thank you
Simone
-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
Life is short, play hard
 


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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

Using Tomcat as an application server

2004-02-17 Thread Wilson, Allen
Title: Message



Good 
Afternoon...

I am trying to set 
Tomcat up as an application server so that it can be ran in conjunction with 
Apache (looked at the Wrox's Professional Tomcat book who mentions that is how 
to run the server with Apache). I have been unable to find the proper 
Connector element setting/parameter to make the 
change.

Can anyone provide 
some assistance?

Thanks...Allen
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

Configuring Apache and Tomcat

2004-02-16 Thread Wilson, Allen
Title: Message



Good 
Afternoon...

I am trying to 
configure Apache and Tomcat to run together. It looks like I have the 
configurations right as the Wrox Professional Tomcat book outlines because I get 
the pages they say you should get when doing the configuration. The problem is 
when I try to run a cgi script it looks like it is still being handled by Tomcat 
because it tries to download or open the file instead of running 
it.

Does any have any 
suggestions on where I can fix this?

Thanks

Allen
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

XML Transforming with XSL

2004-01-30 Thread Wilson, Allen
Title: Message




Does anyone have any 
experience with using XML and XSL in portlet?

Here is my 
scenario...

I have a JSP portlet 
that provides the user with links to other documents. When a link is clicked the 
Action class for the JSP page will go out find the XML document. At this point, 
I would like the XSL to transform the XML to XHTML/HTML and display it back to 
the user. I am not sure whether the page that will be displayed back to the user 
can be another JSP page with the transformed XML as the content or do I have to 
use an XSL portlet to display the information (even though it will not be known 
until run time which XML document should be transformed).

My questions 
are:

- Can Jetspeed 
and/or Tomcat translate the XML using the XSL (is there an XSL processor native 
to Tomcat).
- Can a XSL portlet 
be setup with providin the URL of the XML document (all the docq I have found 
says you cannot)

Any suggestions 
would be appreciated
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: RTFM

2004-01-14 Thread Wilson, Allen
Have you tried using JavaScript. The window.location =
http://localhost:8080/app2 may work.

Allen

-Original Message-
From: Jerald Powel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 4:11 PM
To: Tomcat Users List
Subject: RTFM



Hi,

Now I have your attention, will someone tell me if it is
possible to forward control (either by JSP or Servlet) from one context
to another, in the same browser window? i.e:

 

forward from http://locahost:8080/app1/...

to http://locahost:8080/app2/... in the same window (IE).

  

It is either so glaringly obvious that no one deems an answer worthwhile
(RTFM), or so really really difficult, and no one knows how do this.
Surely not. Either way I need to know. 

 

A yes or no will suffice, is it possible? If it is, any further
direction after that is of course appreciated!

  

Gerald.

 

P.S I am using Apache Tomcat 4.0.6, and have found no doco on this

 


-
  Yahoo! Messenger - Communicate instantly...Ping your friends today!
Download Messenger Now
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: How to get username

2003-12-09 Thread Wilson, Allen
You can use rundata.getUser().getUserName();

This will return user's login name

Allen

-Original Message-
From: Chaikin, Yaakov Y (US SSA)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2003 8:56 AM
To: [EMAIL PROTECTED]
Subject: How to get username


Hi,

Does anyone know how to get back the username once the person logged in
with declarative security?

Thanks.

Yaakov Chaikin
Software Engineer
BAE SYSTEMS
301-838-6899 (phone)
301-838-6802 (fax)
[EMAIL PROTECTED]



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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Connect to MySQL.

2003-10-20 Thread Wilson, Allen
Are you trying to make the connection to MySQL as part of the tomcat
startup (Connection Pooling)? If so, I put the jar file in the
jre/lib/ext of my java installation.

Allen

-Original Message-
From: Nuno Paquete [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 7:16 AM
To: [EMAIL PROTECTED]
Subject: Connect to MySQL.


Hi everyone.
I'm having problems to connetc to MySQL.
I put the connector driver in the respective directory, like it's writen
in 
MySQL web site but i can connect. I think it's not a problem of source
code, 
i think it a problem with the driver.
Does anyone can tell me where should i put the driver?
Thanks in advance.

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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: (Apache Tomcat) || (Tomcat with CGI Support)?

2003-09-26 Thread Wilson, Allen
I just finished configuring my Tomcat system to run CGI scripts but that
was on a Solaris system. The main thing I can point out is make sure
your JDK is up to date and if it is not be sure to read the
compatibility issues on updating from an older version to a new one.

Allen

-Original Message-
From: Lawence [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 26, 2003 3:42 PM
To: [EMAIL PROTECTED]
Subject: (Apache  Tomcat) || (Tomcat with CGI Support)?


Dear All,
 
I need to accomondate some old cgi scripts on my website but primarily
it uses java. I am wondering which comb is better in terms of simplicity
and usability. 
 
By the way, I tried to enable CGI support with Tomcat, but since the
installation path of Tomcat contains white space, it complaind that
c:\programs does not exist (actually it is c:\program files). Anybody
had the same experience?
 
Charlie


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
I have the j2ee.jar file in the classpath...should that not provide the
current jdk.

Allen

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 6:12 PM
To: 'Tomcat Users List'
Subject: RE: Configuring and using cgi scripts in Tomcat


In the stack trace, root cause, you'll find:

java.lang.NoSuchMethodError: 
  java.lang.Runtime: method
exec(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Ljava/lang/Proc
ess; not found
 
 
So something (org.apache.catalina.servlets.CGIServlet$CGIRunner.run) is
trying to find a method called:

  java.langRuntime.exec(String, String[] File)

But cannot find it. There is such a method, but only since JDK 1.3 So..
are you running at least 1.3?  




 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 23, 2003 5:22 PM
 To: Tomcat Users List
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 Okay...
 
 Found out that I did not have the mapping correct but when I 
 changed it to go the ROOT/WEB-INF/cgi-bin. I have now getting 
 the following error.
 
 Any help would be highly appreciate (even to the point of 
 naming my next born after you.:-) )
 
 Allen
 
 (error msg)
 
 HTTP Status 500 - 
 
 --
 --
 
 
 type Exception report
 
 message 
 
 description The server encountered an internal error () that 
 prevented it from fulfilling this request.
 
 exception 
 
 javax.servlet.ServletException: Servlet execution threw an exception
   at java.lang.Throwable.fillInStackTrace(Native Method)
   at java.lang.Throwable.fillInStackTrace(Compiled Code)
   at java.lang.Throwable.(Compiled Code)
   at java.lang.Exception.(Compiled Code)
   at javax.servlet.ServletException.(ServletException.java:132)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(Applica
 tionFilterChain.java:269)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilt
 erChain.java:193)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValv
 e.java:260)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(Compiled Code)
   at org.apache.catalina.core.StandardPipeline.invoke(Compiled
 Code)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValv
 e.java:191)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(Compiled Code)
   at 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:4
 80)
   at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
   at org.apache.catalina.core.StandardContext.invoke(Compiled
 Code)
   at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java
 :180)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(Compiled Code)
   at 
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
 spatcherVa
 lve.java:170)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(Compiled Code)
   at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
 Valve.java
 :172)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(Compiled Code)
   at org.apache.catalina.valves.AccessLogValve.invoke(Compiled
 Code)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(Compiled Code)
   at 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.
 java:174)
   at 
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.i
 nvokeNext(Compiled Code)
   at 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:4
 80)
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at
 org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
 java:223)
   at org.apache.coyote.http11.Http11Processor.process(Compiled
 Code)
   at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
 r.processC
 onnection(Http11Protocol.java:386)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled
 Code)
   at 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled
 Code)
   at java.lang.Thread.run(Thread.java:479)
 
 
 root cause 
 
 java.lang.NoSuchMethodError: java.lang.Runtime: method 
 exec(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Ljava
/lang/Proc
 ess; not found
   at 
 org.apache.catalina.servlets.CGIServlet

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
JAVA_HOME points to /usr/java1.2.

In that directory I have the j2ee and it information. I am currently
downloading the Java 2 SDK, Standard Edition 1.4.2_01. If I install this
and put the information in the class path..will it provide me with what
I need.

Allen

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 24, 2003 10:26 AM
To: 'Tomcat Users List'
Subject: RE: Configuring and using cgi scripts in Tomcat



 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 24, 2003 9:54 AM
 To: Tomcat Users List
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 I have the j2ee.jar file in the classpath...should that not 
 provide the current jdk.
 

Well, no.  j2ee.jar is just a library.  It happens to be quite large and
covers a LOT of functionality.  But it is not a java runtime, and it
doesn't contain any of the core java (j2se) classes.

From the docs on j2ee 1.3.1:


Supported Operating Systems and Required Software 
   This release relies on the Java 2 SDK, Standard Edition (J2SE). 



The reason Yoav recommends you dump j2ee.jar is that it contains a
number of classes that Tomcat *already* has, and it's easier to avoid
conflicts between different class versions by just removing the entirely
un-necessary j2ee.jar from Tomcat's view.

Where does JAVA_HOME point to?  It should point to an installation of
the J2SE JDK version 1.3.x or above.


 -Original Message-

 From: Mike Curwen [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 23, 2003 6:12 PM
 To: 'Tomcat Users List'
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 In the stack trace, root cause, you'll find:
 
 java.lang.NoSuchMethodError: 
   java.lang.Runtime: method 
 exec(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Ljava
/lang/Proc
 ess; not found
  
  
 So something 
 (org.apache.catalina.servlets.CGIServlet$CGIRunner.run) is 
 trying to find a method called:
 
   java.langRuntime.exec(String, String[] File)
 
 But cannot find it. There is such a method, but only since 
 JDK 1.3 So.. are you running at least 1.3?  
 
 
 
 
  -Original Message-
  From: Wilson, Allen [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, September 23, 2003 5:22 PM
  To: Tomcat Users List
  Subject: RE: Configuring and using cgi scripts in Tomcat
  
  
  Okay...
  
  Found out that I did not have the mapping correct but when I
  changed it to go the ROOT/WEB-INF/cgi-bin. I have now getting 
  the following error.
  
  Any help would be highly appreciate (even to the point of
  naming my next born after you.:-) )
  
  Allen
  
  (error msg)
  
  HTTP Status 500 -
  
  --
  --
  
  
  type Exception report
  
  message
  
  description The server encountered an internal error () that
  prevented it from fulfilling this request.
  
  exception
  
  javax.servlet.ServletException: Servlet execution threw an exception
  at java.lang.Throwable.fillInStackTrace(Native Method)
  at java.lang.Throwable.fillInStackTrace(Compiled Code)
  at java.lang.Throwable.(Compiled Code)
  at java.lang.Exception.(Compiled Code)
  at javax.servlet.ServletException.(ServletException.java:132)
  at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
  er(Applica
  tionFilterChain.java:269)
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
  cationFilt
  erChain.java:193)
  at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
  rapperValv
  e.java:260)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.i
  nvokeNext(Compiled Code)
  at org.apache.catalina.core.StandardPipeline.invoke(Compiled
  Code)
  at
  
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardC
  ontextValv
  e.java:191)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.i
  nvokeNext(Compiled Code)
  at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
  ine.java:4
  80)
  at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
  at org.apache.catalina.core.StandardContext.invoke(Compiled
  Code)
  at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHost
  Valve.java
  :180)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.i
  nvokeNext(Compiled Code)
  at 
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
  spatcherVa
  lve.java:170)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.i
  nvokeNext(Compiled Code)
  at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
  Valve.java
  :172)
  at 
  org.apache.catalina.core.StandardPipeline$StandardPipelineValv
  eContext.i
  nvokeNext(Compiled

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
It is A...

The machine this is on is a Sun with the 2.8 OS. The java directory was
/usr/java1.2 and I add the current J2EE to it (at the time j2sdkee1.3.1)
and I did not add a JDK. But this should be taken care of by adding Java
2 SDK, Standard Edition 1.4.2_01.

I will try that and see what happens.

Mike and Yoav..thanks for the help hopefully I can get this installed
without any problems and everything works

Allen

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 24, 2003 10:57 AM
To: 'Tomcat Users List'
Subject: RE: Configuring and using cgi scripts in Tomcat


It's probably called /usr/java1.2. because it :

a) had j2ee1.2 in it?
b) it had jdk 1.2 in it?
 
If it's a), you don't even have a JDK. If it's b), then then JDK is too
old. Either way, you don't have what you need.
 
putting it in the classpath.   That really is only important if you're
compiling servlets or other java programs, and using the system
classpath variable to do the compiling. 

Tomcat does not use system classpath variables. It uses JAVA_HOME.  So
just be sure to update JAVA_HOME to the newest JDK, and restart Tomcat.
You should be good after that.



 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 24, 2003 10:49 AM
 To: Tomcat Users List
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 JAVA_HOME points to /usr/java1.2.
 
 In that directory I have the j2ee and it information. I am 
 currently downloading the Java 2 SDK, Standard Edition 
 1.4.2_01. If I install this and put the information in the 
 class path..will it provide me with what I need.
 
 Allen
 
 -Original Message-
 From: Mike Curwen [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 24, 2003 10:26 AM
 To: 'Tomcat Users List'
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 
  -Original Message-
  From: Wilson, Allen [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, September 24, 2003 9:54 AM
  To: Tomcat Users List
  Subject: RE: Configuring and using cgi scripts in Tomcat
  
  
  I have the j2ee.jar file in the classpath...should that not
  provide the current jdk.
  
 
 Well, no.  j2ee.jar is just a library.  It happens to be 
 quite large and
 covers a LOT of functionality.  But it is not a java runtime, and it
 doesn't contain any of the core java (j2se) classes.
 
 From the docs on j2ee 1.3.1:
 
 
 Supported Operating Systems and Required Software 
This release relies on the Java 2 SDK, Standard Edition (J2SE). 
 
 
 
 The reason Yoav recommends you dump j2ee.jar is that it contains a
 number of classes that Tomcat *already* has, and it's easier to avoid
 conflicts between different class versions by just removing 
 the entirely
 un-necessary j2ee.jar from Tomcat's view.
 
 Where does JAVA_HOME point to?  It should point to an installation of
 the J2SE JDK version 1.3.x or above.
 
 
  -Original Message-
 
  From: Mike Curwen [mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, September 23, 2003 6:12 PM
  To: 'Tomcat Users List'
  Subject: RE: Configuring and using cgi scripts in Tomcat
  
  
  In the stack trace, root cause, you'll find:
  
  java.lang.NoSuchMethodError: 
java.lang.Runtime: method 
  exec(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Ljava
 /lang/Proc
  ess; not found
   
   
  So something 
  (org.apache.catalina.servlets.CGIServlet$CGIRunner.run) is 
  trying to find a method called:
  
java.langRuntime.exec(String, String[] File)
  
  But cannot find it. There is such a method, but only since 
  JDK 1.3 So.. are you running at least 1.3?  
  
  
  
  
   -Original Message-
   From: Wilson, Allen [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, September 23, 2003 5:22 PM
   To: Tomcat Users List
   Subject: RE: Configuring and using cgi scripts in Tomcat
   
   
   Okay...
   
   Found out that I did not have the mapping correct but when I
   changed it to go the ROOT/WEB-INF/cgi-bin. I have now getting 
   the following error.
   
   Any help would be highly appreciate (even to the point of
   naming my next born after you.:-) )
   
   Allen
   
   (error msg)
   
   HTTP Status 500 -
   
   --
   --
   
   
   type Exception report
   
   message
   
   description The server encountered an internal error () that
   prevented it from fulfilling this request.
   
   exception
   
   javax.servlet.ServletException: Servlet execution threw 
 an exception
 at java.lang.Throwable.fillInStackTrace(Native Method)
 at java.lang.Throwable.fillInStackTrace(Compiled Code)
 at java.lang.Throwable.(Compiled Code)
 at java.lang.Exception.(Compiled Code)
 at javax.servlet.ServletException.(ServletException.java:132)
 at
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
   er(Applica
   tionFilterChain.java:269

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
I've read those comments and uncommented the lines specified but when I
try to run the script it gives me that it is not available.

Allen

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 7:55 AM
To: Tomcat Users List
Subject: RE: Configuring and using cgi scripts in Tomcat



Howdy,
Read the comments for the CGI servlet in $CATALINA_HOME/conf/web.xml.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 5:06 PM
To: Tomcat Users List
Subject: Configuring and using cgi scripts in Tomcat

Hello...

I am trying to configure Tomcat to run a perl script that is part of an
application I am moving over from another server. Since this is one
script I do not want to rewrite it so I thought that I could set the
server to run CGI scripts.

I have put the entries in the web.xml file and restarted the server but
I cannot get the script to run. Has anyone had any success in doing
this?

Allen



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
Okay

I did all that

1 - Uncommented the lines for the servlet container
2 - Uncommented the lines for the servlet-mapping
3 - renamed the servlets-cgi.renametojar file to servlets-cgi.jar

Here are those listings:

servlet
servlet-namecgi/servlet-name
 
servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
init-param
  param-nameclientInputTimeout/param-name
  param-value100/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value6/param-value
/init-param
init-param
  param-namecgiPathPrefix/param-name
  param-valueWEB-INF/cgi-bin/param-value
/init-param
/servlet


servlet-mapping
servlet-namecgi/servlet-name
url-pattern/cgi-bin/*/url-pattern
/servlet-mapping



When I places a cgi script out there to just show a statement, I get the
following error

HTTP Status 404 - /resporta/cgi-bin/animal.cgi




type Status report

message /resporta/cgi-bin/animal.cgi

description The requested resource (/resporta/cgi-bin/animal.cgi) is not
available.





Apache Tomcat/4.1.18

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 11:47 AM
To: Tomcat Users List
Subject: RE: Configuring and using cgi scripts in Tomcat



Howdy,
There's more than uncommenting involved.  You have to follow all the
instructions in those comments, including the jar file rename and tomcat
restart.  Then you have to give us much more information about what
errors you're seeing.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 12:45 PM
To: Tomcat Users List
Subject: RE: Configuring and using cgi scripts in Tomcat

I've read those comments and uncommented the lines specified but when I
try to run the script it gives me that it is not available.

Allen

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 7:55 AM
To: Tomcat Users List
Subject: RE: Configuring and using cgi scripts in Tomcat



Howdy,
Read the comments for the CGI servlet in $CATALINA_HOME/conf/web.xml.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 5:06 PM
To: Tomcat Users List
Subject: Configuring and using cgi scripts in Tomcat

Hello...

I am trying to configure Tomcat to run a perl script that is part of
an
application I am moving over from another server. Since this is one
script I do not want to rewrite it so I thought that I could set the
server to run CGI scripts.

I have put the entries in the web.xml file and restarted the server
but
I cannot get the script to run. Has anyone had any success in doing
this?

Allen



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
You mean /ROOT/WEB-INF/cgi-bin...

And that is what I thought but when I made a directory at that position.
I still was not able to get to the script.

Allen

-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 12:47 PM
To: Tomcat Users List
Subject: Re: Configuring and using cgi scripts in Tomcat


/resporta/cgi-bin/animal.cgi does not map to /cgi-bin/*

I'm guessing resporta is the name of your webapp?
Where did you place the script? As I read it, you need to put it in 
/ROOT/WEB-INF/cgi (I could be wrong).

HTH,

Jon

Wilson, Allen wrote:

 Okay
 
 I did all that
 
 1 - Uncommented the lines for the servlet container
 2 - Uncommented the lines for the servlet-mapping
 3 - renamed the servlets-cgi.renametojar file to servlets-cgi.jar
 
 Here are those listings:
 
 servlet
 servlet-namecgi/servlet-name
  
 servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
 init-param
   param-nameclientInputTimeout/param-name
   param-value100/param-value
 /init-param
 init-param
   param-namedebug/param-name
   param-value6/param-value
 /init-param
 init-param
   param-namecgiPathPrefix/param-name
   param-valueWEB-INF/cgi-bin/param-value
 /init-param
 /servlet
 
 
 servlet-mapping
 servlet-namecgi/servlet-name
 url-pattern/cgi-bin/*/url-pattern
 /servlet-mapping
 
 
 
 When I places a cgi script out there to just show a statement, I get
the
 following error
 
 HTTP Status 404 - /resporta/cgi-bin/animal.cgi
 


 
 
 type Status report
 
 message /resporta/cgi-bin/animal.cgi
 
 description The requested resource (/resporta/cgi-bin/animal.cgi) is
not
 available.
 
 


 
 
 Apache Tomcat/4.1.18
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 23, 2003 11:47 AM
 To: Tomcat Users List
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 
 Howdy,
 There's more than uncommenting involved.  You have to follow all the
 instructions in those comments, including the jar file rename and
tomcat
 restart.  Then you have to give us much more information about what
 errors you're seeing.
 
 Yoav Shapira
 Millennium ChemInformatics




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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
Okay...

I think I have the mapping correct because it now finds the file but
tries to download it. I am trying to add a listing to the mime type so
that it will process the file as a script.

I added the following entry to the mime types mappings list

mime-mapping
extensioncgi/extension
mime-typeapplication/x-httpd-cgi/mime-type
/mime-mapping

But it stills tries to download the file. Does anyone know of another
mime list for CGI Scripts

Allen

-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 12:47 PM
To: Tomcat Users List
Subject: Re: Configuring and using cgi scripts in Tomcat


/resporta/cgi-bin/animal.cgi does not map to /cgi-bin/*

I'm guessing resporta is the name of your webapp?
Where did you place the script? As I read it, you need to put it in 
/ROOT/WEB-INF/cgi (I could be wrong).

HTH,

Jon

Wilson, Allen wrote:

 Okay
 
 I did all that
 
 1 - Uncommented the lines for the servlet container
 2 - Uncommented the lines for the servlet-mapping
 3 - renamed the servlets-cgi.renametojar file to servlets-cgi.jar
 
 Here are those listings:
 
 servlet
 servlet-namecgi/servlet-name
  
 servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
 init-param
   param-nameclientInputTimeout/param-name
   param-value100/param-value
 /init-param
 init-param
   param-namedebug/param-name
   param-value6/param-value
 /init-param
 init-param
   param-namecgiPathPrefix/param-name
   param-valueWEB-INF/cgi-bin/param-value
 /init-param
 /servlet
 
 
 servlet-mapping
 servlet-namecgi/servlet-name
 url-pattern/cgi-bin/*/url-pattern
 /servlet-mapping
 
 
 
 When I places a cgi script out there to just show a statement, I get
the
 following error
 
 HTTP Status 404 - /resporta/cgi-bin/animal.cgi
 


 
 
 type Status report
 
 message /resporta/cgi-bin/animal.cgi
 
 description The requested resource (/resporta/cgi-bin/animal.cgi) is
not
 available.
 
 


 
 
 Apache Tomcat/4.1.18
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 23, 2003 11:47 AM
 To: Tomcat Users List
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 
 Howdy,
 There's more than uncommenting involved.  You have to follow all the
 instructions in those comments, including the jar file rename and
tomcat
 restart.  Then you have to give us much more information about what
 errors you're seeing.
 
 Yoav Shapira
 Millennium ChemInformatics




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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
at org.apache.catalina.core.StandardContext.invoke(Compiled
Code)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(Compiled Code)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(Compiled Code)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(Compiled Code)
at org.apache.catalina.valves.AccessLogValve.invoke(Compiled
Code)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(Compiled Code)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(Compiled Code)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Compiled
Code)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled
Code)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled
Code)
at java.lang.Thread.run(Thread.java:479)






Apache Tomcat/4.1.18

-Original Message-
From: Wilson, Allen 
Sent: Tuesday, September 23, 2003 3:35 PM
To: Tomcat Users List
Subject: RE: Configuring and using cgi scripts in Tomcat


Okay...

I think I have the mapping correct because it now finds the file but
tries to download it. I am trying to add a listing to the mime type so
that it will process the file as a script.

I added the following entry to the mime types mappings list

mime-mapping
extensioncgi/extension
mime-typeapplication/x-httpd-cgi/mime-type
/mime-mapping

But it stills tries to download the file. Does anyone know of another
mime list for CGI Scripts

Allen

-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 12:47 PM
To: Tomcat Users List
Subject: Re: Configuring and using cgi scripts in Tomcat


/resporta/cgi-bin/animal.cgi does not map to /cgi-bin/*

I'm guessing resporta is the name of your webapp?
Where did you place the script? As I read it, you need to put it in 
/ROOT/WEB-INF/cgi (I could be wrong).

HTH,

Jon

Wilson, Allen wrote:

 Okay
 
 I did all that
 
 1 - Uncommented the lines for the servlet container
 2 - Uncommented the lines for the servlet-mapping
 3 - renamed the servlets-cgi.renametojar file to servlets-cgi.jar
 
 Here are those listings:
 
 servlet
 servlet-namecgi/servlet-name
  
 servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
 init-param
   param-nameclientInputTimeout/param-name
   param-value100/param-value
 /init-param
 init-param
   param-namedebug/param-name
   param-value6/param-value
 /init-param
 init-param
   param-namecgiPathPrefix/param-name
   param-valueWEB-INF/cgi-bin/param-value
 /init-param
 /servlet
 
 
 servlet-mapping
 servlet-namecgi/servlet-name
 url-pattern/cgi-bin/*/url-pattern
 /servlet-mapping
 
 
 
 When I places a cgi script out there to just show a statement, I get
the
 following error
 
 HTTP Status 404 - /resporta/cgi-bin/animal.cgi
 


 
 
 type Status report
 
 message /resporta/cgi-bin/animal.cgi
 
 description The requested resource (/resporta/cgi-bin/animal.cgi) is
not
 available.
 
 


 
 
 Apache Tomcat/4.1.18
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 23, 2003 11:47 AM
 To: Tomcat Users List
 Subject: RE: Configuring and using cgi scripts in Tomcat
 
 
 
 Howdy,
 There's more than uncommenting involved.  You have to follow all the
 instructions in those comments, including the jar file rename and
tomcat
 restart.  Then you have to give us much more

Configuring and using cgi scripts in Tomcat

2003-09-22 Thread Wilson, Allen
Hello...

I am trying to configure Tomcat to run a perl script that is part of an
application I am moving over from another server. Since this is one
script I do not want to rewrite it so I thought that I could set the
server to run CGI scripts.

I have put the entries in the web.xml file and restarted the server but
I cannot get the script to run. Has anyone had any success in doing
this?

Allen
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Installing Tomcat on solaris

2003-06-11 Thread Wilson, Allen
Ozge

This happens if you do not start Tomcat as root. Tomcat will look like
it start if done by any other user but actually it did not start

Allen

-Original Message-
From: Ozge Gundogdu [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2003 2:17 PM
To: Tomcat Users List
Subject: Installing Tomcat on solaris





Hi;
I have been trying to install tomcat 4.0.4 on solaris 5.7. and
set the
environment variables
JAVA_HOME=/usr/java1.2
CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.6
then I run tomcat with this command,
./startup.sh
It gives normal response like that

Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.6
Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.6
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.6/temp
Using JAVA_HOME: /usr/java1.2

But when I did ps , I cannot see any instances of java running.
and when I
run http://localhost:8080 it gives page cannot be displayed 
error.

Thaks for your response!

Ozge Gundogdu



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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: mod_webapp solaris 8

2003-02-12 Thread Wilson, Allen
Reed...

I just completed setting up a Apache 1.3.27/Tomcat 4.1.18/Jetspeed 1.4.1
configuration. I went with mod_jk.so and was able to use a binary. You
may want to consider going that way if you can

Allen

-Original Message-
From: reed crowe [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 12, 2003 11:43 AM
To: [EMAIL PROTECTED]
Subject: mod_webapp solaris 8


  I am trying to get apache-tomcat-mod_webapp running on
Solaris 8. I am running J2SDK-1.4.0_003 from sun.

I have downloaded the following:
 
gcc3.2.1
tomcat-4.1.18 (source)
jakarta-tomcat connectors 4.1.18 (source)
apr-0.9.1 (source)
automake
autoconf  
libtool1.4.3
m4-1.4
 
I have been able to configure (--with-apxs and --with-apr) and make the 
mod_webapp.so file
but when I configtest apache I get the following error:
  
Syntax error on line 238 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_webapp.so into
server: ld.so.1: /usr/local/apache/bin/httpd: fatal:
libapr-0.so.0: open failed: No such file or directory
 
 
Obviously I do not have the libapr-).so.0 file, but when should it have 
been created? Does the --with-apxs not apply when compiling apr?
I have been on this for a couple of days and I am not sure where to go 
with it.
Is mod_jk the way to go

Any help would be most appreciated.


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


This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.



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


RE: Apache-Tomcat Configuring....

2003-02-11 Thread Wilson, Allen
John...

Thanks...I was able to get things going with a binary of the mod_jk.so.

Appreciate the help

Allen

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.



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


RE: Apache-Tomcat Configuring....

2003-02-10 Thread Wilson, Allen
I'll check for the patches but this is a new machine with Solaris 2.8. I
would think it would have a the current patches...but you never know.

Allen

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 07, 2003 11:18 PM
To: 'Tomcat Users List'
Subject: RE: Apache-Tomcat Configuring



What errors?  You got the same errors?  Do you have the recommended
patch
cluster installed?  Your error messages look like system-level library
problems.  /usr/include/sys has nothing to do with Tomcat, the
connectors,
or Apache, as far as I know.  /usr/include/sys is where OS headers and
libs
are kept, I believe.

John


-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 07, 2003 10:01 PM
To: Tomcat Users List; Tomcat Users List
Subject: RE: Apache-Tomcat Configuring


Thanks for the info
 
I read through what you have and I ran into the errors below when I did
the
make on the JK connector configuration. I did not use the connectors
that
your steps indicated...I just the one provided in the
jakarta-tomcat-connectors-4.1.18 file. 
 
Allen

-Original Message- 
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Fri 2/7/2003 6:32 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache-Tomcat Configuring




I have a Solaris 8 HOWTO here:  http://www.johnturner.com/howto.
It
uses
Apache 2, but if you have the source to Apache the steps are the
same.  Just
sub in apache wherever it says apache2.  I'm assuming you
are
using
Solaris because you have paths with /opt in them.

In my experience, you want to use:

./configure --with-apxs=/some/path/to/apache/bin/apxs
make
make install

...to build the connector...it's much easier than ant, assuming
you
have a
sane GNU build environment.

John


-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 6:00 PM
To: Tomcat Users List
Subject: Apache-Tomcat Configuring


Hello

I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to
work
together in preparation for adding JetSpeed.

I have tried to following the instructions for creating
mod_jk.so
provided
by the Wrox Professional Tomcat book and the Galatea.com Flash
Guides and
came up with errors on both.

- With the Wrox book, I attempted to build it using the
buildconf.so
script
and received the following errors when running the make..

In file included from jk_global.h:103,
 from jk_logger.h:67,
 from jk_ajp12_worker.h:67,
 from jk_ajp12_worker.c:65:
/usr/include/sys/socketvar.h:54: parse error before
`t_uscalar_t'
/usr/include/sys/socketvar.h:54: warning: no semicolon at end of
struct or
union
/usr/include/sys/socketvar.h:55: warning: data definition has no
type or
storage class
/usr/include/sys/socketvar.h:222: parse error before
`t_uscalar_t'
/usr/include/sys/socketvar.h:222: warning: no semicolon at end
of
struct or
union
/usr/include/sys/socketvar.h:223: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:224: parse error before
`so_addr_size'
/usr/include/sys/socketvar.h:224: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:225: parse error before
`so_opt_size'
/usr/include/sys/socketvar.h:225: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:226: parse error before
`so_tidu_size'
/usr/include/sys/socketvar.h:226: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:227: parse error before
`so_serv_type'
/usr/include/sys/socketvar.h:227: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:230: parse error before
`so_acceptor_id'
/usr/include/sys/socketvar.h:230: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:274: parse error before `}'
/usr/include/sys/socketvar.h:623: parse error before
`t_scalar_t'
/usr/include/sys/socketvar.h:623: warning: no semicolon at end
of
struct or
union
/usr/include/sys/socketvar.h:624: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:625: parse error before
`si_faddr_soa_len'
/usr/include/sys/socketvar.h:625: warning: data definition has
no
type or
storage class
/usr/include/sys/socketvar.h:630

RE: Apache-Tomcat Configuring....

2003-02-10 Thread Wilson, Allen
Yeah...I know...

The company has made the decision to stay at 2.8 for now...since our
other machines are on that OS

-Original Message-
From: Andy Eastham [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 10, 2003 10:15 AM
To: Tomcat Users List
Subject: RE: Apache-Tomcat Configuring


Allen,

Solaris 2.9 has been the latest operating system for about 6 months...

I'd definitely patch it I was you.

Andy

 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
 Sent: 10 February 2003 15:48
 To: Tomcat Users List
 Subject: RE: Apache-Tomcat Configuring
 
 
 I'll check for the patches but this is a new machine with Solaris 2.8.
I
 would think it would have a the current patches...but you never know.
 
 Allen
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, February 07, 2003 11:18 PM
 To: 'Tomcat Users List'
 Subject: RE: Apache-Tomcat Configuring
 
 
 
 What errors?  You got the same errors?  Do you have the recommended
 patch
 cluster installed?  Your error messages look like system-level library
 problems.  /usr/include/sys has nothing to do with Tomcat, the
 connectors,
 or Apache, as far as I know.  /usr/include/sys is where OS headers and
 libs
 are kept, I believe.
 
 John
 
 
 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, February 07, 2003 10:01 PM
 To: Tomcat Users List; Tomcat Users List
 Subject: RE: Apache-Tomcat Configuring
 
 
 Thanks for the info
  
 I read through what you have and I ran into the errors below when I
did
 the
 make on the JK connector configuration. I did not use the connectors
 that
 your steps indicated...I just the one provided in the
 jakarta-tomcat-connectors-4.1.18 file. 
  
 Allen
 
   -Original Message- 
   From: Turner, John [mailto:[EMAIL PROTECTED]] 
   Sent: Fri 2/7/2003 6:32 PM 
   To: 'Tomcat Users List' 
   Cc: 
   Subject: RE: Apache-Tomcat Configuring
   
   
 
 
   I have a Solaris 8 HOWTO here:  http://www.johnturner.com/howto.
 It
 uses
   Apache 2, but if you have the source to Apache the steps are the
 same.  Just
   sub in apache wherever it says apache2.  I'm assuming you
 are
 using
   Solaris because you have paths with /opt in them.
   
   In my experience, you want to use:
   
   ./configure --with-apxs=/some/path/to/apache/bin/apxs
   make
   make install
   
   ...to build the connector...it's much easier than ant, assuming
 you
 have a
   sane GNU build environment.
   
   John
   
   
   -Original Message-
   From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
   Sent: Friday, February 07, 2003 6:00 PM
   To: Tomcat Users List
   Subject: Apache-Tomcat Configuring
   
   
   Hello
   
   I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to
 work
   together in preparation for adding JetSpeed.
   
   I have tried to following the instructions for creating
 mod_jk.so
 provided
   by the Wrox Professional Tomcat book and the Galatea.com Flash
 Guides and
   came up with errors on both.
   
   - With the Wrox book, I attempted to build it using the
 buildconf.so
 script
   and received the following errors when running the make..
   
   In file included from jk_global.h:103,
from jk_logger.h:67,
from jk_ajp12_worker.h:67,
from jk_ajp12_worker.c:65:
   /usr/include/sys/socketvar.h:54: parse error before
 `t_uscalar_t'
   /usr/include/sys/socketvar.h:54: warning: no semicolon at end of
 struct or
   union
   /usr/include/sys/socketvar.h:55: warning: data definition has no
 type or
   storage class
   /usr/include/sys/socketvar.h:222: parse error before
 `t_uscalar_t'
   /usr/include/sys/socketvar.h:222: warning: no semicolon at end
 of
 struct or
   union
   /usr/include/sys/socketvar.h:223: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:224: parse error before
 `so_addr_size'
   /usr/include/sys/socketvar.h:224: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:225: parse error before
 `so_opt_size'
   /usr/include/sys/socketvar.h:225: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:226: parse error before
 `so_tidu_size'
   /usr/include/sys/socketvar.h:226: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:227: parse error before
 `so_serv_type'
   /usr/include/sys/socketvar.h:227: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:230: parse error before
 `so_acceptor_id'
   /usr/include/sys/socketvar.h:230: warning: data definition

RE: Apache-Tomcat Configuring....

2003-02-10 Thread Wilson, Allen
I just talk to the individual who add the OS...and he says the system
has the most up to date patches

Is there something that I can run to make sure that I have the necessary
patches to do the configuration...

Allen

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 10, 2003 9:54 AM
To: 'Tomcat Users List'
Subject: RE: Apache-Tomcat Configuring



I would download the patch cluster and apply it just the same...the
script
will tell you if the patches don't need to be applied and behave
accordingly.

You'll want the 8_Recommended patch cluster for your architecture.  I
would
do that first.

John

 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 10, 2003 10:48 AM
 To: Tomcat Users List
 Subject: RE: Apache-Tomcat Configuring
 
 
 I'll check for the patches but this is a new machine with 
 Solaris 2.8. I
 would think it would have a the current patches...but you never know.
 
 Allen
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, February 07, 2003 11:18 PM
 To: 'Tomcat Users List'
 Subject: RE: Apache-Tomcat Configuring
 
 
 
 What errors?  You got the same errors?  Do you have the recommended
 patch
 cluster installed?  Your error messages look like system-level library
 problems.  /usr/include/sys has nothing to do with Tomcat, the
 connectors,
 or Apache, as far as I know.  /usr/include/sys is where OS headers and
 libs
 are kept, I believe.
 
 John
 
 
 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, February 07, 2003 10:01 PM
 To: Tomcat Users List; Tomcat Users List
 Subject: RE: Apache-Tomcat Configuring
 
 
 Thanks for the info
  
 I read through what you have and I ran into the errors below 
 when I did
 the
 make on the JK connector configuration. I did not use the connectors
 that
 your steps indicated...I just the one provided in the
 jakarta-tomcat-connectors-4.1.18 file. 
  
 Allen
 
   -Original Message- 
   From: Turner, John [mailto:[EMAIL PROTECTED]] 
   Sent: Fri 2/7/2003 6:32 PM 
   To: 'Tomcat Users List' 
   Cc: 
   Subject: RE: Apache-Tomcat Configuring
   
   
 
 
   I have a Solaris 8 HOWTO here:  http://www.johnturner.com/howto.
 It
 uses
   Apache 2, but if you have the source to Apache the steps are the
 same.  Just
   sub in apache wherever it says apache2.  I'm assuming you
 are
 using
   Solaris because you have paths with /opt in them.
   
   In my experience, you want to use:
   
   ./configure --with-apxs=/some/path/to/apache/bin/apxs
   make
   make install
   
   ...to build the connector...it's much easier than ant, assuming
 you
 have a
   sane GNU build environment.
   
   John
   
   
   -Original Message-
   From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
   Sent: Friday, February 07, 2003 6:00 PM
   To: Tomcat Users List
   Subject: Apache-Tomcat Configuring
   
   
   Hello
   
   I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to
 work
   together in preparation for adding JetSpeed.
   
   I have tried to following the instructions for creating
 mod_jk.so
 provided
   by the Wrox Professional Tomcat book and the Galatea.com Flash
 Guides and
   came up with errors on both.
   
   - With the Wrox book, I attempted to build it using the
 buildconf.so
 script
   and received the following errors when running the make..
   
   In file included from jk_global.h:103,
from jk_logger.h:67,
from jk_ajp12_worker.h:67,
from jk_ajp12_worker.c:65:
   /usr/include/sys/socketvar.h:54: parse error before
 `t_uscalar_t'
   /usr/include/sys/socketvar.h:54: warning: no semicolon at end of
 struct or
   union
   /usr/include/sys/socketvar.h:55: warning: data definition has no
 type or
   storage class
   /usr/include/sys/socketvar.h:222: parse error before
 `t_uscalar_t'
   /usr/include/sys/socketvar.h:222: warning: no semicolon at end
 of
 struct or
   union
   /usr/include/sys/socketvar.h:223: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:224: parse error before
 `so_addr_size'
   /usr/include/sys/socketvar.h:224: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:225: parse error before
 `so_opt_size'
   /usr/include/sys/socketvar.h:225: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:226: parse error before
 `so_tidu_size'
   /usr/include/sys/socketvar.h:226: warning: data definition has
 no
 type or
   storage class
   /usr/include/sys/socketvar.h:227: parse error before

RE: Apache-Tomcat Configuring....

2003-02-10 Thread Wilson, Allen
John

My file looks exactly like yours

I also followed the steps that you outline in your HOW-TO documents(the
only difference I have is that I am using Apache 1.3.27 and I did not do
the configure to enable ssl I did it with enable-rule=Shared_Core and I
came up with the exactly same errors (see below). 

If there is any idea of where I should go now..please let me know. I may
have to consider just running Tomcat by itself but that really hurts me
for the other things I want to do with the site.

Allen

Making all in common
/usr/local/bin/libtool --mode=compile gcc -I/opt/WWW/include -g -O2
-DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE -g
-O2  -I /usr/java
1.2/include -I /usr/java1.2/include/ -c jk_ajp12_worker.c
mkdir .libs
gcc -I/opt/WWW/include -g -O2 -DSOLARIS2=280 -DUSE_EXPAT
-I../lib/expat-lite -fPIC -DSHARED_CORE -g -O2 -I /usr/java1.2/include
-I /usr/java1.2/include/ -c
 jk_ajp12_worker.c  -fPIC -DPIC -o .libs/jk_ajp12_worker.lo
In file included from jk_global.h:103,
 from jk_logger.h:67,
 from jk_ajp12_worker.h:67,
 from jk_ajp12_worker.c:65:
/usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:55: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:223: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:224: parse error before `so_addr_size'
/usr/include/sys/socketvar.h:224: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:225: parse error before `so_opt_size'
/usr/include/sys/socketvar.h:225: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:226: parse error before `so_tidu_size'
/usr/include/sys/socketvar.h:226: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:227: parse error before `so_serv_type'
/usr/include/sys/socketvar.h:227: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id'
/usr/include/sys/socketvar.h:230: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:274: parse error before `}'
/usr/include/sys/socketvar.h:623: parse error before `t_scalar_t'
/usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:624: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len'
/usr/include/sys/socketvar.h:625: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:630: parse error before `}'
/usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known
/usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known
*** Error code 1
make: Fatal error: Command failed for target `jk_ajp12_worker.lo'
Current working directory
/opt/WWW/tomcat-connectors-jk-1.2.0-src/jk/native/common
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 10, 2003 11:13 AM
To: 'Tomcat Users List'
Subject: RE: Apache-Tomcat Configuring



There's nothing that I know of that will check patch versions prior to
running ./configure.

This is just a stab in the dark...have you looked at that file?  The
error
message seems to be saying that there is a simple syntax error (missing
semicolon).  The first error is at line 54, this is what my
/usr/include/sys/socketvar.h looks like at that line:

/*
 * Internal representation used for addresses.
 */
struct soaddr {
struct sockaddr *soa_sa;/* Actual address */
t_uscalar_t soa_len;/* Length in bytes for kmem_free
*/
t_uscalar_t soa_maxlen; /* Allocated length */
};

HTH

John


 -Original Message-
 From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 10, 2003 12:02 PM
 To: Tomcat Users List
 Subject: RE: Apache-Tomcat Configuring
 
 
 I just talk to the individual who add the OS...and he says the system
 has the most up to date patches
 
 Is there something that I can run to make sure that I have 
 the necessary
 patches to do the configuration...
 
 Allen
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, February 10, 2003 9:54 AM
 To: 'Tomcat Users List'
 Subject: RE: Apache-Tomcat Configuring
 
 
 
 I would download the patch cluster and apply it just the same...the
 script
 will tell you if the patches don't need to be applied and behave
 accordingly.
 
 You'll want the 8_Recommended patch cluster for your architecture.  I
 would
 do that first

Apache-Tomcat Configuring....

2003-02-07 Thread Wilson, Allen
Hello

I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work
together in preparation for adding JetSpeed.

I have tried to following the instructions for creating mod_jk.so
provided by the Wrox Professional Tomcat book and the Galatea.com Flash
Guides and came up with errors on both.

- With the Wrox book, I attempted to build it using the buildconf.so
script and received the following errors when running the make..

In file included from jk_global.h:103,
 from jk_logger.h:67,
 from jk_ajp12_worker.h:67,
 from jk_ajp12_worker.c:65:
/usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:55: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:223: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:224: parse error before `so_addr_size'
/usr/include/sys/socketvar.h:224: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:225: parse error before `so_opt_size'
/usr/include/sys/socketvar.h:225: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:226: parse error before `so_tidu_size'
/usr/include/sys/socketvar.h:226: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:227: parse error before `so_serv_type'
/usr/include/sys/socketvar.h:227: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id'
/usr/include/sys/socketvar.h:230: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:274: parse error before `}'
/usr/include/sys/socketvar.h:623: parse error before `t_scalar_t'
/usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:624: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len'
/usr/include/sys/socketvar.h:625: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:630: parse error before `}'
/usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known
/usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known
*** Error code 1
make: Fatal error: Command failed for target `jk_ajp12_worker.lo'
Current working directory
/opt/WWW/tomcat-connectors-4.1.18/jk/native/common
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

When I followed the steps in the Flash Guide.

- I changed the mod_jk-1.3.eapi.so file to mod_jk.so and then put it in
the libexec directory. This gave an about the wrong file type.

- When I tried to build it and used ant...it could not find the
coyote.jar. I tried to use ant to build coyote and go the following
errors

BUILD FAILED
file:/opt/WWW/tomcat-connectors-4.1.18/coyote/build.xml:189: Compile
failed; see the compiler error output for details.



If someone could point me in the right direction to get the mod_jk.so
and Apache/Tomcat configuration going it would be appreciated

Allen

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.



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


RE: Apache-Tomcat Configuring....

2003-02-07 Thread Wilson, Allen
Thanks for the info
 
I read through what you have and I ran into the errors below when I did the make on 
the JK connector configuration. I did not use the connectors that your steps 
indicated...I just the one provided in the jakarta-tomcat-connectors-4.1.18 file. 
 
Allen

-Original Message- 
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Fri 2/7/2003 6:32 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache-Tomcat Configuring




I have a Solaris 8 HOWTO here:  http://www.johnturner.com/howto.  It uses
Apache 2, but if you have the source to Apache the steps are the same.  Just
sub in apache wherever it says apache2.  I'm assuming you are using
Solaris because you have paths with /opt in them.

In my experience, you want to use:

./configure --with-apxs=/some/path/to/apache/bin/apxs
make
make install

...to build the connector...it's much easier than ant, assuming you have a
sane GNU build environment.

John


-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 6:00 PM
To: Tomcat Users List
Subject: Apache-Tomcat Configuring


Hello

I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work
together in preparation for adding JetSpeed.

I have tried to following the instructions for creating mod_jk.so provided
by the Wrox Professional Tomcat book and the Galatea.com Flash Guides and
came up with errors on both.

- With the Wrox book, I attempted to build it using the buildconf.so script
and received the following errors when running the make..

In file included from jk_global.h:103,
 from jk_logger.h:67,
 from jk_ajp12_worker.h:67,
 from jk_ajp12_worker.c:65:
/usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct or
union
/usr/include/sys/socketvar.h:55: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct or
union
/usr/include/sys/socketvar.h:223: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:224: parse error before `so_addr_size'
/usr/include/sys/socketvar.h:224: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:225: parse error before `so_opt_size'
/usr/include/sys/socketvar.h:225: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:226: parse error before `so_tidu_size'
/usr/include/sys/socketvar.h:226: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:227: parse error before `so_serv_type'
/usr/include/sys/socketvar.h:227: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id'
/usr/include/sys/socketvar.h:230: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:274: parse error before `}'
/usr/include/sys/socketvar.h:623: parse error before `t_scalar_t'
/usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct or
union
/usr/include/sys/socketvar.h:624: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len'
/usr/include/sys/socketvar.h:625: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:630: parse error before `}'
/usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known
/usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known
*** Error code 1
make: Fatal error: Command failed for target `jk_ajp12_worker.lo' Current
working directory /opt/WWW/tomcat-connectors-4.1.18/jk/native/common
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

When I followed the steps in the Flash Guide.

- I changed the mod_jk-1.3.eapi.so file to mod_jk.so and then put it in the
libexec directory. This gave an about the wrong file type.

- When I tried to build it and used ant...it could not find the coyote.jar.
I tried to use ant to build coyote and go the following errors

Tomcat w/Apache Question

2003-01-09 Thread Wilson, Allen
Has anyone successfully configured Tomcat to with with Apache using the AJP connector.

I am presently trying to set up the connectors with Apache 1.3.20 and everything was
going find until I tried to do the portion for configuring mod_jk.so with the Apache
version.

I received several errors in reference to a C header file socketvar.h.

If someone could provide some insight on what the problem is or information on 
successful
configuring Apache and Tomcat to work together (I am presently using information out of
the Wrox Professional Apache Tomcat book). It would be appreciated

Thank you
Allen

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.



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


RE: Tomcat w/Apache Question

2003-01-09 Thread Wilson, Allen
Lajos...

...this should definitely helpthanks...

Allen

-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:05 PM
To: Tomcat Users List
Subject: Re: Tomcat w/Apache Question


Allen -

I have some guides on my site, http://www.galatea.com/flashguides, the 
describe the details of Apache-Tomcat integration. Let me know if they help.

Regards,

Lajos


Wilson, Allen wrote:
 Has anyone successfully configured Tomcat to with with Apache using the AJP 
connector.
 
 I am presently trying to set up the connectors with Apache 1.3.20 and everything was
 going find until I tried to do the portion for configuring mod_jk.so with the Apache
 version.
 
 I received several errors in reference to a C header file socketvar.h.
 
 If someone could provide some insight on what the problem is or information on 
successful
 configuring Apache and Tomcat to work together (I am presently using information out 
of
 the Wrox Professional Apache Tomcat book). It would be appreciated
 
 Thank you
 Allen
 
 
 
 
 This message may contain proprietary or confidential company information.
 Any unauthorized use or disclosure is prohibited.
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 
galatea.com
Cocoon training, consulting  support


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


This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.



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