java.lang.NoClassDefFoundError

2005-05-17 Thread Hari Om
SUBJECT: java.lang.NoClassDefFoundError
I am using Tomcat 4.1.31 on SuSE Linux 8.1 and Java 1.4
I have my application as following:
/local/tomcat/webapps/hari
/local/tomcat/webapps/hari/index.html
/local/tomcat/webapps/hari/WEB-INF/classes/util/BatchUpload1.class
/local/tomcat/webapps/hari/WEB-INF/classes/util/*.class
/local/tomcat/webapps/hari/WEB-INF/lib/cos.jar (this is Oreilly's predefined 
classes)
/local/tomcat/webapps/hari/WEB-INF/web.xml

I access my WEB application as http://us.hari.com/uhin/BatchUpload and get 
following error wonder why:

description: The server encountered an internal error () that prevented it 
from fulfilling this request.

exception
javax.servlet.ServletException: Error instantiating servlet class 
util.BatchUpload1
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:865)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)

at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

   at java.lang.Thread.run(Thread.java:534)
root cause
java.lang.NoClassDefFoundError: 
com/oreilly/servlet/multipart/FileRenamePolicy

   at java.lang.Class.getDeclaredConstructors0(Native Method)
   at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
   at java.lang.Class.getConstructor0(Class.java:1930)
   at java.lang.Class.newInstance0(Class.java:278)
   at java.lang.Class.newInstance(Class.java:261)
  at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:856)

---
I am using Oreilly's predefined classes which are stored in cos.jar file 
and under WEB-INF/lib/ directory... I have also added this to the 
CLASSPATH...

When I un-jar my cos.jar file I get follwing files...
com/oreilly/servlet/*.classes
Any pointer on this would be appreciated...
THANKS!
HARI OM
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


javax.servlet.ServletException­: Wrapper cannot find servlet class util.t2 or a

2005-05-05 Thread Hari Om
I am using JBoss 4.0.1sp1 on SuSE Linux 9.0 System.
I have a simplest WEB APPLICATION and access it using 
http://localhost:8080/mhin/adm­in.html and here is my Directory structure...

/jboss/server/default/deploy/m­hin.war -- this is a directory.
/jboss/server/default/deploy/m­hin.war/admin.html
/jboss/server/default/deploy/m­hin.war/WEB-INF/web.xml
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/t1.cla­ss
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/t2.cla­ss
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/p­6.class
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/p­9.class
When I click on http://localhost:8080/mhin/adm­in.html I get following
ERROR wonder why...  (this HTML calls t2.java file)
--­--­---
javax.servlet.ServletException­: Wrapper cannot find servlet class util.t2 
or a class it depends on

org.jboss.web.tomcat.security.­CustomPrincipalValve.invoke(Cu­stomPrincipalValve.java:66)
org.jboss.web.tomcat.security.­SecurityAssociationValve.invok­e(SecurityAssociationValve.jav­a:150)
org.jboss.web.tomcat.security.­JaccContextValve.invoke(JaccCo­ntextValve.java:54)
org.apache.catalina.valves.Err­orReportValve.invoke(ErrorRepo­rtValve.java:118)
org.apache.coyote.tomcat5.Coyo­teAdapter.service(CoyoteAdapte­r.java:160)
org.apache.jk.server.JkCoyoteH­andler.invoke(JkCoyoteHandler.­java:300)
org.apache.jk.common.HandlerRe­quest.invoke(HandlerRequest.ja­va:374)
org.apache.jk.common.ChannelSo­cket.invoke(ChannelSocket.java­:743)
org.apache.jk.common.ChannelSo­cket.processConnection(Channel­Socket.java:675)
org.apache.jk.common.SocketCon­nection.runIt(ChannelSocket.ja­va:866)
org.apache.tomcat.util.threads­.ThreadPool$ControlRunnable.ru­n(ThreadPool.java:683)
   java.lang.Thread.run(Thread.ja­va:534)
root cause
java.lang.ClassNotFoundException util.t2
   java.net.URLClassLoader$1.run(­URLClassLoader.java:199)
   java.security.AccessController­.doPrivileged(Native Method)
--­--­---
My WEB.XML file is:
--­--­---
web-app
   servlet
 servlet-namet1/servlet-name­
 servlet-classutil.t1/servlet-cla­ss
   /servlet
   servlet
 servlet-namet2/servlet-name­
 servlet-classutil.t2/servlet-cla­ss
   /servlet
   servlet
 servlet-namep6/servlet-name­
 servlet-classutil.p6/servlet-cla­ss
   /servlet
   servlet
 servlet-namep9/servlet-name­
 servlet-classutil.p9/servlet-cla­ss
   /servlet
   servlet-mapping
 servlet-namet1/servlet-name­
 url-pattern/t1/*/url-patter­n
   /servlet-mapping
   servlet-mapping
 servlet-namet2/servlet-name­
 url-pattern/t2/*/url-patter­n
   /servlet-mapping
   servlet-mapping
 servlet-namep6/servlet-name­
 url-pattern/p6/*/url-patter­n
   /servlet-mapping
   servlet-mapping
 servlet-namep9/servlet-name­
 url-pattern/p9/*/url-patter­n
   /servlet-mapping
--­--­---
NOTE: t1.java, t2.java, p6.java and p9.java have package util in their 
declarations...

Questions:
Are all the classes in the right directory?
Am I using the right FQDN? Fully Qualified Domain Name? in my WEB.XML?
Any other hints/ relevant informaiton would be appreciated...
Sincerely,
HARI
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


javax.servlet.ServletException­: Wrapper cannot find servlet class util.t2 or a

2005-05-05 Thread Hari Om
I am using JBoss 4.0.1sp1 on SuSE Linux 9.0 System.
I have a simplest WEB APPLICATION and access it using 
http://localhost:8080/mhin/adm­in.html and here is my Directory structure...

/jboss/server/default/deploy/m­hin.war -- this is a directory.
/jboss/server/default/deploy/m­hin.war/admin.html
/jboss/server/default/deploy/m­hin.war/WEB-INF/web.xml
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/t1.cla­ss
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/t2.cla­ss
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/p­6.class
/jboss/server/default/deploy/m­hin.war/WEB-INF/classes/util/p­9.class
When I click on http://localhost:8080/mhin/adm­in.html I get following
ERROR wonder why...  (this HTML calls t2.java file)
--­--­---
javax.servlet.ServletException­: Wrapper cannot find servlet class util.t2 
or a class it depends on

org.jboss.web.tomcat.security.­CustomPrincipalValve.invoke(Cu­stomPrincipalValve.java:66)
org.jboss.web.tomcat.security.­SecurityAssociationValve.invok­e(SecurityAssociationValve.jav­a:150)
org.jboss.web.tomcat.security.­JaccContextValve.invoke(JaccCo­ntextValve.java:54)
org.apache.catalina.valves.Err­orReportValve.invoke(ErrorRepo­rtValve.java:118)
org.apache.coyote.tomcat5.Coyo­teAdapter.service(CoyoteAdapte­r.java:160)
org.apache.jk.server.JkCoyoteH­andler.invoke(JkCoyoteHandler.­java:300)
org.apache.jk.common.HandlerRe­quest.invoke(HandlerRequest.ja­va:374)
org.apache.jk.common.ChannelSo­cket.invoke(ChannelSocket.java­:743)
org.apache.jk.common.ChannelSo­cket.processConnection(Channel­Socket.java:675)
org.apache.jk.common.SocketCon­nection.runIt(ChannelSocket.ja­va:866)
org.apache.tomcat.util.threads­.ThreadPool$ControlRunnable.ru­n(ThreadPool.java:683)
  java.lang.Thread.run(Thread.ja­va:534)
root cause
java.lang.ClassNotFoundException util.t2
  java.net.URLClassLoader$1.run(­URLClassLoader.java:199)
  java.security.AccessController­.doPrivileged(Native Method)
--­--­---
My WEB.XML file is:
--­--­---
web-app
  servlet
servlet-namet1/servlet-name­
servlet-classutil.t1/servlet-cla­ss
  /servlet
  servlet
servlet-namet2/servlet-name­
servlet-classutil.t2/servlet-cla­ss
  /servlet
  servlet
servlet-namep6/servlet-name­
servlet-classutil.p6/servlet-cla­ss
  /servlet
  servlet
servlet-namep9/servlet-name­
servlet-classutil.p9/servlet-cla­ss
  /servlet
  servlet-mapping
servlet-namet1/servlet-name­
url-pattern/t1/*/url-patter­n
  /servlet-mapping
  servlet-mapping
servlet-namet2/servlet-name­
url-pattern/t2/*/url-patter­n
  /servlet-mapping
  servlet-mapping
servlet-namep6/servlet-name­
url-pattern/p6/*/url-patter­n
  /servlet-mapping
  servlet-mapping
