  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | i can 't run jk connector, some one can help me | i can 't run jk connector, some one can help me 2006-12-26 - By alvaro tovar
Back i try of configure sun one web server 6.1 and tomcat for use de nsapi.dllbut i can't
this is magnus.conf
# # The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED. # They will not be supported in future releases of the Web Server. NetsiteRoot C:/Sun/WebServer6.1 ServerName dnichermes04adm.unal.loc ServerID https-dnichermes04adm.unal.loc # RqThrottle 128 DefaultLanguage es DNS off Security off ExtraPath C:/Sun/WebServer6.1/bin/https/bin
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req-> srvhdrs.clf-status% %Req->srvhdrs.content-length%" Init fn="load-modules" shlib="C:/Sun/WebServer6.1/bin/https/bin/j2eeplugin.dll" shlib_flags="(global|now)"
Init fn="load-modules" funcs="jk_init,jk_service" shlib="c:/jk/nsapi_redirect.dll" shlib_flags="(global|now)" Init fn="jk_init" worker_file="c:/jk/workers.properties" log_level="info" log_file="c:/jk/nsapi.log"
this obj.conf
# Use only forward slashes in pathnames--backslashes can cause # problems. See the documentation for more information.
<Object name="default"> AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true" NameTrans fn="assign-name" from="/servlets-examples(|/*)" name="jknsapi" NameTrans fn="assign-name" from="/jsp-examples(|/*)" name="jknsapi" NameTrans fn="ntrans-j2ee" name="j2ee" NameTrans fn=pfx2dir from=/mc-icons dir="C:/Sun/WebServer6.1/ns-icons" name="es-internal" NameTrans fn=document-root root="$docroot" PathCheck fn=nt-uri-clean PathCheck fn="check-acl" acl="default" PathCheck fn=find-pathinfo PathCheck fn=find-index index-names="index.html,home.html,index.jsp" ObjectType fn=type-by-extension ObjectType fn=force-type type=text/plain Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap 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 name="access" </Object>
<Object name="j2ee"> Service fn="service-j2ee" method="*" </Object>
<Object name="cgi"> ObjectType fn=force-type type=magnus-internal/cgi Service fn=send-cgi </Object>
<Object name="es-internal"> PathCheck fn="check-acl" acl="es-internal" </Object>
<Object name="send-compressed"> PathCheck fn="find-compressed" </Object>
<Object name="compress-on-demand"> Output fn="insert-filter" filter="http-compression" </Object>
<Object name="jknsapi"> ObjectType fn=force-type type=text/plain Service fn="jk_service" method="*" worker="ajp13w" </Object>
this workers.properties
# workers.properties.minimal - # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with #
worker.list=wlb,jkstatus,ajp13w
# # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8080
# # Defining a load balancer #
this the log when i try http://localhost/servlets-examples
acces.log
127.0.0.1 - - [26/Dec/2006:11:46:07 -0500] "GET /servlets-examples/ HTTP/1.1" 404 320
error.log
[26/Dec/2006:11:46:07] warning ( 1500): for host 127.0.0.1 trying to GET /servlets-examples/, send-file reports: HTTP4142: can't find C:/Sun/WebServer6.1/docs/servlets-examples/ (File not found)
this nsapi.log
[Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2008): setting connection pool size to 1 with min 1 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_worker.c (239): creating worker ajp13w [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_worker.c (144): about to create instance ajp13w of ajp13 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_worker.c (157): about to validate and init ajp13w [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (1971): worker ajp13w contact is 'localhost:8080' [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2098): setting endpoint options: [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2101): keepalive: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2105): timeout: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2109): buffer size: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2113): pool timeout: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2117): connect timeout: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2121): reply timeout: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2125): prepost timeout: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2129): recovery options: 0 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2133): retries: 2 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2137): max packet size: 8192 [Mar Dic 26 10:31:04 2006] [0276:1924] [debug] jk_ajp_common.c (2008): setting connection pool size to 1 with min 1 [Mar Dic 26 10:31:05 2006] [0276:2568] [debug] jk_nsapi_plugin.c (261): jk_init, a second passed [Mar Dic 26 10:32:38 2006] [0276:2568] [debug] jk_worker.c (215): close_workers will destroy worker wlb [Mar Dic 26 10:32:38 2006] [0276:2568] [debug] jk_ajp_common.c (2182): up to 1 endpoints to close [Mar Dic 26 10:32:38 2006] [0276:2568] [debug] jk_worker.c (215): close_workers will destroy worker jkstatus [Mar Dic 26 10:32:38 2006] [0276:2568] [debug] jk_ajp_common.c (2182): up to 1 endpoints to close [Mar Dic 26 10:32:38 2006] [0276:2568] [debug] jk_worker.c (215): close_workers will destroy worker ajp13w [Mar Dic 26 10:32:38 2006] [0276:2568] [debug] jk_ajp_common.c (2182): up to 1 endpoints to close
thanks
|
|
 |