RE: url-pattern not working with AxisServlet

2008-05-06 Thread Kurt Kavanaugh

That would be a correct. :) Perhaps an interesting annotation in the
Axis 2 documentation as I am sure we are not the only ones using the
connector.

Straight forward once detected, but with all the setup that goes on
introducting a new SOAP stack to a legacy development environment in can
be overlooked. Case in point.

Kurt

-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 05, 2008 11:22 PM
To: Tomcat Users List
Subject: Re: url-pattern not working with AxisServlet

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kurt,

Kurt Kavanaugh wrote:
| Not seeing the AxisServlet being invoked for /services/*
url-pattern...

[snip]

| servlet-mapping
| servlet-nameAxisServlet/servlet-name
| url-pattern/services/*/url-pattern
| /servlet-mapping

[snip]

| Apache [httpd] access INFO
|
| 127.0.0.1 - - [05/May/2008:12:05:30 -0400] GET /services/TestService
| HTTP/1.1 404 306

404, eh?

| Note there is no corresponding entry in the TOMCAT access log.

No corresponding Tomcat access log entry, eh?

| http://localhost//test/foo.do?SERIALNUMBER=XXXSTATUS=2
| the appropriate struts action gets called... however If I do this

Other URLs work, eh?

Sounds like you are missing a JkMount /services/* myWorker in your
Apache httpd config file.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgfzvIACgkQ9CaO5/Lv0PBM0QCgqzbtnTkMl7HyPSdtZNhcRRU7
QBcAn1KulzOgCD0iisSLtwLcjsfaOD2D
=yqJ/
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: url-pattern not working with AxisServlet

2008-05-06 Thread Kurt Kavanaugh

Respectfully disagree

Then why document Tomcat/Axis? Where is the line drawn? Axis has no
business level requirements to run in a given container technology. Or
do they?

If a given set of elements, Apache,connector,Tomcat make up a common
model of deployment why not facilitate?

Anyway just an opinion, as stated I take full blame for not picking this
up earlier.

However, documentation is good. I see no downside, other than the time
it takes to do so, and time is everything...

:)

Kurt


-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 06, 2008 3:08 PM
To: Tomcat Users List
Subject: Re: url-pattern not working with AxisServlet

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kurt,

Kurt Kavanaugh wrote:
| That would be a correct. :) Perhaps an interesting annotation in the
| Axis 2 documentation as I am sure we are not the only ones using the
| connector.
|
| Straight forward once detected, but with all the setup that goes on
| introducting a new SOAP stack to a legacy development environment in
can
| be overlooked. Case in point.

I disagree that Axis should document this requirement. Axis has no
requirements necessitating the use of Apache httpd. If your own
environment has such requirements, it is up to you to appropriately
configure it. There is plenty of documentation on using mod_jk to
connect httpd to Tomcat.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkggrJoACgkQ9CaO5/Lv0PApfQCePT7N9MEscpnbLGyeqdHaDYPS
ir4AoLUDqCheYCZR8JIXl3mlAkLLf6dq
=jG9A
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



url-pattern not working with AxisServlet

2008-05-05 Thread Kurt Kavanaugh
 

Not seeing the AxisServlet being invoked for /services/* url-pattern...

 

Web.xml

 


***

  servlet

servlet-nameAxisServlet/servlet-name 

display-nameApache-Axis Servlet/display-name

 
servlet-classorg.apache.axis2.transport.http.AxisServlet/servlet-clas
s 

init-param

/init-param

load-on-startup1/load-on-startup

  /servlet

 

servlet-mapping

servlet-nameAxisServlet/servlet-name

url-pattern/servlet/AxisServlet/url-pattern

/servlet-mapping

 

servlet-mapping

servlet-nameAxisServlet/servlet-name

url-pattern*.jws/url-pattern

/servlet-mapping

 

servlet-mapping

servlet-nameAxisServlet/servlet-name

url-pattern/services/*/url-pattern

/servlet-mapping

 

mime-mapping

extensioninc/extension

mime-typetext/plain/mime-type

/mime-mapping

 

  servlet

servlet-nameaction/servlet-name

 
servlet-classorg.apache.struts.action.ActionServlet/servlet-class

init-param

/init-param

load-on-startup2/load-on-startup

  /servlet

 

  servlet-mapping

servlet-nameaction/servlet-name

url-pattern*.do/url-pattern

  /servlet-mapping

 

 

*** EOF
**

 

Apache access INFO

 

127.0.0.1 - - [05/May/2008:12:05:30 -0400] GET /services/TestService
HTTP/1.1 404 306

 

Note there is no corresponding entry in the TOMCAT access log.

 

Interestingly, we are also using struts, which has a
url-pattern*.do/url-pattern this produces some odd results...

 

If I execute the following URL

 

http://localhost//test/foo.do?SERIALNUMBER=XXXSTATUS=2

 

the appropriate struts action gets called... however If I do this

 

http://localhost//services/foo.do http://localhost/services/foo.do 

 

I end up in my AxisServlet break point. Which is where I want to be, but
not using the *.do

 

Any ideas or help is much appreciated.

 

 

Kurt

 



RE: Is there a quiet or headless install for Tomcat 5?

2007-11-26 Thread Kurt Kavanaugh

Thanks.

Respectfully, for us at least, there is a step (2), And that is to have
Tomcat setup as a service vs a command line invokation of an executable.
Also not knowing what the setup.exe does for the *automatic* install
that sets up the service. Also was not sure of any other tasks executed.
Setting up registry items etc.

But alas in reading it appears that the following...

C:\ tomcat5 //IS//Tomcat5 --DisplayName=Apache Tomcat 5 \
C:\ --Install=C:\Program Files\Tomcat\bin\tomcat5.exe --Jvm=auto \
C:\ --StartMode=jvm --StopMode=jvm \
C:\ --StartClass=org.apache.catalina.startup.Bootstrap
--StartParams=start \
C:\ --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop

Should do the job.

Thanks for the reply.

Kurt



-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 20, 2007 6:18 PM
To: Tomcat Users List
Subject: Re: Is there a quiet or headless install for Tomcat 5?

Kurt Kavanaugh wrote:
 Semantics. By embedded I mean we use Tomcat, along with a number of
 other processes/applications which we package into a single product
 offering. I just wanted to be clear that I did not mean we are running
 Tomcat in an embedded mode.
 
 Thanks for reading and considering...
 
 -Original Message-
 From: Kurt Kavanaugh 
 Sent: Tuesday, November 13, 2007 5:16 PM
 To: users@tomcat.apache.org
 Subject: Is there a quiet or headless install for Tomcat 5?

Step 1. Unzip/untar a standard distribution.
Step 2. There is no step 2.

Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Is there a quiet or headless install for Tomcat 5?

2007-11-20 Thread Kurt Kavanaugh

Semantics. By embedded I mean we use Tomcat, along with a number of
other processes/applications which we package into a single product
offering. I just wanted to be clear that I did not mean we are running
Tomcat in an embedded mode.

Thanks for reading and considering...

-Original Message-
From: Kurt Kavanaugh 
Sent: Tuesday, November 13, 2007 5:16 PM
To: users@tomcat.apache.org
Subject: Is there a quiet or headless install for Tomcat 5?

Tomcat is an embedded component in our product.

 

Thanks

 

Kurt

 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Is there a quiet or headless install for Tomcat 5?

2007-11-13 Thread Kurt Kavanaugh
Tomcat is an embedded component in our product.

 

Thanks

 

Kurt