Re: Issue with tomcat 6 connector

2011-03-20 Thread Michael Ludwig
Krish schrieb am 19.03.2011 um 17:31 (-0700):

 I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
 using nsapi_redirect-1.2.31 connector.
 
My OS is windows server 2003 32bit.
 
 I am trying to create a connector using the document below.

 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 my tomcat is ssl enabled and my sun one webserver 7 is http.

Unrelated, but why would you need SSL in Tomcat when you're fronting it
with Sun One Webserver?

 here is the configuration in obj.conf. I can get the tomcat base html
 pages. But jsp is not working.

Look at this mapping:

 NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
directly beneatht the document root.

-- 
Michael Ludwig

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Issue with tomcat 6 connector

2011-03-20 Thread Krish
Hi Michael,

I can't even access the jsp's under document root as well. Only html's work.


I just followed this documentation. No jsp's work. That is the whole
problem.

Please let me know the correct configuration.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

Regards,
Krish




On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:

 Krish schrieb am 19.03.2011 um 17:31 (-0700):

  I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
  using nsapi_redirect-1.2.31 connector.
 
 My OS is windows server 2003 32bit.
 
  I am trying to create a connector using the document below.
 
  http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
 
  my tomcat is ssl enabled and my sun one webserver 7 is http.

 Unrelated, but why would you need SSL in Tomcat when you're fronting it
 with Sun One Webserver?

  here is the configuration in obj.conf. I can get the tomcat base html
  pages. But jsp is not working.

 Look at this mapping:

  NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

 Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
 directly beneatht the document root.

 --
 Michael Ludwig

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Krish


Re: Issue with tomcat 6 connector

2011-03-20 Thread André Warnier
Probably in some way, the same ever recurring issue of allowing Apache to bypass Tomcat 
and get to the JSP pages directly.




Krish wrote:

Hi Michael,

I can't even access the jsp's under document root as well. Only html's work.


I just followed this documentation. No jsp's work. That is the whole
problem.

Please let me know the correct configuration.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

Regards,
Krish




On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:


Krish schrieb am 19.03.2011 um 17:31 (-0700):


I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
using nsapi_redirect-1.2.31 connector.

   My OS is windows server 2003 32bit.

I am trying to create a connector using the document below.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

my tomcat is ssl enabled and my sun one webserver 7 is http.

Unrelated, but why would you need SSL in Tomcat when you're fronting it
with Sun One Webserver?


here is the configuration in obj.conf. I can get the tomcat base html
pages. But jsp is not working.

Look at this mapping:


NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
directly beneatht the document root.

--
Michael Ludwig

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Issue with tomcat 6 connector

2011-03-20 Thread Krish
Hi,

I am not able to get you. i am not using any apache here.

Regards,
Krish