servlet-namep9/servlet-name­
url-pattern/p9/*/url-patter­n
  /servlet-mapping
--­--­---
NOTE: t1.java, t2.java, p6.java and p9.java have package util in their 
declarations...

Questions:
Are all the classes in the right directory?
Am I using the right FQDN? Fully Qualified Domain Name? in my WEB.XML?
Any other hints/ relevant informaiton would be appreciated...
Sincerely,
HARI
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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


RE: Apache+Tomcat + MOD_JK on different machine

2004-04-01 Thread Hari Om
Hi Randall,

I WOULD LIKE TO THANK YOU. My Apache  and Tomcat on different machine are 
working great now. THANK YOU AGAIN for your time and input.

The problem was that in my SERVER.XML File I was referring to LOCALHOST 
instaed of having of actual HOSTNAME.

THANKS AGAIN!

HARI OM



From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Wed, 24 Mar 2004 15:26:09 -0700
From what I can see, it should work.  So you can browse 
http://someserver:8080/examples on the server where Tomcat is installed, 
right?  Also, there just to be on the safe side, your network allows 
communication from one machine to another on port 8009.  Try using telnet 
to access the server running tomcat from a  seperate computer to see if the 
port is even accessible. Or if you have nmap, scan the tomcat box to see 
what ports are open or accessible. I performed a similar setup on a couple 
of test servers and it worked. One machine was running apache on linux and 
the other was running tomcat on windows.

I am running out of things to tell ya.  Anyone else want to take a stab at 
this???  Of course looking at your logs more closely, these lines here 
would assume that you are connecting the examples context??

[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (477)]: Attempting to map URI '/examples'
[jk_uri_worker_map.c (491)]: jk_uri_worker_map_t::map_uri_to_worker, Found
an exact match ajp13 - /examples
Randall

-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 3:15 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Randall Svancara
Subject: RE: Apache+Tomcat + MOD_JK on different machine
NO...I am still strugllingwonder why.
Please check the logs 3 files

ERROR_LOG

[Tue Mar 23 15:50:39 2004] [notice] Apache/2.0.47 (Unix) mod_jk/1.2.2
configured -- resuming normal operations
-
ACCESS_LOG
-
[23/Mar/2004:15:51:33 -0700] GET / HTTP/1.1 200 1456
[23/Mar/2004:15:51:40 -0700] GET /examples HTTP/1.1 400 0
---
MOD_JK.LOG
---
[jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 4
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::uri_worker_map_open,
exact rule /examples=ajp13 was added
[jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=ajp13 was added
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::uri_worker_map_open,
exact rule /abc=ajp13 was added
[jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /abc/=ajp13 was added
[jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 4 rules
[jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (88)]: Into wc_open
[jk_worker.c (222)]: Into build_worker_map, creating 1 workers
[jk_worker.c (228)]: build_worker_map, creating worker ajp13
[jk_worker.c (148)]: Into wc_create_worker
[jk_worker.c (162)]: wc_create_worker, about to create instance ajp13 of
ajp13
[jk_ajp13_worker.c (108)]: Into ajp13_worker_factory
[jk_worker.c (171)]: wc_create_worker, about to validate and init ajp13
[jk_ajp_common.c (1219)]: Into jk_worker_t::validate
[jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker ajp13 contact
is utahdiseasereport.utah.gov:8009
[jk_ajp_common.c (1267)]: Into jk_worker_t::init
[jk_ajp_common.c (1287)]: In jk_worker_t::init, setting socket timeout to 0
[jk_worker.c (187)]: wc_create_worker, done
[jk_worker.c (238)]: build_worker_map, removing old ajp13 worker
[jk_worker.c (250)]: build_worker_map, done
[jk_worker.c (111)]: wc_open, done 1
[jk_worker.c (118)]: Into wc_close
[jk_worker.c (199)]: close_workers got 1 workers to destroy
[jk_worker.c (206)]: close_workers will destroy worker ajp13
[jk_ajp_common.c (1324)]: Into jk_worker_t::destroy
[jk_ajp_common.c (1331)]: Into jk_worker_t::destroy up to 1 endpoint to
close
[jk_worker.c (120)]: wc_close, done
[jk_uri_worker_map.c (190)]: Into jk_uri_worker_map_t::uri_worker_map_free
[jk_uri_worker_map.c (441)]: Into jk_uri_worker_map_t::uri_worker_map_close
[jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 4
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::uri_worker_map_open,
exact rule /examples=ajp13 was added
[jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=ajp13 was added
[jk_uri_worker_map.c (345

Apache, Tomcat Web Application

2004-04-01 Thread Hari Om
I have my Apache 2.0.47 and Tomcat 4.1.x on different machines and using 
MOD_JK to talk to each other.

My web server URL is khar.bazee.com and my Web Application name is namaste.
On my browser I type http://khar.bazee.com/namaste to access my application 
and it works just great.

However, I would like to access namaste application by using only:
http://khar.bazee.com and NOT using http://khar.bazee.com/namaste
Can anyone give some hints/informaiton as to how to proceed in doing that?

THANKS!

HARI OM

_
All the action. All the drama. Get NCAA hoops coverage at MSN Sports by 
ESPN. http://msn.espn.go.com/index.html?partnersite=espn

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


Apache Tomcat Context

2004-04-01 Thread Hari Om
I have my Apache 2.0.47 and Tomcat 4.1.x on different machines and using 
MOD_JK to talk to each other.

My web server URL is khar.bazee.com and my Web Application name is namaste.
On my browser I type http://khar.bazee.com/namaste to access my application 
and it works just great.

However, I would like to access namaste application by using only:
http://khar.bazee.com and NOT using http://khar.bazee.com/namaste
Can anyone give some hints/informaiton as to how to proceed in doing that?

THANKS!

HARI OM

_
Limited-time offer: Fast, reliable MSN 9 Dial-up Internet access FREE for 2 
months! 
http://join.msn.com/?page=dept/dialuppgmarket=en-usST=1/go/onm00200361ave/direct/01/

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


RE: Apache+Tomcat + MOD_JK on different machine

2004-03-24 Thread Hari Om
Thanks again Randall and Henry for your reply... appreciate that!

When I try http://my_web_server/abc, it shows HTTP 400-Bad Request
BUT when I try http://my_web_server/pqr, it shows HTTP 404 - File Not 
Found
BUT when I try http://my_web_server, it works fine...which means that APACHE 
IS NOT SENDING THE REQUEST to TOMCATwonder why.

I've added workers.properties in my conf directory on Web Server.
I also have MOD_JK.CONF file there.

WORKERS.PROPERTIES

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=102.103.103.1
#the above is IP of my App Server
worker.ajp13.type=ajp13

mod_jk.conf

 Include conf/mod_jk.conf
 JkWorkersFile conf/workers.properties
 Include conf/mod_jk.conf
 JkLogFile logs/mod_jk.log
 JkLogLevel debug
 JkMount /examples ajp13
 JkMount /examples/* ajp13
 JkMount /abc ajp13
 JkMount /abc/* ajp13

HTTPD.CONF

 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLevel debug
 JkMount /examples ajp13
 JkMount /examples/* ajp13
 JkMount /abc ajp13
 JkMount /abc/* ajp13


	 	From: Randall Svancara [EMAIL PROTECTED]
To: Hari Om [EMAIL PROTECTED],Tomcat Users List 
[EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Tue, 23 Mar 2004 09:21:36 -0700

Your workers.properties should be on your webserver where apache is located. 
 I typically place the workers.properties in the same directory where 
httpd.conf is located.

workers.properties is needed for mod_jk so it makes sense that it needs to 
be in the same machine where mod_jk and apache are installed.  At least far 
as I know anyways. Sometimes apache has a difficult time finding it.  I have 
used this line to tell apache where to find the workers.properties.  You 
might try
including a line like this in your apache configuration file:

IfModule mod_jk.c
 JkSet config.file /etc/apache2/conf/workers.properties
 Include /etc/apache2/conf/mod_jk2.conf
/IfModule
If anyone else has anything to add to this or correct me on, please feel 
free because I am still learning to, but then again who isn't??
I hope that helps.

-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:56 AM
To: [EMAIL PROTECTED]
Cc: Randall Svancara
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Thanks Randall for your reply... appreciate that!

My MOD_JK.CONF file is AUTOGENERATED on my AppServer. I start my App Server
FIRST which AUTOGENERATES mod_jk.conf file. So, how can I reference this
file on my HTTPD.CONF (Include conf/mod_jk.conf) - which is indeed located
on a different machine?
Where should I place my workers.properties? should it be on App Server or
Web Server?
Should I first start App Server or Web Server or it does'nt matter?

In my HTTPD.CONF I have different mount points (example 'abc') so when I
type http://IPADDRESS/abc it shows HTTP 400 Bad Request on my browser
Howevere, when I type http://IPADDRESS/lmn it shows HTTP 404 Page Not
Found (Note: lmn is not added a JKMount in my Httpd.conf)
My MOD_JK.log file shows it added all the JKMounts.
My ACCESS_LOG file shows:
[23/Mar/2004:08:44:05 -0700] GET /abc HTTP/1.1 400 0
[23/Mar/2004:08:50:24 -0700] GET /lmn HTTP/1.1 404 301
My ERROR_LOG file shows:
[Tue Mar 23 08:41:46 2004] [notice] Apache/2.0.47 (Unix) mod_jk/1.2.2
configured -- resuming normal operations
Any related information on above is appreciated.

THANKS again!

HARI OM



From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine Date: Tue, 23 Mar
2004 08:15:40 -0700
I would leave your httpd.conf file the same as  you have it shown below.  I
would also confirm in you logs that everything is working ok.  However,
Apache should not even startup if the included configuration file,
mod_jk.conf is not present.
--
httpd.conf (on Web Server)
--
LoadModule jk_module modules/mod_jk.so
ServerName xyz.com
Include conf/mod_jk.conf

JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13
The trick here is to make some changes to your workers.properties in order
to connect to another box.
It looks as if your are trying to configure a load balancer.  If you are
connecting to only one instance
of tomcat this is not necessary.  Also you need to look in your server.xml
and see that you have the coyote connector
running on port 8009.  I would exclude the line: worker.ajp13.lbfactor=5
from this configuration.  Besides, you have not defined
a worker for load balancer, so i believe this line is not necessary.
I would probably write your workers.properties files the following way:

workers.properties (on Web Server

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-24 Thread Hari Om
'
[jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done 
without a match
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (477)]: Attempting to map URI '/index.html.en'
[jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done 
without a match
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (477)]: Attempting to map URI '/examples'
[jk_uri_worker_map.c (491)]: jk_uri_worker_map_t::map_uri_to_worker, Found 
an exact match ajp13 - /examples
[mod_jk.c (1671)]: Into handler r-proxyreq=0 r-handler=jakarta-servlet 
r-notes=269677136 worker=ajp13
[jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
[jk_worker.c (136)]: wc_get_worker_for_name, donefound a worker
[mod_jk.c (488)]: agsp=80 agsn=serph.health.utah.gov 
hostn=serph.health.utah.gov shostn=serph.health.utah.gov cbsport=80 sport=80
[jk_ajp_common.c (1404)]: Into jk_worker_t::get_endpoint
[jk_ajp_common.c (1116)]: Into jk_endpoint_t::service
[jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb
[jk_ajp_common.c (432)]: ajp_marshal_into_msgb - Done
[jk_connect.c (158)]: Into jk_open_socket
[jk_connect.c (165)]: jk_open_socket, try to connect socket = 10
[jk_connect.c (174)]: jk_open_socket, after connect ret = 0
[jk_connect.c (183)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (200)]: jk_open_socket, return, sd = 10
[jk_ajp_common.c (614)]: In jk_endpoint_t::ajp_connect_to_endpoint, 
connected sd = 10
[jk_ajp_common.c (642)]: sending to ajp13 #465
[jk_ajp_common.c (884)]: ajp_send_request 2: request body to send 0 - 
request body to resend 0
[jk_ajp_common.c (729)]: received from ajp13 #33
[jk_ajp_common.c (483)]: ajp_unmarshal_response: status = 400
[jk_ajp_common.c (488)]: ajp_unmarshal_response: Number of headers is = 1
[jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[0] [Content-Type] = 
[text/html]
[jk_ajp_common.c (729)]: received from ajp13 #2
[jk_ajp_common.c (1382)]: Into jk_endpoint_t::done, recycling connection




From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Hari Om 
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Wed, 24 Mar 2004 13:41:46 -0700

So, did you ever get this working then??

-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 7:52 AM
To: [EMAIL PROTECTED]; Randall Svancara;
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Thanks again Randall and Henry for your reply... appreciate that!

When I try http://my_web_server/abc, it shows HTTP 400-Bad Request
BUT when I try http://my_web_server/pqr, it shows HTTP 404 - File Not
Found
BUT when I try http://my_web_server, it works fine...which means that 
APACHE
IS NOT SENDING THE REQUEST to TOMCATwonder why.

I've added workers.properties in my conf directory on Web Server.
I also have MOD_JK.CONF file there.

WORKERS.PROPERTIES

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=102.103.103.1
#the above is IP of my App Server
worker.ajp13.type=ajp13

mod_jk.conf

  Include conf/mod_jk.conf
  JkWorkersFile conf/workers.properties
  Include conf/mod_jk.conf
  JkLogFile logs/mod_jk.log
  JkLogLevel debug
  JkMount /examples ajp13
  JkMount /examples/* ajp13
  JkMount /abc ajp13
  JkMount /abc/* ajp13

HTTPD.CONF

  JkWorkersFile conf/workers.properties
  JkLogFile logs/mod_jk.log
  JkLogLevel debug
  JkMount /examples ajp13
  JkMount /examples/* ajp13
  JkMount /abc ajp13
  JkMount /abc/* ajp13


From: Randall Svancara [EMAIL PROTECTED]
To: Hari Om [EMAIL PROTECTED],Tomcat Users List
[EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Tue, 23 Mar 2004 09:21:36 -0700
Your workers.properties should be on your webserver where apache is 
located.
  I typically place the workers.properties in the same directory where
httpd.conf is located.

workers.properties is needed for mod_jk so it makes sense that it needs to
be in the same machine where mod_jk and apache are installed.  At least far
as I know anyways. Sometimes apache has a difficult time finding it.  I 
have
used this line to tell apache where to find the workers.properties.  You
might try
including a line like this in your apache configuration file:

IfModule mod_jk.c
  JkSet config.file /etc/apache2/conf/workers.properties
  Include /etc/apache2/conf/mod_jk2.conf
/IfModule
If anyone else has anything to add to this or correct me on, please feel
free because I am still learning to, but then again who isn't??
I hope that helps.
-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:56 AM
To: [EMAIL PROTECTED]
Cc: Randall Svancara
Subject: RE: Apache+Tomcat + MOD_JK

Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Hari Om
SUBJECT: Apache+Tomcat + MOD_JK on different machine

I am using Apache 2.0.47 and Tomcat 4.1.27 on my SuSE Linux. I had 
configured my mod_jk and it works just great! (My Web and App Server were on 
same box)

Now I have a Web Server and App Server on a different box and was wondering 
what changes do I have to make to MOD_JK for the Integration to work.

My old settings were:
--
httpd.conf
--
LoadModule jk_module modules/mod_jk.so
ServerName abc.com
Include /usr/local/tomcat4/conf/auto/mod_jk.conf

JkWorkersFile /usr/local/apa2047/conf/workers.properties
JkLogFile /usr/local/apa2047/logs/mod_jk.log
JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13

workers.properties

workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=101.102.103.104
#above is IP address of abc.com
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
Now that I have both APACHE and TOMCAT on DIFFERENT Boxes, I was wondering 
what changes do I have to make for the above to work.

My Web Server is xyz.com and my App Server is abc.com. I have mod_jk 
configured in my Web Server.

My new HTTPD.CONF file is:
My NEW settings are:
--
httpd.conf (on Web Server)
--
LoadModule jk_module modules/mod_jk.so
ServerName xyz.com
Include conf/mod_jk.conf

JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13

workers.properties (on Web Server)

workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=101.102.103.104
#above is IP address of abc.com
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


RE: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Hari Om
Thanks Randall for your reply... appreciate that!

My MOD_JK.CONF file is AUTOGENERATED on my AppServer. I start my App Server 
FIRST which AUTOGENERATES mod_jk.conf file. So, how can I reference this 
file on my HTTPD.CONF (Include conf/mod_jk.conf) - which is indeed located 
on a different machine?

Where should I place my workers.properties? should it be on App Server or 
Web Server?

Should I first start App Server or Web Server or it does'nt matter?

In my HTTPD.CONF I have different mount points (example 'abc') so when I 
type http://IPADDRESS/abc it shows HTTP 400 Bad Request on my browser 
Howevere, when I type http://IPADDRESS/lmn it shows HTTP 404 Page Not 
Found (Note: lmn is not added a JKMount in my Httpd.conf)

My MOD_JK.log file shows it added all the JKMounts.
My ACCESS_LOG file shows:
[23/Mar/2004:08:44:05 -0700] GET /abc HTTP/1.1 400 0
[23/Mar/2004:08:50:24 -0700] GET /lmn HTTP/1.1 404 301
My ERROR_LOG file shows:
[Tue Mar 23 08:41:46 2004] [notice] Apache/2.0.47 (Unix) mod_jk/1.2.2 
configured -- resuming normal operations

Any related information on above is appreciated.

THANKS again!

HARI OM



From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine Date: Tue, 23 Mar 
2004 08:15:40 -0700

I would leave your httpd.conf file the same as  you have it shown below.  I 
would also confirm in you logs that everything is working ok.  However, 
Apache should not even startup if the included configuration file, 
mod_jk.conf is not present.

--
httpd.conf (on Web Server)
--
LoadModule jk_module modules/mod_jk.so
ServerName xyz.com
Include conf/mod_jk.conf

JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13
The trick here is to make some changes to your workers.properties in order 
to connect to another box.
It looks as if your are trying to configure a load balancer.  If you are 
connecting to only one instance
of tomcat this is not necessary.  Also you need to look in your server.xml 
and see that you have the coyote connector
running on port 8009.  I would exclude the line: worker.ajp13.lbfactor=5 
from this configuration.  Besides, you have not defined
a worker for load balancer, so i believe this line is not necessary.
I would probably write your workers.properties files the following way:


workers.properties (on Web Server)

workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=101.102.103.104
#above is IP address of abc.com
worker.ajp13.type=ajp13
#Remove the following line.
#worker.ajp13.lbfactor=5


I am going to send you my workers.properties for reference.  IF AND ONLY IF 
you do configure a load balancer, then make sure in your server.xml to
change following line from:
 Engine name=Standalone defaultHost=localhost debug=0

to

 Engine name=Standalone defaultHost=localhost debug=0 
jvmRoute=worker2 
This is necessary for load balancing.  The value of jvmRoute should be 
equal to the worker that you want to connect to that particular instance of 
tomcat.

#*Begin worker.properties*
#
worker.worker2.type=ajp13
worker.worker1.type=ajp13
#
#Specifies the load balance factor when used with a load balancing worker.
#Note:
#- lbfactor must be  0
#- Low lbfactor means less work done by the worker.
#
worker.worker1.lbfactor=1
worker.worker2.lbfactor=10
#
#Specify the size of the open connection cache.
#worker.ajp13.cachesize
#
#--DEFAULT LOAD BALANCER WORKER DEFINITION---
#
#The loadbalancer (type lb) worker perform weighted round-robin
#load balancing with sticky sessions.
#Note:
#--- If a worker dies, the load balancer will check its state once
#in a while. Until then all work is redirected to peer worker.
#
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=worker2,worker1
#
#worker.tomcat_home should point to the location where you installed
#tomcat. This is where you have your conf, webapps and lib directories.
#Note: Please make sure to enter the appropriate path from your machine.
#
worker.tomcat_home=/usr/local/tomcat
#
#worker.java_home should point to your Java installation.
#Normally you should have a bin and lib directories beneath it.
#Note: Please make sure to enter the appropriate path from your machine.
#
worker.java_home=/usr/local/java
#
#You should configure your environment slash...ps=\on NT and / on UNIX
#and may be different elsewhere.
#
ps=/
#---ADVANCED MODE---
#--
#
#
#---DEFAULT worker list--
#--
#
#The worker that your plugins should create and work with
#
worker.list=worker2,loadbalancer, worker1
#
#DEFAULT ajp13 WORKER DEFINITION

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Hari Om
Thanks again Randall and Henry for your reply... appreciate that!

When I try http://my_web_server/abc, it shows HTTP 400-Bad Request
BUT when I try http://my_web_server/pqr, it shows HTTP 404 - File Not 
Found
BUT when I try http://my_web_server, it works fine...which means that APACHE 
IS NOT SENDING THE REQUEST to TOMCATwonder why.

I've added workers.properties in my conf directory on Web Server.
I also have MOD_JK.CONF file there.

WORKERS.PROPERTIES

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=102.103.103.1
#the above is IP of my App Server
worker.ajp13.type=ajp13

mod_jk.conf

  Include conf/mod_jk.conf
  JkWorkersFile conf/workers.properties
  Include conf/mod_jk.conf
  JkLogFile logs/mod_jk.log
  JkLogLevel debug
  JkMount /examples ajp13
  JkMount /examples/* ajp13
  JkMount /abc ajp13
  JkMount /abc/* ajp13

HTTPD.CONF

  JkWorkersFile conf/workers.properties
  JkLogFile logs/mod_jk.log
  JkLogLevel debug
  JkMount /examples ajp13
  JkMount /examples/* ajp13
  JkMount /abc ajp13
  JkMount /abc/* ajp13


From: Randall Svancara [EMAIL PROTECTED]
To: Hari Om [EMAIL PROTECTED],Tomcat Users List 
[EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Tue, 23 Mar 2004 09:21:36 -0700

Your workers.properties should be on your webserver where apache is 
located.  I typically place the workers.properties in the same directory 
where httpd.conf is located.

workers.properties is needed for mod_jk so it makes sense that it needs to 
be in the same machine where mod_jk and apache are installed.  At least far 
as I know anyways. Sometimes apache has a difficult time finding it.  I 
have used this line to tell apache where to find the workers.properties.  
You might try
including a line like this in your apache configuration file:

IfModule mod_jk.c
  JkSet config.file /etc/apache2/conf/workers.properties
  Include /etc/apache2/conf/mod_jk2.conf
/IfModule
If anyone else has anything to add to this or correct me on, please feel 
free because I am still learning to, but then again who isn't??
I hope that helps.

-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:56 AM
To: [EMAIL PROTECTED]
Cc: Randall Svancara
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Thanks Randall for your reply... appreciate that!

My MOD_JK.CONF file is AUTOGENERATED on my AppServer. I start my App Server
FIRST which AUTOGENERATES mod_jk.conf file. So, how can I reference this
file on my HTTPD.CONF (Include conf/mod_jk.conf) - which is indeed 
located
on a different machine?

Where should I place my workers.properties? should it be on App Server or
Web Server?
Should I first start App Server or Web Server or it does'nt matter?

In my HTTPD.CONF I have different mount points (example 'abc') so when I
type http://IPADDRESS/abc it shows HTTP 400 Bad Request on my browser
Howevere, when I type http://IPADDRESS/lmn it shows HTTP 404 Page Not
Found (Note: lmn is not added a JKMount in my Httpd.conf)
My MOD_JK.log file shows it added all the JKMounts.
My ACCESS_LOG file shows:
[23/Mar/2004:08:44:05 -0700] GET /abc HTTP/1.1 400 0
[23/Mar/2004:08:50:24 -0700] GET /lmn HTTP/1.1 404 301
My ERROR_LOG file shows:
[Tue Mar 23 08:41:46 2004] [notice] Apache/2.0.47 (Unix) mod_jk/1.2.2
configured -- resuming normal operations
Any related information on above is appreciated.

THANKS again!

HARI OM



From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine Date: Tue, 23 
Mar
2004 08:15:40 -0700

I would leave your httpd.conf file the same as  you have it shown below.  
I
would also confirm in you logs that everything is working ok.  However,
Apache should not even startup if the included configuration file,
mod_jk.conf is not present.

--
httpd.conf (on Web Server)
--
LoadModule jk_module modules/mod_jk.so
ServerName xyz.com

Include conf/mod_jk.conf

JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log

JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13


The trick here is to make some changes to your workers.properties in 
order
to connect to another box.
It looks as if your are trying to configure a load balancer.  If you are
connecting to only one instance
of tomcat this is not necessary.  Also you need to look in your 
server.xml
and see that you have the coyote connector
running on port 8009.  I would exclude the line: worker.ajp13.lbfactor=5
from this configuration.  Besides, you have not defined
a worker for load balancer, so i believe this line is not necessary.
I would probably write your workers.properties files the following way:


workers.properties (on Web Server

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Hari Om
Thanks Randall again I tried that but in vain.
I am still getting the same error... HTTP 400 Bad Request error...wonder 
why? It is even NOT working for examples application.

Does is have to do something with Virtual Host?

Thanks again!

HARI OM



From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Hari Om [EMAIL PROTECTED],Tomcat Users List 
[EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Tue, 23 Mar 2004 15:23:13 -0700

Sorry about the blank reply.  Ok, I tried to mock up your configuration as 
best I could with the examples webapp of tomocat.  So here are the 
configuration files that I am using.
---
httpd.conf -- very last line add this:
---
#This line includes the configuration file mod_jk.conf into your httpd.conf 
configuration
#It is a great way to seperate out parts of the httpd.conf file
Include /etc/httpd/conf/mod_jk.conf

Ok, in your conf directory for apache which I am assuming is 
/etc/httpd/conf, add your mod_jk.conf file.

---
mod_jk.conf
---
#If mod_jk exists, load it.
IfModule !mod_jk.c
 LoadModule jk_module modules/mod_jk.so
/IfModule
#Location of the workers.properties, I hate using relative paths as you 
never
#know what you are getting sometimes!!!
JkWorkersFile /etc/httpd/conf/workers.properties
#Ok path to logging directory
JkLogFile /var/log/httpd/mod_jk.log
#Lets debug so we can find problems
JkLogLevel debug

#Ok, mount the examples webapp
JkMount /examples ajp13
JkMount /examples/* ajp13
Now, lets create your workers.properties file in /etc/httpd/conf directory

-
Workers.properties
-
worker.list=ajp13
worker.ajp13.port=8019
worker.ajp13.host=192.168.0.200
#the above is IP of my App Server
worker.ajp13.type=ajp13
Now, try to browse to the examples webapp on through apache like this 
http://someservername_OR_IP/examples
If you can browse to this directory, then you should be up and going.

I hope this helps.  This is about as basic as it gets...I think.





-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 2:59 PM
To: Randall Svancara
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Hi Randall,

the reply u sent was blankwondering if u replied my last query? THANKS 
a
LOT

From: Randall Svancara [EMAIL PROTECTED]
To: Hari Om [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Tue, 23 Mar 2004 14:49:24 -0700



-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 2:42 PM
To: Randall Svancara; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine


Thanks again Randall and Henry for your reply... appreciate that!

When I try http://my_web_server/abc, it shows HTTP 400-Bad Request
BUT when I try http://my_web_server/pqr, it shows HTTP 404 - File Not
Found
BUT when I try http://my_web_server, it works fine...which means that
APACHE
IS NOT SENDING THE REQUEST to TOMCATwonder why.

I've added workers.properties in my conf directory on Web Server.
I also have MOD_JK.CONF file there.


WORKERS.PROPERTIES

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=102.103.103.1
#the above is IP of my App Server
worker.ajp13.type=ajp13


mod_jk.conf

Include conf/mod_jk.conf
JkWorkersFile conf/workers.properties
Include conf/mod_jk.conf
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /abc ajp13
JkMount /abc/* ajp13


HTTPD.CONF

JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /abc ajp13
JkMount /abc/* ajp13



 From: Randall Svancara [EMAIL PROTECTED]
 To: Hari Om [EMAIL PROTECTED],Tomcat Users List
 [EMAIL PROTECTED]
 Subject: RE: Apache+Tomcat + MOD_JK on different machine
 Date: Tue, 23 Mar 2004 09:21:36 -0700
 
 Your workers.properties should be on your webserver where apache is
 located.  I typically place the workers.properties in the same 
directory
 where httpd.conf is located.
 
 workers.properties is needed for mod_jk so it makes sense that it needs
to
 be in the same machine where mod_jk and apache are installed.  At least
far
 as I know anyways. Sometimes apache has a difficult time finding it.  I
 have used this line to tell apache where to find the 
workers.properties.
 You might try
 including a line like this in your apache configuration file:
 
 
 IfModule mod_jk.c
JkSet config.file /etc/apache2/conf/workers.properties
Include /etc/apache2

RE: Apache+Tomcat + MOD_JK on different machine

2004-03-23 Thread Hari Om
::map_uri_to_worker, done 
without a match
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (477)]: Attempting to map URI '/index.html.en'
[jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done 
without a match
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (477)]: Attempting to map URI '/examples'
[jk_uri_worker_map.c (491)]: jk_uri_worker_map_t::map_uri_to_worker, Found 
an exact match ajp13 - /examples
[mod_jk.c (1671)]: Into handler r-proxyreq=0 r-handler=jakarta-servlet 
r-notes=269677136 worker=ajp13
[jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
[jk_worker.c (136)]: wc_get_worker_for_name, donefound a worker
[mod_jk.c (488)]: agsp=80 agsn=serph.health.utah.gov 
hostn=serph.health.utah.gov shostn=serph.health.utah.gov cbsport=80 sport=80
[jk_ajp_common.c (1404)]: Into jk_worker_t::get_endpoint
[jk_ajp_common.c (1116)]: Into jk_endpoint_t::service
[jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb
[jk_ajp_common.c (432)]: ajp_marshal_into_msgb - Done
[jk_connect.c (158)]: Into jk_open_socket
[jk_connect.c (165)]: jk_open_socket, try to connect socket = 10
[jk_connect.c (174)]: jk_open_socket, after connect ret = 0
[jk_connect.c (183)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (200)]: jk_open_socket, return, sd = 10
[jk_ajp_common.c (614)]: In jk_endpoint_t::ajp_connect_to_endpoint, 
connected sd = 10
[jk_ajp_common.c (642)]: sending to ajp13 #465
[jk_ajp_common.c (884)]: ajp_send_request 2: request body to send 0 - 
request body to resend 0
[jk_ajp_common.c (729)]: received from ajp13 #33
[jk_ajp_common.c (483)]: ajp_unmarshal_response: status = 400
[jk_ajp_common.c (488)]: ajp_unmarshal_response: Number of headers is = 1
[jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[0] [Content-Type] = 
[text/html]
[jk_ajp_common.c (729)]: received from ajp13 #2
[jk_ajp_common.c (1382)]: Into jk_endpoint_t::done, recycling connection



From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Hari Om [EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Tue, 23 Mar 2004 15:44:12 -0700
Hmmm...I did not even configure any virtual hosts, although I know you can 
but I rarely do for my implementations.
Look in your /var/log/httpd/ directory and send a snippet of your logs so 
we can see what apache is chocking on. Also might send
a snippet of your mod_jk.log.

I know it is just some little thing we have over looked.  But then again it 
is always the little things that causes so many problems.

Thanks,

Randall

-Original Message-
From: Hari Om [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 3:37 PM
To: [EMAIL PROTECTED]
Cc: Randall Svancara
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Thanks Randall again I tried that but in vain.
I am still getting the same error... HTTP 400 Bad Request error...wonder
why? It is even NOT working for examples application.
Does is have to do something with Virtual Host?

Thanks again!

HARI OM



From: Randall Svancara [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Hari Om [EMAIL PROTECTED],Tomcat Users List
[EMAIL PROTECTED]
Subject: RE: Apache+Tomcat + MOD_JK on different machine
Date: Tue, 23 Mar 2004 15:23:13 -0700

Sorry about the blank reply.  Ok, I tried to mock up your configuration 
as
best I could with the examples webapp of tomocat.  So here are the
configuration files that I am using.
---
httpd.conf -- very last line add this:
---
#This line includes the configuration file mod_jk.conf into your 
httpd.conf
configuration
#It is a great way to seperate out parts of the httpd.conf file
Include /etc/httpd/conf/mod_jk.conf


Ok, in your conf directory for apache which I am assuming is
/etc/httpd/conf, add your mod_jk.conf file.

---
mod_jk.conf
---
#If mod_jk exists, load it.
IfModule !mod_jk.c
  LoadModule jk_module modules/mod_jk.so
/IfModule

#Location of the workers.properties, I hate using relative paths as you
never
#know what you are getting sometimes!!!
JkWorkersFile /etc/httpd/conf/workers.properties
#Ok path to logging directory
JkLogFile /var/log/httpd/mod_jk.log
#Lets debug so we can find problems
JkLogLevel debug

#Ok, mount the examples webapp
JkMount /examples ajp13
JkMount /examples/* ajp13


Now, lets create your workers.properties file in /etc/httpd/conf 
directory

-
Workers.properties
-
worker.list=ajp13
worker.ajp13.port=8019
worker.ajp13.host=192.168.0.200
#the above is IP of my App Server
worker.ajp13.type=ajp13


Now, try to browse to the examples webapp on through apache like this
http://someservername_OR_IP/examples
If you can browse to this directory

Apache + Tomcat + MOD_JK on different machines

2004-03-22 Thread Hari Om
I am using Apache 2.0.47 and Tomcat 4.1.27 on my SuSE Linux. I had 
configured my mod_jk and it works just great! (My Web and App Server were on 
same box)

Now I have a Web Server and App Server on a different box and was wondering 
what changes do I have to make to MOD_JK for the Integration to work.

My old settings were:
--
httpd.conf
--
LoadModule jk_module modules/mod_jk.so
ServerName abc.com
Include /usr/local/tomcat4/conf/auto/mod_jk.conf

  JkWorkersFile /usr/local/apa2047/conf/workers.properties
  JkLogFile /usr/local/apa2047/logs/mod_jk.log
  JkLogLevel debug

  JkMount /examples ajp13
  JkMount /examples/* ajp13

workers.properties

workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=101.102.103.104
#above is IP address of abc.com
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
Now that I have both APACHE and TOMCAT on DIFFERENT Boxes, I was wondering 
what changes do I have to make for the above to work.

My Web Server is xyz.com and my App Server is abc.com. I have mod_jk 
configured in my Web Server.

My new HTTPD.CONF file is:
My NEW settings are:
--
httpd.conf (on Web Server)
--
LoadModule jk_module modules/mod_jk.so
ServerName xyz.com
Include conf/mod_jk.conf

  JkWorkersFile conf/workers.properties
  JkLogFile logs/mod_jk.log
  JkLogLevel debug

  JkMount /examples ajp13
  JkMount /examples/* ajp13

workers.properties (on Web Server)

workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=101.102.103.104
#above is IP address of abc.com
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
_
Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! 
http://clk.atdmt.com/AVE/go/onm00200414ave/direct/01/

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


Apache+Tomcat + MOD_JK on different machine

2004-03-22 Thread Hari Om
SUBJECT: Apache+Tomcat + MOD_JK on different machine

I am using Apache 2.0.47 and Tomcat 4.1.27 on my SuSE Linux. I had 
configured my mod_jk and it works just great! (My Web and App Server were on 
same box)

Now I have a Web Server and App Server on a different box and was wondering 
what changes do I have to make to MOD_JK for the Integration to work.

My old settings were:
--
httpd.conf
--
LoadModule jk_module modules/mod_jk.so
ServerName abc.com
Include /usr/local/tomcat4/conf/auto/mod_jk.conf

 JkWorkersFile /usr/local/apa2047/conf/workers.properties
 JkLogFile /usr/local/apa2047/logs/mod_jk.log
 JkLogLevel debug

 JkMount /examples ajp13
 JkMount /examples/* ajp13

workers.properties

workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=101.102.103.104
#above is IP address of abc.com
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
Now that I have both APACHE and TOMCAT on DIFFERENT Boxes, I was wondering 
what changes do I have to make for the above to work.

My Web Server is xyz.com and my App Server is abc.com. I have mod_jk 
configured in my Web Server.

My new HTTPD.CONF file is:
My NEW settings are:
--
httpd.conf (on Web Server)
--
LoadModule jk_module modules/mod_jk.so
ServerName xyz.com
Include conf/mod_jk.conf

 JkWorkersFile conf/workers.properties
 JkLogFile logs/mod_jk.log
 JkLogLevel debug

 JkMount /examples ajp13
 JkMount /examples/* ajp13

workers.properties (on Web Server)

workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=101.102.103.104
#above is IP address of abc.com
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
_
Find a broadband plan that fits. Great local deals on high-speed Internet 
access. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/

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


MOD_JK

2004-01-02 Thread HARI OM
I am using Apache 2.0.47 + Tomcat 4.1.27 on SuSE 8.0 and am working on MOD_JK 
connector.
I created MOD_JK.SO (from source) and placed under MODULES dir under apache.

I made changes to following files:

My SERVER.XML file is:
--
Server port=8005 shutdown=SHUTDOWN debug=0
 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
  modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
  workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
  jkLog=/usr/local/tomcat4/logs/mod_jk.log/

Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/
  Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener 
debug=0/

 Service name=Tomcat-Standalone

!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   useURIValidationHack=false disableUploadTimeout=true /

!-- 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/

Engine name=Standalone defaultHost=localhost debug=0
 Host name=my.domain.name debug=0 appBase=webapps unpackWARs=true
   autoDeploy=true
   Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true  
/

 Context path=/examples docBase=examples debug=0 reloadable=true 
crossContext=true
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=localhost_examples_log. suffix=.txt timestamp=true/
--

My HTTPD.CONF file shows:
--
ServerName my.domain.name:80
LoadModule jk_module modules/mod_jk.so
Include /usr/local/tomcat4/conf/auto/mod_jk.conf

 JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
 JkLogFile /usr/local/apache2/logs/mod_jk.log
 JkLogLevel debug
 JkMount /examples ajp13
 JkMount /examples/* ajp13
 JkMount /jk ajp13
 JkMount /jk/* ajp13
 JkMount /cocoon ajp13
 JkMount /cocoon/* ajp13
--

My auto-generated MOD_JK.CONF file is:
--
## Auto generated on Wed Dec 31 09:56:01 MST 2003##
IfModule !mod_jk.c
  LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
/IfModule

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/tomcat4/logs/mod_jk.log
JkLogLevel info

VirtualHost my.domain.name
ServerName my.domain.name
JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /webdav ajp13
JkMount /webdav/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /manager ajp13
JkMount /manager/* ajp13
/VirtualHost
--

My TOMCAT LOG file shows following:
--
Dec 31, 2003 9:56:35 AM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Dec 31, 2003 9:56:35 AM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true
Dec 31, 2003 9:56:37 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
--

Can anyone please HELP me out.? would appreciate that

HARI OM

I live in a very small house...
but my windows open to a big world...


MOD_JK NOT WORKING.......

2003-12-31 Thread HARI OM
I am using Apache 2.0.47 + Tomcat 4.1.27 on SuSE 8.0 and am working on MOD_JK 
connector.
I created MOD_JK.SO (from source) and placed under MODULES dir under apache.

I made changes to following files:

My SERVER.XML file is:
--
Server port=8005 shutdown=SHUTDOWN debug=0
 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
  modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
  workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
  jkLog=/usr/local/tomcat4/logs/mod_jk.log/

Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/
  Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener 
debug=0/

 Service name=Tomcat-Standalone

!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   useURIValidationHack=false disableUploadTimeout=true /

!-- 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/

Engine name=Standalone defaultHost=localhost debug=0
 Host name=my.domain.name debug=0 appBase=webapps unpackWARs=true
   autoDeploy=true
   Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true  
/

 Context path=/examples docBase=examples debug=0 reloadable=true 
crossContext=true
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=localhost_examples_log. suffix=.txt timestamp=true/
--

My HTTPD.CONF file shows:
--
ServerName my.domain.name:80
LoadModule jk_module modules/mod_jk.so
Include /usr/local/tomcat4/conf/auto/mod_jk.conf

 JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
 JkLogFile /usr/local/apache2/logs/mod_jk.log
 JkLogLevel debug
 JkMount /examples ajp13
 JkMount /examples/* ajp13
 JkMount /jk ajp13
 JkMount /jk/* ajp13
 JkMount /cocoon ajp13
 JkMount /cocoon/* ajp13
--

My auto-generated MOD_JK.CONF file is:
--
## Auto generated on Wed Dec 31 09:56:01 MST 2003##
IfModule !mod_jk.c
  LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
/IfModule

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/tomcat4/logs/mod_jk.log
JkLogLevel info

VirtualHost my.domain.name
ServerName my.domain.name
JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /webdav ajp13
JkMount /webdav/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /manager ajp13
JkMount /manager/* ajp13
/VirtualHost
--

My TOMCAT LOG file shows following:
--
Dec 31, 2003 9:56:35 AM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Dec 31, 2003 9:56:35 AM org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true
Dec 31, 2003 9:56:37 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
--

Can anyone please HELP me out.? would appreciate that

HARI OM





I live in a very small house...
but my windows open to a big world...


Re: MOD_JK (Apache+Tomcat)

2003-12-30 Thread Hari Om
Thanks Jerry,

My Apache and Tomcat are working independently.ie when I run 
http://my.domain.name:8080/kuki or http://my.domain.name:8080/examples  
...it works just great problem only occurs when I use connector MOD_JK. 
Any related informaiton is appreciated..

HARI OM

Hello,

I am using APache 2.0.47 and Tomcat 4.1.27 on SuSE Linux 8.1

I am working on the Connector MOD_JK.SO which I build from the source and 
put in /modules directory. When I run my Tomcat first and then Apache and 
then acceess http://My.domian.name/kuki it does not work... it says Page 
cannot be found wonder why? I also try to see MOD_JK.LOG file but I cannot 
find this file anywhere.

Can anyone help me out in connecting Apache and Tomncat. Here are my Config 
Files:

---
SERVER.XML
---
# added following after Server Port=8005
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
jkLog=/usr/local/tomcat4/logs/mod_jk.log/
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
 port=8009 minProcessors=5 maxProcessors=75
 acceptCount=10 debug=0/
Host name=my.domain.name debug=0 appBase=webapps
 unpackWARs=true autoDeploy=true
 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
  append=true  /
Context path=/kuki docBase=/home/kuki/kuki/webapps/kuki 
reloadable=true
~~~

---
WORKERS.PROPERTIES
---
workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=my.domain.name
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
~~~
---
MOD_JK.CONF this file is AUTO GENERATED
---
## Auto generated on Mon Dec 29 14:10:45 MST 2003##
IfModule !mod_jk.c
LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
/IfModule
JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/tomcat4/logs/mod_jk.log
JkLogLevel info



VirtualHost my.domain.name
  ServerName my.domain.name
  JkMount /kuki ajp13
  JkMount /kuki/* ajp13
  JkMount /examples ajp13
  JkMount /examples/* ajp13
/VirtualHost
~~~

HTTPD.CONF

Listen My.IP.ADDR.ESS:80
IfModule !mod_jk.c
LoadModule jk_module modules/mod_jk.so
/IfModule
ServerName my.domain.name:80

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/apache2/logs/mod_jk.log
JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /kuki ajp13
JkMount /kuki/* ajp13
~~~
Can anyone please GUIDE me on this Connection Process?

THANKS! and HAPPY NEW YEAR!

HARI OM

_
Make your home warm and cozy this winter with tips from MSN House  Home.  
http://special.msn.com/home/warmhome.armx

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


MOD_JK (Apache+Tomcat)

2003-12-30 Thread HARI OM
Hello,

I am using APache 2.0.47 and Tomcat 4.1.27 on SuSE Linux 8.1

I am working on the Connector MOD_JK.SO which I build from the source and 
put in /modules directory. When I run my Tomcat first and then Apache and 
then acceess http://My.domian.name/kuki it does not work... it says Page 
cannot be found wonder why? I also try to see MOD_JK.LOG file but I cannot 
find this file anywhere.

Can anyone help me out in connecting Apache and Tomncat. Here are my Config 
Files:

---
SERVER.XML
---
# added following after Server Port=8005

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
 workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
 jkLog=/usr/local/tomcat4/logs/mod_jk.log/

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
  port=8009 minProcessors=5 maxProcessors=75
  acceptCount=10 debug=0/


Host name=my.domain.name debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true

  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
   append=true  /


Context path=/kuki docBase=/home/kuki/kuki/webapps/kuki 
reloadable=true
~~~

---
WORKERS.PROPERTIES
---
workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=my.domain.name
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
~~~

---
MOD_JK.CONF this file is AUTO GENERATED
---
## Auto generated on Mon Dec 29 14:10:45 MST 2003##

IfModule !mod_jk.c
LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
/IfModule

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/tomcat4/logs/mod_jk.log

JkLogLevel info



VirtualHost my.domain.name
   ServerName my.domain.name

   JkMount /kuki ajp13
   JkMount /kuki/* ajp13

   JkMount /examples ajp13
   JkMount /examples/* ajp13
/VirtualHost
~~~


HTTPD.CONF

Listen My.IP.ADDR.ESS:80

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

ServerName my.domain.name:80

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/apache2/logs/mod_jk.log

JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13

JkMount /kuki ajp13
JkMount /kuki/* ajp13
~~~

Can anyone please GUIDE me on this Connection Process?

THANKS! and HAPPY NEW YEAR!

HARI OM



Re: MOD_JK (Apache+Tomcat)

2003-12-30 Thread HARI OM
any update on this?

- Original Message -
From: HARI OM [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 10:16 AM
Subject: MOD_JK (Apache+Tomcat)


Hello,

I am using APache 2.0.47 and Tomcat 4.1.27 on SuSE Linux 8.1

I am working on the Connector MOD_JK.SO which I build from the source and
put in /modules directory. When I run my Tomcat first and then Apache and
then acceess http://My.domian.name/kuki it does not work... it says Page
cannot be found wonder why? I also try to see MOD_JK.LOG file but I cannot
find this file anywhere.

Can anyone help me out in connecting Apache and Tomncat. Here are my Config
Files:

---
SERVER.XML
---
# added following after Server Port=8005

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
 workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
 jkLog=/usr/local/tomcat4/logs/mod_jk.log/

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
  port=8009 minProcessors=5 maxProcessors=75
  acceptCount=10 debug=0/


Host name=my.domain.name debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true

  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
   append=true  /


Context path=/kuki docBase=/home/kuki/kuki/webapps/kuki
reloadable=true

~~~

---
WORKERS.PROPERTIES
---
workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=my.domain.name
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5

~~~

---
MOD_JK.CONF this file is AUTO GENERATED
---
## Auto generated on Mon Dec 29 14:10:45 MST 2003##

IfModule !mod_jk.c
LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
/IfModule

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/tomcat4/logs/mod_jk.log

JkLogLevel info



VirtualHost my.domain.name
   ServerName my.domain.name

   JkMount /kuki ajp13
   JkMount /kuki/* ajp13

   JkMount /examples ajp13
   JkMount /examples/* ajp13
/VirtualHost

~~~


HTTPD.CONF

Listen My.IP.ADDR.ESS:80

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

ServerName my.domain.name:80

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/apache2/logs/mod_jk.log

JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13

JkMount /kuki ajp13
JkMount /kuki/* ajp13

~~~

Can anyone please GUIDE me on this Connection Process?

THANKS! and HAPPY NEW YEAR!

HARI OM



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



MOD_JK (Apache+Tomcat)

2003-12-29 Thread Hari Om
Hello,

I am using APache 2.0.47 and Tomcat 4.1.27 on SuSE Linux 8.1

I am working on the Connector MOD_JK.SO which I build from the source and 
put in /modules directory. When I run my Tomcat first and then Apache and 
then acceess http://My.domian.name/kuki it does not work... it says Page 
cannot be found wonder why? I also try to see MOD_JK.LOG file but I cannot 
find this file anywhere.

Can anyone help me out in connecting Apache and Tomncat. Here are my Config 
Files:

---
SERVER.XML
---
# added following after Server Port=8005
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
 workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
 jkLog=/usr/local/tomcat4/logs/mod_jk.log/
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
  port=8009 minProcessors=5 maxProcessors=75
  acceptCount=10 debug=0/
Host name=my.domain.name debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
   append=true  /
Context path=/kuki docBase=/home/kuki/kuki/webapps/kuki 
reloadable=true
~~~

---
WORKERS.PROPERTIES
---
workers.CATALINA_HOME=/usr/local/tomcat4
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=my.domain.name
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=5
~~~
---
MOD_JK.CONF this file is AUTO GENERATED
---
## Auto generated on Mon Dec 29 14:10:45 MST 2003##
IfModule !mod_jk.c
 LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
/IfModule
JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/tomcat4/logs/mod_jk.log
JkLogLevel info



VirtualHost my.domain.name
   ServerName my.domain.name
   JkMount /kuki ajp13
   JkMount /kuki/* ajp13
   JkMount /examples ajp13
   JkMount /examples/* ajp13
/VirtualHost
~~~

HTTPD.CONF

Listen My.IP.ADDR.ESS:80
IfModule !mod_jk.c
 LoadModule jk_module modules/mod_jk.so
/IfModule
ServerName my.domain.name:80

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/apache2/logs/mod_jk.log
JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /kuki ajp13
JkMount /kuki/* ajp13
~~~
Can anyone please GUIDE me on this Connection Process?

THANKS! and HAPPY NEW YEAR!

HARI OM

_
Get reliable dial-up Internet access now with our limited-time introductory 
offer.  http://join.msn.com/?page=dept/dialup

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


Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Hari Om
Thanks Jerry
I tried to delete the MOD_JK2.SO from my APACHE/MODULESA Directory...but 
still my CATALINA.OUT files hsows reference of it wonder why.


From: Jerry Ford [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE
Date: Wed, 24 Dec 2003 14:07:31 -0800
Hari:

To remove mod_jk2, just delete mod_jk2.so from your apache/libexec 
directory and delete the references to it from your Apache config 
(httpd.conf).

As for tomcat continuing to listen, that's because you have a mod_jk2 
connector defined in tomcat's server.xml.

Just because tomcat is listening for it does not mean mod_jk2 is working.

Somebody else will have to address the questions about value---I don't use 
mod_jk2, I have mod_jk, but I also don't use apache 2.x, I have apache 1.3. 
I believe jk2 is designed for apache 2.

As for jk2 references in jk configs, yes, jk2 shows up in my catalina.out, 
too, and I've never installed mod_jk2. It appears to just be some sloppy 
reference in a log message. It doesn't mean anything significant. I mean, 
it all still works. :)

Jerry

Hari Om wrote:

I am using Apache 2.0.47 and Tomcat 4.1.27 and JDK 1.4 on SuSE Linux 8.0. 
I would like to use Connector for integrating Apache  Tomcat. I have 
installed MOD_JK2 and want to get rid of it. How can I uninstall it? WHen 
I run my Tomcat it still refers to JK2 settings. I wanted to use JK 
instead. Can anyone please help me on this.

Few more questions:
1) Is it worth using MOD_JK2 v/s MOD_JK?
2) I already installed MOD_JK2 and it does NOT seems to WORK...so wanted 
to get rid of it. I wanted to see if MOD_JK works. How is this possible? 
Deleting the jk2.properties and worker2.properties  DOES NOT 
WORKcatalina.out file still shows TOMCAT is refereing to JK as shown 
below:
---

INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 24, 2003 11:33:56 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 24, 2003 11:33:56 AM org.apache.jk.server.JkMain start
---
Can anyone please Help Me.

Thanks and Merry XMAS!

HARI OM

_
Enjoy a special introductory offer for dial-up Internet access — limited 
time only! http://join.msn.com/?page=dept/dialup

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


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Worried about inbox overload? Get MSN Extra Storage now!  
http://join.msn.com/?PAGE=features/es

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


Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Hari Om
Thanks!
These are the ONLY things I added to my SERVER.XML:
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
 workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
 jkLog=/usr/local/tomcat4/logs/mod_jk.log/
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
  port=8009 minProcessors=5 maxProcessors=75
  enableLookups=true redirectPort=8443
  acceptCount=10 debug=0 connectionTimeout=0
  useURIValidationHack=false
  
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

   !-- 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/
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
   append=true  /
THANKS!

HARI OM

From: Jerry Ford [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE
Date: Fri, 26 Dec 2003 09:38:09 -0800
do you still have the Coyote connector defined in the tomcat server.xml?

Hari Om wrote:

Thanks Jerry
I tried to delete the MOD_JK2.SO from my APACHE/MODULESA Directory...but 
still my CATALINA.OUT files hsows reference of it wonder why.


From: Jerry Ford [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE
Date: Wed, 24 Dec 2003 14:07:31 -0800
Hari:

To remove mod_jk2, just delete mod_jk2.so from your apache/libexec 
directory and delete the references to it from your Apache config 
(httpd.conf).

As for tomcat continuing to listen, that's because you have a mod_jk2 
connector defined in tomcat's server.xml.

Just because tomcat is listening for it does not mean mod_jk2 is working.

Somebody else will have to address the questions about value---I don't 
use mod_jk2, I have mod_jk, but I also don't use apache 2.x, I have 
apache 1.3. I believe jk2 is designed for apache 2.

As for jk2 references in jk configs, yes, jk2 shows up in my 
catalina.out, too, and I've never installed mod_jk2. It appears to just 
be some sloppy reference in a log message. It doesn't mean anything 
significant. I mean, it all still works. :)

Jerry

Hari Om wrote:

I am using Apache 2.0.47 and Tomcat 4.1.27 and JDK 1.4 on SuSE Linux 
8.0. I would like to use Connector for integrating Apache  Tomcat. I 
have installed MOD_JK2 and want to get rid of it. How can I uninstall 
it? WHen I run my Tomcat it still refers to JK2 settings. I wanted to 
use JK instead. Can anyone please help me on this.

Few more questions:
1) Is it worth using MOD_JK2 v/s MOD_JK?
2) I already installed MOD_JK2 and it does NOT seems to WORK...so wanted 
to get rid of it. I wanted to see if MOD_JK works. How is this possible? 
Deleting the jk2.properties and worker2.properties  DOES NOT 
WORKcatalina.out file still shows TOMCAT is refereing to JK as shown 
below:
---

INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 24, 2003 11:33:56 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 24, 2003 11:33:56 AM org.apache.jk.server.JkMain start
---


Can anyone please Help Me.

Thanks and Merry XMAS!

HARI OM
_
Enjoy a special introductory offer for dial-up Internet access — limited 
time only! http://join.msn.com/?page=dept/dialup

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


Re: MOD_JK2 and MOD_JK on SuSE

2003-12-26 Thread Hari Om
Any update son the following:

Thanks!
These are the ONLY things I added to my SERVER.XML:
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
jkLog=/usr/local/tomcat4/logs/mod_jk.log/
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8009 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
 acceptCount=10 debug=0 connectionTimeout=0
 useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

  !-- 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/
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
  append=true  /
THANKS!

HARI OM






From: Hari Om [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE
Date: Fri, 26 Dec 2003 17:59:07 +
Thanks!
These are the ONLY things I added to my SERVER.XML:
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so jkDebug=info
 workersConfig=/usr/local/tomcat4/conf/jk/workers.properties
 jkLog=/usr/local/tomcat4/logs/mod_jk.log/
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
  port=8009 minProcessors=5 maxProcessors=75
  enableLookups=true redirectPort=8443
  acceptCount=10 debug=0 connectionTimeout=0
  useURIValidationHack=false
  
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

   !-- 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/
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
   append=true  /
THANKS!

HARI OM

From: Jerry Ford [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE
Date: Fri, 26 Dec 2003 09:38:09 -0800
do you still have the Coyote connector defined in the tomcat server.xml?

Hari Om wrote:

Thanks Jerry
I tried to delete the MOD_JK2.SO from my APACHE/MODULESA Directory...but 
still my CATALINA.OUT files hsows reference of it wonder why.


From: Jerry Ford [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE
Date: Wed, 24 Dec 2003 14:07:31 -0800
Hari:

To remove mod_jk2, just delete mod_jk2.so from your apache/libexec 
directory and delete the references to it from your Apache config 
(httpd.conf).

As for tomcat continuing to listen, that's because you have a mod_jk2 
connector defined in tomcat's server.xml.

Just because tomcat is listening for it does not mean mod_jk2 is 
working.

Somebody else will have to address the questions about value---I don't 
use mod_jk2, I have mod_jk, but I also don't use apache 2.x, I have 
apache 1.3. I believe jk2 is designed for apache 2.

As for jk2 references in jk configs, yes, jk2 shows up in my 
catalina.out, too, and I've never installed mod_jk2. It appears to just 
be some sloppy reference in a log message. It doesn't mean anything 
significant. I mean, it all still works. :)

Jerry

Hari Om wrote:

I am using Apache 2.0.47 and Tomcat 4.1.27 and JDK 1.4 on SuSE Linux 
8.0. I would like to use Connector for integrating Apache  Tomcat. I 
have installed MOD_JK2 and want to get rid of it. How can I uninstall 
it? WHen I run my Tomcat it still refers to JK2 settings. I wanted to 
use JK instead. Can anyone please help me on this.

Few more questions:
1) Is it worth using MOD_JK2 v/s MOD_JK?
2) I already installed MOD_JK2 and it does NOT seems to WORK...so 
wanted to get rid of it. I wanted to see if MOD_JK works. How is this 
possible? Deleting the jk2.properties and worker2.properties  DOES 
NOT WORKcatalina.out file still shows TOMCAT is refereing to JK as 
shown below:
---

INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 24, 2003 11:33:56 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 24, 2003 11:33:56 AM org.apache.jk.server.JkMain start
---


Can anyone please Help Me.

Thanks and Merry XMAS!

HARI OM
_
Check your PC for viruses

Apache + Tomcat + MOD_JK

2003-12-24 Thread Hari Om
Hello,

I am using Apache 2.0.47 and Tomcat 4.1.27 on SuSE 8.0 box on same machine.
I am trying to make use of MOD_JK.SO (jk connector)which I build it from 
source.
I have 2 different Users to the system httpd and jakarta with respective 
directories as /usr/local/httpd and /usr/local/jakarta

/usr/local/httpd has httpd:httpd as owner and group
/usr/local/jakarta has jakarta:jakarta as owner and group
I have following files:
FILENAME OWNERGROUP   DIRECTORY
-
workers.properties   jakarta   jakarta/usr/local/jakarta/conf/jk/
server.xml   jakarta   jakarta/usr/local/jakarta/conf/
mod_jk.so   httpd httpd  /usr/local/httpd/modules/
mod_jk.log  jakarta   jakarta/usr/local/jakarta/logs
I was wondering if the above files are placed under the correct directories 
and if there would be any issues as far as RIGHTS/PERMISSIONS are concerned.

EXAMPLE: MOD_JK.LOG is placed under jakarta directoryand so Apache would 
NOT be able to write (if it needs to)
same thing applies to MOD_JK.SO.

Any realted information on above is appreciated.

HARI OM

_
Have fun customizing MSN Messenger — learn how here!  
http://www.msnmessenger-download.com/tracking/reach_customize

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


MOD_JK2 and MOD_JK on SuSE

2003-12-24 Thread Hari Om
I am using Apache 2.0.47 and Tomcat 4.1.27 and JDK 1.4 on SuSE Linux 8.0. I 
would like to use Connector for integrating Apache  Tomcat. I have 
installed MOD_JK2 and want to get rid of it. How can I uninstall it? WHen I 
run my Tomcat it still refers to JK2 settings. I wanted to use JK instead. 
Can anyone please help me on this.

Few more questions:
1) Is it worth using MOD_JK2 v/s MOD_JK?
2) I already installed MOD_JK2 and it does NOT seems to WORK...so wanted to 
get rid of it. I wanted to see if MOD_JK works. How is this possible? 
Deleting the jk2.properties and worker2.properties  DOES NOT 
WORKcatalina.out file still shows TOMCAT is refereing to JK as shown 
below:
---
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 24, 2003 11:33:56 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 24, 2003 11:33:56 AM org.apache.jk.server.JkMain start
---

Can anyone please Help Me.

Thanks and Merry XMAS!

HARI OM

_
Enjoy a special introductory offer for dial-up Internet access — limited 
time only! http://join.msn.com/?page=dept/dialup

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


No action instance for path /logoff could be created

2003-10-07 Thread Hari Om
I am working on a simple Logon Application.

I am able to Logon to my Logon application and when I click the Signout Link 
it gives me following errors wonder why:
-
HTTP Status 500 - No action instance for path /logoff could be created
-

I have defined Action Mappings for logoff in my struts.xml but still get 
this error. My struts.xml is:
-
struts-config
   form-beans
	form-bean name=LogonForm type=app.LogonForm /
   /form-beans

  global-forwards type=org.apache.struts.action.ActionForward
   forward name=logoff path=/logoff.do /
   forward name=logon path=/logon.do /
   forward name=welcome path=/welcome.do /
   /global-forwards
   action-mappings type=org.apache.struts.action.ActionMapping
	action path=/welcome type=org.apache.struts.actions.ForwardAction 
parameter=/pages/welcome.jsp /
   action path=/logon type=org.apache.struts.actions.ForwardAction 
parameter=/pages/logon.jsp /
   action path=/logonSubmit type=app.LogonAction name=LogonForm 
scope=request validate=true input=/pages/logon.jsp
   forward name=success path=/pages/welcome.jsp /
   /action
   action path=/logoff type=app.LogoffAction
   forward name=success path=/pages/welcome.jsp /
   /action
   /action-mappings
   message-resources parameter=resources/application.properties /
/struts-config
-

My second question is:
I try to submit the form without entering Username and password .BUT I 
do not receive any errors which I have defined in APPLICATION.PROPERTIES as:
-
error.username.required=LIUsername is required/LI
error.password.required=LIPassword is required/LI
-

Any help on this is appreciated!

THANKS for your great book!

_
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com

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


Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-10-01 Thread Hari Om
My struts.xml file has:

message-resources parameter=ApplicationResources.properties  /

My web.xml file has:

servlet
  servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts.xml/param-value
/init-param
/servlet

I have 2 files:
ApplicationResources_en.properties and
ApplicationResources_fr.properties
These files are stored in WEB-INF/classes directory and is stored in 
CLASSPATH.

When I run my browser, I get following wonder why:

javax.servlet.ServletException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)

etc.

Any hints etc on this?

THANKS!

_
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com

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


Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-10-01 Thread Hari Om
My struts.xml file has:

message-resources parameter=ApplicationResources.properties  /

My web.xml file has:

servlet
 servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts.xml/param-value
/init-param
/servlet

I have 2 files:
ApplicationResources_en.properties and
ApplicationResources_fr.properties
These files are stored in WEB-INF/classes directory and is stored in 
CLASSPATH.

When I run my browser, I get following wonder why:

javax.servlet.ServletException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)

etc.

Any hints etc on this?

THANKS!

_
Instant message during games with MSN Messenger 6.0. Download it now FREE!  
http://msnmessenger-download.com

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


Tape Drive - Red Hat - Power PC (OFF TOPIC)

2003-08-09 Thread Hari Om
I have IBM 3580 Ultrium LTO Tape Drive and want to use it on IBM pSeries 
PowerPC which has Red Hat Linux installed on it. From where can I find 
DRIVERS for this Tape Drive on Red Hat Linux on Power PC?
Are they available. I checked IBM Site but it supported Linux on Intel 
platforms.

Any related information on this is appreciated.

APOLOGIES FOR OFF TOPIC

THANKS!

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


mod_jk for Red Hat on Power PC

2003-07-29 Thread Hari Om
I am using Apache 1.3.1, Tomcat 4.1.24 on Red Hat Linux 7.1 which is on IBM 
Power PC (pseries).

Does any one know from where can I get MOD_JK Connector to make Apache and 
Tomcat each other on my environment? Any relate dinformatin is appreciated.

THANKS!

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Apache/Tomcat RPM (Red Hat Packet Manager)

2003-07-29 Thread Hari Om
how can I tell RPM (Red Hat Packet Manager) to install package in a certain 
directory?
I am using Red Hat Linux 7.1
I tried following:
--
#rpm -ivh apache.rpm
--

How can I tell RPM to install Apache in /usr/local (or any other userdefined 
directory)?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Apache/Tomcat RPM Install - how To

2003-07-29 Thread Hari Om
how can I tell RPM (Red Hat Packet Manager) to install package in a certain 
directory?
I am using Red Hat Linux 7.1
I tried following:
--
#rpm -ivh apache.rpm
--

How can I tell RPM to install Apache in /usr/local (or any other userdefined 
directory)?

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Port 80, 8009 and 8080

2003-07-29 Thread Hari Om
can any GURU's here give me a good step-by-step understanding as to how the 
request flows from Apache (port 80)  to MOD_JK and AJP (Port 8009) and then 
to Tomcat (Port 8080). I am confused lately 

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: Port 80, 8009 and 8080

2003-07-29 Thread Hari Om
Thank You John - Hats Off to you. that was a very good 
explainationMillion Thanks


From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Port 80, 8009 and 8080
Date: Tue, 29 Jul 2003 12:51:58 -0400
We talked about this yesterday.

First, understand that port 8080 is OPTIONAL.  It is not required.

If you integrate Tomcat with Apache, all that is required is a single 
connection on a single port.

That port can be ANY port you wish, it is up to you.  By convention, the 
default for Apache connectors is 8009.

Tomcat has the ability to act as a web server WITHOUT Apache.  A default 
installation is configured to do two things: be a webserver WITHOUT Apache, 
and integrate with Apache.  Tomcat can do both at the same time.

By convention, web servers take requests on port 80.  However, many people 
already have web servers running on machines where they install Tomcat.  
Thus, to avoid conflicts and make it easier to get started with Tomcat, the 
default HTTP port in a Tomcat installation is 8080, to avoid conflict with 
any existing web servers on port 80.

In production, if you run Apache + Tomcat, you DISABLE the HTTP connector 
on port 8080.

In production, if you do not run Apache and run Tomcat alone as your only 
webserver, you DISABLE the AJP connector on port 8009 and change the HTTP 
connector on port 8080 to port 80, so that web users do not have to type a 
port number on the URL.

In an Apache + Tomcat environment, the request comes in on port 80, Apache 
determines whether the request should be sent to Tomcat.  If so, then the 
Apache connector module determines which port it can use to contact Tomcat 
(by default this is 8009).  Tomcat is contacted on that port (Tomcat is 
already listening and waiting for connections on that port).  Tomcat 
handles the request, and sends the result back to the Apache connector on 
the same port.  Port 8080 is not involved in any way, shape or form.

This is why you can use two different URLs to diagnose problems:

Problem with http://localhost/examples = problem with connector
Problem with http://localhost:8080/examples = problem with Tomcat
Both URLs can work, they are not mutually exclusive.

John

Hari Om wrote:

can any GURU's here give me a good step-by-step understanding as to how 
the request flows from Apache (port 80)  to MOD_JK and AJP (Port 8009) and 
then to Tomcat (Port 8080). I am confused lately 
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Apache / Tomcat RPM

2003-07-28 Thread Hari Om
how can I tell RPM (Red Hat Packet Manager) to install package in a certain 
directory?
I am using Red Hat Linux 7.1
I tried following:
--
#rpm -ivh apache.rpm
--

How can I tell RPM to install Apache in /usr/local (or any other userdefined 
directory)?

_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

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


Tomcat - username/password

2003-07-28 Thread Hari Om
when I run my Tomcat with URL as http://localhost:8080/manager or as
http://localhost:8080/admin it is asking for Username and Password. What 
username/password should I need to enter?

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Re: Tomcat - username/password

2003-07-28 Thread Hari Om
Thanks John.
After reading the tomcat-users.xml file, I entered the same when I point my 
URL to http://localhost:8080/manager or to http://localhost:8080/admin but I 
get following error - wonder why!
-
HTTP Status 403 - Access to the requested resource has been denied
-

Any related informatin on this is appreciated.



From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat - username/password
Date: Mon, 28 Jul 2003 14:29:08 -0400
RTFM

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html

John

Hari Om wrote:

when I run my Tomcat with URL as http://localhost:8080/manager or as
http://localhost:8080/admin it is asking for Username and Password. What 
username/password should I need to enter?

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

-
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]
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Re: Tomcat - username/password

2003-07-28 Thread Hari Om
why do I need to restart Tomcat if I did not change anything? I just 
read what is the  Username/Password in tomcat-users.xml file - did not 
change anything.


From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat - username/password
Date: Mon, 28 Jul 2003 14:46:11 -0400
Did you restart Tomcat?

John

Hari Om wrote:

Thanks John.
After reading the tomcat-users.xml file, I entered the same when I point 
my URL to http://localhost:8080/manager or to http://localhost:8080/admin 
but I get following error - wonder why!
-
HTTP Status 403 - Access to the requested resource has been denied
-

Any related informatin on this is appreciated.



From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat - username/password
Date: Mon, 28 Jul 2003 14:29:08 -0400
RTFM

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html

John

Hari Om wrote:

when I run my Tomcat with URL as http://localhost:8080/manager or as
http://localhost:8080/admin it is asking for Username and Password. What 
username/password should I need to enter?
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

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


RE: Tomcat - username/password

2003-07-28 Thread Hari Om
Thanks Mike.

YupI changed tomcat-users.xml file and included the role manager but 
when I xecute URL
http://localhost:8080/admin but I get following error - wonder why!
-
HTTP Status 403 - Access to the requested resource has been denied
-

Any related informatin on this is appreciated.

Thanks!

From: Mike Curwen [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Tomcat - username/password
Date: Mon, 28 Jul 2003 13:52:53 -0500
You *need* to change something.  Take a closer look at tomcat-user.xml
AND the document that John linked earlier.  There is something missing
from tomcat-user.xml
(roles)  - big hint.

 -Original Message-
 From: Hari Om [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 28, 2003 1:48 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat - username/password


 why do I need to restart Tomcat if I did not change
 anything? I just
 read what is the  Username/Password in tomcat-users.xml file
 - did not
 change anything.


 From: John Turner [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Tomcat - username/password
 Date: Mon, 28 Jul 2003 14:46:11 -0400
 
 
 Did you restart Tomcat?
 
 John
 
 Hari Om wrote:
 
 Thanks John.
 After reading the tomcat-users.xml file, I entered the same when I
 point
 my URL to http://localhost:8080/manager or to
http://localhost:8080/admin
but I get following error - wonder why!
-
HTTP Status 403 - Access to the requested resource has been denied
-

Any related informatin on this is appreciated.



From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat - username/password
Date: Mon, 28 Jul 2003 14:29:08 -0400


RTFM

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html

John

Hari Om wrote:

when I run my Tomcat with URL as http://localhost:8080/manager or as
http://localhost:8080/admin it is asking for Username and Password.
What username/password should I need to enter?
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Tomcat Web Applications

2003-07-28 Thread Hari Om
The default application in Tomcat are:
1) examples
2) manager
3) admin
I could run ALL the above applications using http://localhost:8080/examples/ 
or http://localhost:8080/manager/ or http://localhost:8080/admin/

BUT when I REMOVE the PORT 8080 from URL (as shown below)it does not 
work for *manager* and *admin*  - wonder why:

http://localhost/examples/ or http://localhost/manager/ or 
http://localhost/admin/

It works fine for *examples* application without giving PORT 8080.

NOTE: I have configured my MOD_JK.SO and so dont see any reason why I should 
add PORT 8080

any hints?

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Re: Tomcat Web Applications

2003-07-28 Thread Hari Om
but I dont need port 8080 if I am using MOD_JK.correct me 
GURUS if I am wrong


From: Hotmail - Chander [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat Web Applications
Date: Tue, 29 Jul 2003 01:06:05 +0530
Yea it wont as the default port used by you is 8080..

-C

- Original Message -
From: Hari Om [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 1:03 AM
Subject: Tomcat Web Applications

 The default application in Tomcat are:
 1) examples
 2) manager
 3) admin

 I could run ALL the above applications using
http://localhost:8080/examples/
 or http://localhost:8080/manager/ or http://localhost:8080/admin/

 BUT when I REMOVE the PORT 8080 from URL (as shown below)it does not
 work for *manager* and *admin*  - wonder why:

 http://localhost/examples/ or http://localhost/manager/ or
 http://localhost/admin/

 It works fine for *examples* application without giving PORT 8080.

 NOTE: I have configured my MOD_JK.SO and so dont see any reason why I
should
 add PORT 8080

 any hints?

 _
 Add photos to your messages with MSN 8. Get 2 months FREE*.
 http://join.msn.com/?page=features/featuredemail


 -
 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]
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Tomcat ADMIN Application

2003-07-28 Thread Hari Om
When I run my Tomcat Application admin (this is the one which comes with 
Tomcat) as http://localhost/admin/index.jsp - it gives following error - 
wonder why:

Any related information on this is appreciated!

My other applications i.e: examples , manager etc are working great.

Error report is:

---
HTTP Status 500 - Internal Server Error


org.apache.jasper.JasperException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled 
Code))
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled 
Code))
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled 
Code))
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled 
Code))
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled 
Code))
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java(Compiled 
Code))
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	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.invokeNext(StandardPipeline.java(Compiled 
Code))
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
	at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
	at java.lang.Thread.run(Thread.java:512)

---

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


8009 Port....?

2003-07-28 Thread Hari Om
At which point is Port 8009 (defined in workers.properties) is used?

GURU's correct me if I am wrong. Here is what I think:

1) User request jsp page via http://localhost/login.jsp
2) Apache sees that it is JSP/Servlet, and OPENS PORT 8009 for TOMCAT to 
handle that.
3)Tomcat recives that via 8009 and executes it in PORT 8080

Please coeerct me if I am wrong.

THANKS!

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Apache/Tomcat-RPM Install-how to

2003-07-25 Thread Hari Om
how can I tell RPM (Red Hat Packet Manager) to install package in a certain 
directory?
I am using Red Hat Linux 7.1
I tried following:
--
#rpm -ivh apache.rpm
--

How can I tell RPM to install Apache in /usr/local (or any other userdefined 
directory)?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


JDK Issue

2003-07-24 Thread Hari Om
I installed IBMJava2SDK on my IBM Power PC which has Red Hat Linux on it. I 
installed it under /usr/downloads/IBMJava2-ppc64-141 directory.

Later when I check the version by typing and executing java -version it 
shows Cannot find java

So I added the directory in PATH and CLASSPATH but then it give following 
error:
-
bash:/usr/downloads/IBMJava2-ppc64-141/jre/bin/java: No such file or 
directory
-

can anyone help me out on this?

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


JDK Installation Problems

2003-07-24 Thread Hari Om
I have problems on installing JDK on Red Hat Linux 7.1 power PC.
I downloaded j2sdk-1_4_1_03-linux-i586-rpm.bin - Linux RPM in self 
extracting file and followed the insturctions on Installation page.

1) # chmod a+x j2sdk-1_4_1_03-linux-i586-rpm.bin
2) ./j2sdk-1_4_1_03-linux-i586-rpm.bin
...it prompts for License Accept yes or no on which after typing y I get 
following ERROR wonder why

Do you agree to the above license terms? [yes or no]
y
Unpacking...
Checksumming...
0
0
Extracting...
./j2sdk-1_4_1_03-linux-i586-rpm.bin: ./install.sfx.3299: cannot execute 
binary file
Done.


The above is supposed to create a RPM file which I could then use RPM 
command to installbut cannot pass throug the above process - wonder why

Any related information is appreciated

THANKS!

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


JDK for Linux on Power PC

2003-07-24 Thread Hari Om
where can I find JDK for Linux on Power PC

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


JDK Problems - libjava.so

2003-07-24 Thread Hari Om
I downloaded and installed j2sdk-1.3.1-02b-FCS-linux-ppc.bin from the 
penguinppc.org web site and followed the instructions. I was able to INSTALL 
under /usr/local and also changed my PATH variable.but later when I test 
my java version it gives following error - wonder why

#./java -version
Error: can't find libjava.so.


I am using IBM PowerPC (pseries) with Red Hat Linux 7.1

Any related information on this is appreciated.

THANKS!

HARI OM

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


JDK Problems - LIBTOOL.SO error

2003-07-24 Thread Hari Om
I downloaded and installed j2sdk-1.3.1-02b-FCS-linux-ppc.bin from the 
penguinppc.org web site and followed the instructions. I was able to INSTALL 
under /usr/local and also changed my PATH variable.but later when I test 
my java version it gives following error - wonder why

#./java -version
Error: can't find libjava.so.


I am using IBM PowerPC (pseries) with Red Hat Linux 7.1

Any related information on this is appreciated.

THANKS!

HARI OM

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


RPM Pacakages for RHLinux

2003-07-15 Thread Hari Om
where can I download rpm file for JDK and Tomcat on Red Hat Linux  7.1
I tried rpmfind.net freshrpms.net and rpmseek.com
what is better way to INSTALL above pacakages on Red Hat Linux...(1)TAR/GZ 
or (2) RPM...?

Where is the FORUM for RED HAT LINUX...?

MILLION THANKS!

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


IBM Command and Log History

2003-06-05 Thread Hari Om
I am using IBM AIX 5.1L System.

Is there any way to keep track of the commands executed by any user.?
I know there is fc and history commandbut I want to list who execute 
what command since the box was up.

Also, is there any way to check out which USERS LOGGED on what date and 
time?

THANKS!

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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