On Sun, Mar 20, 2011 at 4:14 AM, André Warnier a...@ice-sa.com wrote:

 Probably in some way, the same ever recurring issue of allowing Apache to
 bypass Tomcat and get to the JSP pages directly.




 Krish wrote:

 Hi Michael,

 I can't even access the jsp's under document root as well. Only html's
 work.


 I just followed this documentation. No jsp's work. That is the whole
 problem.

 Please let me know the correct configuration.

 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 Regards,
 Krish




 On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:

 Krish schrieb am 19.03.2011 um 17:31 (-0700):

 I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
 using nsapi_redirect-1.2.31 connector.

   My OS is windows server 2003 32bit.

 I am trying to create a connector using the document below.

 http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

 my tomcat is ssl enabled and my sun one webserver 7 is http.

 Unrelated, but why would you need SSL in Tomcat when you're fronting it
 with Sun One Webserver?

 here is the configuration in obj.conf. I can get the tomcat base html
 pages. But jsp is not working.

 Look at this mapping:

 NameTrans fn=assign-name from=/*.jsp/ name=jknsapi

 Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
 directly beneatht the document root.

 --
 Michael Ludwig

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org






 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Krish


Re: Issue with tomcat 6 connector

2011-03-20 Thread André Warnier

Krish wrote:

Hi,

I am not able to get you. i am not using any apache here.


Sorry, I should have said front-end webserver.

I do not know the Sun webserver nor the nsapi connector per se, but I was referring to a 
common source of problems which consists of giving the front-end webserver direct access 
to the (tomcat) directory which houses the JSP pages for example, *without* going through 
the connector.





Regards,
Krish

On Sun, Mar 20, 2011 at 4:14 AM, André Warnier a...@ice-sa.com wrote:


Probably in some way, the same ever recurring issue of allowing Apache to
bypass Tomcat and get to the JSP pages directly.




Krish wrote:


Hi Michael,

I can't even access the jsp's under document root as well. Only html's
work.


I just followed this documentation. No jsp's work. That is the whole
problem.

Please let me know the correct configuration.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

Regards,
Krish




On Sun, Mar 20, 2011 at 1:43 AM, Michael Ludwig mil...@gmx.de wrote:

Krish schrieb am 19.03.2011 um 17:31 (-0700):

I am using tomcat 6.0.20. In the frontend i have sun one webserver 7

using nsapi_redirect-1.2.31 connector.

  My OS is windows server 2003 32bit.

I am trying to create a connector using the document below.

http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html

my tomcat is ssl enabled and my sun one webserver 7 is http.


Unrelated, but why would you need SSL in Tomcat when you're fronting it
with Sun One Webserver?

here is the configuration in obj.conf. I can get the tomcat base html

pages. But jsp is not working.


Look at this mapping:

NameTrans fn=assign-name from=/*.jsp/ name=jknsapi
Are you sure it applies to all JSPs? I'd presume it applies only to JSPs
directly beneatht the document root.

--
Michael Ludwig

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Issue with tomcat 6 connector

2011-03-19 Thread Martin Gainty

you're routing jsp to jk-service 
what is jk-service

Martin Gainty 
__ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 Date: Sat, 19 Mar 2011 17:31:35 -0700
 Subject: Issue with tomcat 6 connector
 From: kris...@gmail.com
 To: users@tomcat.apache.org
 
 
  Hi,
 
  I am using tomcat 6.0.20. In the frontend i have sun one webserver 7 using
  nsapi_redirect-1.2.31 connector.
 
 
My OS is windows server 2003 32bit.
 
 
  I am trying to create a connector using the document below.
 
  http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
 
  my tomcat is ssl enabled and my sun one webserver 7 is http.
 
  here is the configuration in obj.conf. I can get the tomcat base html
  pages. But jsp is not working.
 
  Appreciate your help in this.
 
 
  #
 
  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 
  #
 
  # You can edit this file, but comments and formatting changes
 
  # might be lost when you use the administration GUI or CLI.
 
  Object name=default
 
  AuthTrans fn=match-browser browser=*MSIE* ssl-unclean-shutdown=true
 
  NameTrans fn=ntrans-j2ee name=j2ee
 
  NameTrans fn=pfx2dir from=/mc-icons dir=C:/Program
  Files/Oracle/WebServer7/lib/icons name=es-internal
 
  NameTrans fn=assign-name from=/* name=jknsapi
 
  NameTrans fn=assign-name from=/*.jsp/ name=jknsapi
 
  NameTrans fn=assign-name from=/servlet/* name=jknsapi
 
  NameTrans fn=assign-name from=/twpoc/* name=jknsapi
 
  PathCheck fn=uri-clean
 
  PathCheck fn=check-acl acl=default
 
  PathCheck fn=find-pathinfo
 
  PathCheck fn=find-index-j2ee
 
  PathCheck fn=find-index index-names=index.html,index.jsp,home.html
 
  PathCheck fn=validate_session_policy
 
  ObjectType fn=type-j2ee
 
  ObjectType fn=type-by-extension
 
  ObjectType fn=force-type type=text/plain
 
  Service method=(GET|HEAD) type=magnus-internal/directory
  fn=index-common
 
  Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
 
  Service method=TRACE fn=service-trace
 
  Error fn=error-j2ee
 
  AddLog fn=flex-log
 
  /Object
 
  Object name=j2ee
 
  Service fn=service-j2ee method=*
 
  /Object
 
  Object name=es-internal
 
  PathCheck fn=check-acl acl=es-internal
 
  /Object
 
  Object name=cgi
 
  ObjectType fn=force-type type=magnus-internal/cgi
 
  Service fn=send-cgi
 
  /Object
 
  Object name=jknsapi
 
  ObjectType fn=force-type type=text/plain
 
  Service fn=jk_service method=* worker=worker1
 
  /Object
 
  Object name=send-precompressed
 
  PathCheck fn=find-compressed
 
  /Object
 
  Object name=compress-on-demand
 
  Output fn=insert-filter filter=http-compression
 
  /Object
 
   Object ppath=*/dummypost/sunpostpreserve*
 
  Service type=text/* method=(GET|POST) fn=append_post_data
 
  /Object
 
  Object ppath=*/UpdateAgentCacheServlet*
 
  Service type=text/* method=(POST) fn=process_notification
 
  /Object
 
  Thanks
 
  

Re: Issue with tomcat 6 connector

2011-03-19 Thread Krish
HI Martin,

Thanks for the email.

I hope you require my magus conf. Here you go.

#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
Init fn=load-modules shlib=j2eeplugin.dll
Init fn=load-modules
shlib=D:/Agent/144703-01/web_agents/sjsws_agent/lib/ames6.dll
funcs=web_agent_init,validate_session_policy,append_post_data,process_notification
Init fn=web_agent_init
dsameconfdir=D:/Agent/144703-01/web_agents/sjsws_agent/Agent_002/config
LateInit=yes
Init fn=pool-init disable=false
Init fn=load-modules funcs=jk_init,jk_service shlib=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/config/nsapi_redirect.dll
shlib_flags=(global|now)
Init fn=jk_init worker_file=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/config/workers.properties
log_level=debug log_file=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/logs/nsapi.log
shm_file=C:/Program
Files/Oracle/WebServer7/https-dca-app-170/config/logs/jk_shm

Krish
On Sat, Mar 19, 2011 at 9:03 PM, Martin Gainty mgai...@hotmail.com wrote:


 you're routing jsp to jk-service
 what is jk-service

 Martin Gainty
 __
 Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
 Vertraulichkeitanmerkung/Note de déni et de confidentialité
  Ez az
 üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
 jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
 készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
 semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
 könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
 ezen üzenet tartalma miatt.

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
 destinataire prévu, nous te demandons avec bonté que pour satisfaire
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
 de ceci est interdite. Ce message sert à l'information seulement et n'aura
 pas n'importe quel effet légalement obligatoire. Étant donné que les email
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
 aucune responsabilité pour le contenu fourni.




  Date: Sat, 19 Mar 2011 17:31:35 -0700
  Subject: Issue with tomcat 6 connector
  From: kris...@gmail.com
  To: users@tomcat.apache.org
 
  
Hi,
  
   I am using tomcat 6.0.20. In the frontend i have sun one webserver 7
 using
   nsapi_redirect-1.2.31 connector.
  
 
 My OS is windows server 2003 32bit.
 
  
   I am trying to create a connector using the document below.
  
   http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
  
   my tomcat is ssl enabled and my sun one webserver 7 is http.
  
   here is the configuration in obj.conf. I can get the tomcat base html
   pages. But jsp is not working.
  
   Appreciate your help in this.
  
  
   #
  
   # Copyright (c) 2010, Oracle and/or its affiliates. All rights
 reserved.
  
   #
  
   # You can edit this file, but comments and formatting changes
  
   # might be lost when you use the administration GUI or CLI.
  
   Object name=default
  
   AuthTrans fn=match-browser browser=*MSIE*
 ssl-unclean-shutdown=true
  
   NameTrans fn=ntrans-j2ee name=j2ee
  
   NameTrans fn=pfx2dir from=/mc-icons dir=C:/Program
   Files/Oracle/WebServer7/lib/icons name=es-internal
  
   NameTrans fn=assign-name from=/* name=jknsapi
  
   NameTrans fn=assign-name from=/*.jsp/ name=jknsapi
  
   NameTrans fn=assign-name from=/servlet/* name=jknsapi
  
   NameTrans fn=assign-name from=/twpoc/* name=jknsapi
  
   PathCheck fn=uri-clean
  
   PathCheck fn=check-acl acl=default
  
   PathCheck fn=find-pathinfo
  
   PathCheck fn=find-index-j2ee
  
   PathCheck fn=find-index index-names=index.html,index.jsp,home.html
  
   PathCheck fn=validate_session_policy
  
   ObjectType fn=type-j2ee
  
   ObjectType fn=type-by-extension
  
   ObjectType fn=force-type type=text/plain
  
   Service method=(GET|HEAD) type=magnus-internal/directory
   fn=index-common
  
   Service method=(GET|HEAD|POST) type=*~magnus-internal/*
 fn=send-file
  
   Service method=TRACE fn=service-trace
  
   Error fn=error-j2ee
  
   AddLog fn=flex-log
  
   /Object
  
   Object name=j2ee
  
   Service fn=service-j2ee method=*
  
   /Object
  
   Object name=es-internal
  
   PathCheck fn=check-acl acl=es-internal
  
   /Object
  
   Object name=cgi
  
   ObjectType fn=force-type type=magnus-internal/cgi
  
   Service fn=send-cgi
  
   /Object
  
   Object name=jknsapi
  
   ObjectType fn=force-type type=text/plain
  
   Service fn=jk_service method=*