Immedidate help needed multiple hosts

2005-09-15 Thread Lalitha Prasad

Hi,

We are getting DataSources problem while setting multiple hosts with
tomcat-5.5.Also we using MS SQL Server for database.

Server.xml entry
..
HOST name='xyz.org' appBase='/home/abc/'
Aliaswww.xyz.org/Alias
/Host

in conf/catalina/ we have
xyz.org folder
in that we have context.xml. It contains entires as

?xml version=1.0 encoding=UTF-8?
Context
   docBase=
   reloadable=true
   swallowOutput=true
 Resource
   auth=Container
   name=jdbc/protocol
   type=javax.sql.DataSource
factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
   password=pwd
   driverClassName=com.microsoft.jdbc.sqlserver.SQLServerDriver
   maxIdle=30
   maxWait=1
   username=userid

url=jdbc:microsoft:sqlserver://host:1433;DatabaseName=db;SelectMethod=Cursor
   maxActive=100/
 WatchedResourceWEB-INF/web.xml/WatchedResource
 WatchedResourceMETA-INF/context.xml/WatchedResource
/Context

In the  home/abc/META-INF we also have same above content as abc.xml.

But, when we try to login into the application it's not able to create
database connection from the URL. It seems it's not loading the driver.



Can any one please help us in this case asap.


Thanks,
LALITH

_
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]



All users help needed to track down all access to HttpSession.getAttribute in Tomcat 5.0.x and 5.5.x

2005-09-09 Thread Wade Chandler
All,

There is an issue in Tomcat 5.0.x and 5.5.x which
affects concurrency.  The deal is
HttpSession.getAttribute is not synchronized and can
cause the failure of session variable lookup as well
as an infinite or very long running loop to occur
during a getAttribute call.  There is no guarentee
that setAttribute will remain synchronized in the
future according the information from Tomcat
developers in the original bug report and how this is
always the developers problem.  The Tomcat source code
has different places where HttpSession.getAttribute
and setAttribute are called (notibly the standard JSP
tags jsp:getAttribute and jsp:useBean) which are not
being synchronized when they need to be.  These need
to be found and reported as bugs so they can be
corrected.  Remember that access to the session in any
way where the end developer (JSP or Servlet
developers) can't synchronize and protect against
concurrency issues or where it doesn't make sense for
them to (JSP tags) needs to be found and reported as
bugs.  Any help is appreciated and it helps everybody.
 Everyone can send me their findings to mail alias
[EMAIL PROTECTED] and I can be a
point for creating the bug report in BugZilla for
these particular bugs.

Please see:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36541
and
http://issues.apache.org/bugzilla/show_bug.cgi?id=36586

for more details

Thanks,

Wade

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



where to deploy my .war and how ? help needed please!

2005-09-07 Thread Yassine ELassad
good morning list,

(sorry for the long mail)

im running Tomcat behind an apache Server using mod_jk2 everything seems to be 
working fine but im really confused about one thing
where to deploy my .war files to???

OS Suse Linux 9.1
java version 1.4.2_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


tomcat is at -  /usr/share/tomcat

webapps is at /srv/www/tomcat/base/webapps

my server.xml :
==
Server port=8005 shutdown=SHUTDOWN debug=9
Service name=Tomcat-Apache
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat5.CoyoteConnector
port=8009
minProcessors=5
maxProcessors=75
enableLookups=true
redirectPort=8443
acceptCount=10
debug=9
connectionTimeout=2
useURIValidationHack=true

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
!-- While starting off, leave debugging high for help in 
diagn. --
!-- When done, turn it back to 0 --
Engine name=DoApache defaultHost=do-web.de debug=9
Logger 
className=org.apache.catalina.logger.FileLogger
prefix=doweb_fileloger.
suffix=.log
timestamp=true/
!-- Access log processes all requests for this virtual 
host. --
!-- Leave pattern=combined for the most 
comprehensive logging --
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs
prefix=doweb_accesslogV.
suffix=.log
pattern=combined
resolveHosts=false/
Host name=DoDemo debug=0
appBase=/srv/www/demo
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/demo 
debug=0/
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs  
prefix=demo_accesslogV.
suffix=.log 
pattern=combined resolveHosts=false/
/Host
Host name=doweb.de debug=9
appBase=/srv/www/htdocs
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/htdocs 
debug=9/
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs  
prefix=dom_access.
suffix=.log 
pattern=combined resolveHosts=false/
/Host
/Engine
/Service
/Server

startup log from catalina.out :
===
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1288 ms
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Apache
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.ContextConfig 
applicationConfig
INFO: Missing application web.xml, using defaults only 
StandardEngine[DOMApache].StandardHost[domdemo].StandardContext[]
Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Sep 7, 2005 8:05:30 AM org.apache.catalina.startup.HostConfig deployWARs
WARNING: Exception while expanding web application archive BMIWizardDe.war
Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 7, 2005 8:05:30 AM org.apache.catalina.startup.ContextConfig 
applicationConfig

RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Guy Katz
put it under your webapps and put a context elements with all its sub elements 
to configure the app in the server.xml file in the tomcat conf directory.

-Original Message-
From: Yassine ELassad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 07, 2005 10:01 AM
To: tomcat-user@jakarta.apache.org
Subject: where to deploy my .war and how ? help needed please!


good morning list,

(sorry for the long mail)

im running Tomcat behind an apache Server using mod_jk2 everything seems to be 
working fine but im really confused about one thing
where to deploy my .war files to???

OS Suse Linux 9.1
java version 1.4.2_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


tomcat is at -  /usr/share/tomcat

webapps is at /srv/www/tomcat/base/webapps

my server.xml :
==
Server port=8005 shutdown=SHUTDOWN debug=9
Service name=Tomcat-Apache
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat5.CoyoteConnector
port=8009
minProcessors=5
maxProcessors=75
enableLookups=true
redirectPort=8443
acceptCount=10
debug=9
connectionTimeout=2
useURIValidationHack=true

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
!-- While starting off, leave debugging high for help in 
diagn. --
!-- When done, turn it back to 0 --
Engine name=DoApache defaultHost=do-web.de debug=9
Logger 
className=org.apache.catalina.logger.FileLogger
prefix=doweb_fileloger.
suffix=.log
timestamp=true/
!-- Access log processes all requests for this virtual 
host. --
!-- Leave pattern=combined for the most 
comprehensive logging --
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs
prefix=doweb_accesslogV.
suffix=.log
pattern=combined
resolveHosts=false/
Host name=DoDemo debug=0
appBase=/srv/www/demo
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/demo 
debug=0/
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs  
prefix=demo_accesslogV.
suffix=.log 
pattern=combined resolveHosts=false/
/Host
Host name=doweb.de debug=9
appBase=/srv/www/htdocs
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/htdocs 
debug=9/
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs  
prefix=dom_access.
suffix=.log 
pattern=combined resolveHosts=false/
/Host
/Engine
/Service
/Server

startup log from catalina.out :
===
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1288 ms
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Apache
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.ContextConfig 
applicationConfig
INFO: Missing application web.xml, using defaults only 
StandardEngine[DOMApache].StandardHost[domdemo].StandardContext[]
Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create

RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Sonja Löhr

I'm no expert, but isnt' the docbase of a context evaluated relative to
the HOST's appbase?
so I guess your docBase path should not contain /srv/www/htdocs.
 

Am Mittwoch, den 07.09.2005, 10:04 +0300 schrieb Guy Katz:
 Context path= docBase=/srv/www/htdocs debug=9/



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



Re: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Mert Eren ÜSTÜNKAYA

Hey Yassine,

   You should deploy your codes under webapps.
I am using tomcats manager to deploy my war files i recommend it to you.

http://localhost:8080/manager/html

u can give your war file to it and deploy with out any problems..





Yassine ELassad wrote:


good morning list,

(sorry for the long mail)

im running Tomcat behind an apache Server using mod_jk2 everything seems to be 
working fine but im really confused about one thing
where to deploy my .war files to???

OS Suse Linux 9.1
java version 1.4.2_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


tomcat is at -  /usr/share/tomcat

webapps is at /srv/www/tomcat/base/webapps

my server.xml :
==
Server port=8005 shutdown=SHUTDOWN debug=9
   Service name=Tomcat-Apache
   !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
   Connector className=org.apache.coyote.tomcat5.CoyoteConnector
   port=8009
   minProcessors=5
   maxProcessors=75
   enableLookups=true
   redirectPort=8443
   acceptCount=10
   debug=9
   connectionTimeout=2
   useURIValidationHack=true
   
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
   !-- While starting off, leave debugging high for help in diagn. 
--
   !-- When done, turn it back to 0 --
   Engine name=DoApache defaultHost=do-web.de debug=9
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=doweb_fileloger.
   suffix=.log
   timestamp=true/
   !-- Access log processes all requests for this virtual 
host. --
   !-- Leave pattern=combined for the most comprehensive 
logging --
   Valve 
className=org.apache.catalina.valves.AccessLogValve
   directory=logs
   prefix=doweb_accesslogV.
   suffix=.log
   pattern=combined
   resolveHosts=false/
   Host name=DoDemo debug=0
   appBase=/srv/www/demo
   unpackWARs=true autoDeploy=true
   Context path= docBase=/srv/www/demo 
debug=0/
   Valve 
className=org.apache.catalina.valves.AccessLogValve
   directory=logs  
prefix=demo_accesslogV.
   suffix=.log pattern=combined 
resolveHosts=false/
   /Host
   Host name=doweb.de debug=9
   appBase=/srv/www/htdocs
   unpackWARs=true autoDeploy=true
   Context path= docBase=/srv/www/htdocs 
debug=9/
   Valve 
className=org.apache.catalina.valves.AccessLogValve
   directory=logs  
prefix=dom_access.
   suffix=.log pattern=combined 
resolveHosts=false/
   /Host
   /Engine
   /Service
/Server

startup log from catalina.out :
===
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1288 ms
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Apache
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.ContextConfig 
applicationConfig
INFO: Missing application web.xml, using defaults only 
StandardEngine[DOMApache].StandardHost[domdemo].StandardContext[]
Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Sep 7, 2005 8:05:30 AM org.apache.catalina.startup.HostConfig deployWARs
WARNING: Exception while expanding 

Re: RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Yassine ELassad
Dear Guy,

well i have added a context element into my host and its now looking like this :

=
   Host name=do-web.de debug=9
appBase=/srv/www/tomcat/base
unpackWARs=true autoDeploy=true
Context path= docBase=webapps debug=9/
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs  
prefix=dom_access.
suffix=.log 
pattern=combined resolveHosts=false/
Context path=/MartialArts docBase=/MartialArts 
debug=8 privileged=true/
/Host
==

i also considered sonja's suggestion that  the docbase of a context  is 
evaluated relative to
the HOST's appbase and have changed it

now i have quite strange problem after specifying  webapps as appbase for my 
Vhost as you can see in the cofig above and  rying to deploy my test servlet 
into it
i have a strange log message :
==
2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init:  input 
buffer size=2048, output buffer size=2048
2005-09-07 11:47:07 NamingContextListener[/DOMApache/do-web.de]:   Resource 
parameters for UserTransaction = null
2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init:  input 
buffer size=2048, output buffer size=2048
2005-09-07 11:47:07 EngineConfig: EngineConfig: Processing START
===
in addition to this i observed that my .war file is not decompressed
and  since i did specify
Context path=/MartialArts docBase=/MartialArts debug=8 
privileged=true/
i observed that under /var/cach/tomcat/DOMApache/do-web.de/MartialArts has  
been Created but its contains nothing at all i m really confused about this :s


i hope you guys can give me a clue what's going wrong here

thanks in advance

Greetings
Yassine ELassad
Cologne


 directBOX Reply ---
From: Guy Katz ([EMAIL PROTECTED])
To: Tomcat Users List (tomcat-user@jakarta.apache.org)
Date: 07.09.2005 09:03:07

put it under your webapps and put a context elements with all its sub elements 
to configure the app in the server.xml file in the tomcat conf directory.

-Original Message-
From: Yassine ELassad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 07, 2005 10:01 AM
To: tomcat-user@jakarta.apache.org
Subject: where to deploy my .war and how ? help needed please!


good morning list,

(sorry for the long mail)

im running Tomcat behind an apache Server using mod_jk2 everything seems to be 
working fine but im really confused about one thing
where to deploy my .war files to???

OS Suse Linux 9.1
java version 1.4.2_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


tomcat is at -  /usr/share/tomcat

webapps is at /srv/www/tomcat/base/webapps

my server.xml :
==
Server port=8005 shutdown=SHUTDOWN debug=9
Service name=Tomcat-Apache
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat5.CoyoteConnector
port=8009
minProcessors=5
maxProcessors=75
enableLookups=true
redirectPort=8443
acceptCount=10
debug=9
connectionTimeout=2
useURIValidationHack=true

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
!-- While starting off, leave debugging high for help in 
diagn. --
!-- When done, turn it back to 0 --
Engine name=DoApache defaultHost=do-web.de debug=9
Logger 
className=org.apache.catalina.logger.FileLogger
prefix=doweb_fileloger.
suffix=.log
timestamp=true/
!-- Access log processes all requests for this virtual 
host. --
!-- Leave pattern=combined for the most 
comprehensive logging --
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs

Re: Re: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Yassine ELassad
Dear Eren,

unfortunatly iam not using tomcat's manager admin modules since iam using 
tomcat only
kind of plugin for apache so i can#t use there resources provided by tomcat

Thanks

 directBOX Reply ---
From: Mert Eren ÜSTÜNKAYA ([EMAIL PROTECTED])
To: TomcatUsersList (tomcat-user@jakarta.apache.org)
Date: 07.09.2005 11:56:35

Hey Yassine,

You should deploy your codes under webapps.
I am using tomcats manager to deploy my war files i recommend it to you.

http://localhost:8080/manager/html

u can give your war file to it and deploy with out any problems..





Yassine ELassad wrote:

good morning list,

(sorry for the long mail)

im running Tomcat behind an apache Server using mod_jk2 everything seems to be 
working fine but im really confused about one thing
where to deploy my .war files to???

OS Suse Linux 9.1
java version 1.4.2_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


tomcat is at -  /usr/share/tomcat

webapps is at /srv/www/tomcat/base/webapps

my server.xml :
==
Server port=8005 shutdown=SHUTDOWN debug=9
Service name=Tomcat-Apache
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector 
 className=org.apache.coyote.tomcat5.CoyoteConnector
port=8009
minProcessors=5
maxProcessors=75
enableLookups=true
redirectPort=8443
acceptCount=10
debug=9
connectionTimeout=2
useURIValidationHack=true

 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
!-- While starting off, leave debugging high for help in  
 diagn. --
!-- When done, turn it back to 0 --
Engine name=DoApache defaultHost=do-web.de debug=9
Logger 
 className=org.apache.catalina.logger.FileLogger
prefix=doweb_fileloger.
suffix=.log
timestamp=true/
!-- Access log processes all requests for this 
 virtual host. --
!-- Leave pattern=combined for the most 
 comprehensive logging --
Valve 
 className=org.apache.catalina.valves.AccessLogValve
directory=logs
prefix=doweb_accesslogV.
suffix=.log
pattern=combined
resolveHosts=false/
Host name=DoDemo debug=0
appBase=/srv/www/demo
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/demo 
 debug=0/
Valve 
 className=org.apache.catalina.valves.AccessLogValve
directory=logs  
 prefix=demo_accesslogV.
suffix=.log 
 pattern=combined resolveHosts=false/
/Host
Host name=doweb.de debug=9
appBase=/srv/www/htdocs
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/htdocs 
 debug=9/
Valve 
 className=org.apache.catalina.valves.AccessLogValve
directory=logs  
 prefix=dom_access.
suffix=.log 
 pattern=combined resolveHosts=false/
/Host
/Engine
/Service
/Server

startup log from catalina.out :
===
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1288 ms
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Apache
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 7, 2005 8:05:29 AM 

Re: RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Sonja Löhr

No, docBase=webapps is not good ;-)

I have everything under the localhost default Host with
appBase=webapps, so that the Context element can indeed be
Context path= debug=5 reloadable=true
docBase=/var/www/japplicoon/myApp

So, if you already specify that /srv/www/tomcat/base as appBase,
the docBase should be ... the empty String? Don't know wheter this is
valid. Perhaps you just cut off the last directory form the appBase 

Host name=do-web.de debug=9
appBase=/srv/www/tomcat
unpackWARs=true autoDeploy=true
  Context path= docBase=base debug=9/
 Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs  prefix=dom_access.
 suffix=.log pattern=combined resolveHosts=false/
 Context path=/MartialArts docBase=MartialArts debug=8 
 privileged=true/
/Host

docBase is:
- A path totally different from appBase if it is an absolute path
- A path under the appBase if it is a relative one.

I hope that helps a bit.

Good luck!
sonja





Am Mittwoch, den 07.09.2005, 12:06 +0200 schrieb Yassine ELassad:
 Dear Guy,
 
 well i have added a context element into my host and its now looking like 
 this :
 
 =
Host name=do-web.de debug=9
 appBase=/srv/www/tomcat/base
 unpackWARs=true autoDeploy=true
 Context path= docBase=webapps debug=9/
 Valve 
 className=org.apache.catalina.valves.AccessLogValve
 directory=logs  
 prefix=dom_access.
 suffix=.log 
 pattern=combined resolveHosts=false/
 Context path=/MartialArts docBase=/MartialArts 
 debug=8 privileged=true/
 /Host
 ==
 
 i also considered sonja's suggestion that  the docbase of a context  is 
 evaluated relative to
 the HOST's appbase and have changed it 
 
 now i have quite strange problem after specifying  webapps as appbase for my 
 Vhost as you can see in the cofig above and  rying to deploy my test servlet 
 into it 
 i have a strange log message :
 ==
 2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init:  input 
 buffer size=2048, output buffer size=2048
 2005-09-07 11:47:07 NamingContextListener[/DOMApache/do-web.de]:   Resource 
 parameters for UserTransaction = null
 2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init:  input 
 buffer size=2048, output buffer size=2048
 2005-09-07 11:47:07 EngineConfig: EngineConfig: Processing START
 ===
 in addition to this i observed that my .war file is not decompressed 
 and  since i did specify
 Context path=/MartialArts docBase=/MartialArts debug=8 
 privileged=true/
 i observed that under /var/cach/tomcat/DOMApache/do-web.de/MartialArts has  
 been Created but its contains nothing at all i m really confused about this :s
 
 
 i hope you guys can give me a clue what's going wrong here 
 
 thanks in advance 
 
 Greetings 
 Yassine ELassad
 Cologne
 
 
  directBOX Reply ---
 From: Guy Katz ([EMAIL PROTECTED]) 
 To: Tomcat Users List (tomcat-user@jakarta.apache.org) 
 Date: 07.09.2005 09:03:07
 
 put it under your webapps and put a context elements with all its sub 
 elements to configure the app in the server.xml file in the tomcat conf 
 directory.
 
 -Original Message-
 From: Yassine ELassad [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 07, 2005 10:01 AM
 To: tomcat-user@jakarta.apache.org
 Subject: where to deploy my .war and how ? help needed please!
 
 
 good morning list,
 
 (sorry for the long mail)
 
 im running Tomcat behind an apache Server using mod_jk2 everything seems to 
 be working fine but im really confused about one thing
 where to deploy my .war files to???
 
 OS Suse Linux 9.1
 java version 1.4.2_03
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
 Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
 
 
 tomcat is at -  /usr/share/tomcat
 
 webapps is at /srv/www/tomcat/base/webapps
 
 my server.xml :
 ==
 Server port=8005 shutdown=SHUTDOWN debug=9
 Service name=Tomcat-Apache
 !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
 Connector 
 className=org.apache.coyote.tomcat5.CoyoteConnector
 port=8009
 minProcessors=5
 maxProcessors=75
 enableLookups=true
 redirectPort=8443

TOMCAT help needed

2005-08-24 Thread Pierre Faudon
Hello everyone ! I'm neewbie and i try to install groupwise
webmail. I folowed the procedure by copying the classes in
/webapps/ROOT/WEB-INF/classes and the jar in
/webapps/ROOT/WEB-INF/lib and I put my web.xml in the WEB-INF/
directory but it didn't work at all ... in the log the classes
wasnot found !
I try tu change the web.xml in conf directory and copy my
classes.jars in common directory and now I have an error 404 !

in the logs I have :

app.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target
string: News / Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target
param name: paramName / Target param value: paramValue /
Redirect URL: http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule:
Redirect URL: http://jakarta.apache.org]]
2005-08-24 17:51:53
StandardContext[/jsp-examples]ContextListener:
contextInitialized()
2005-08-24 17:51:53
StandardContext[/jsp-examples]SessionListener:
contextInitialized()
2005-08-24 17:51:54
StandardContext[/servlets-examples]ContextListener:
contextInitialized()
2005-08-24 17:51:54
StandardContext[/servlets-examples]SessionListener:
contextInitialized()


my web.xml is in atachement ... thank you for your help








Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)


?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
	servlet
		servlet-namewebacc/servlet-name
		servlet-classcom.novell.webaccess.WebAccessServlet/servlet-class
		init-param
			param-nameConfig/param-name
			param-value/novell/webaccess/webacc.cfg/param-value
		/init-param
		load-on-startup /load-on-startup
	/servlet

	servlet
		servlet-namespellchk/servlet-name
		servlet-classcom.novell.collexion.spell.servlet.SpellServlet/servlet-class
		init-param
			param-nameConfig/param-name
			param-value/novell/webaccess/spellchk.cfg/param-value
		/init-param
		load-on-startup /load-on-startup
	/servlet

	servlet
		servlet-namewebpub/servlet-name
		servlet-classcom.novell.webpublisher.WebPublisherServlet/servlet-class
		init-param
			param-nameConfig/param-name
			param-value/novell/webpublisher/webpub.cfg/param-value
		/init-param
		load-on-startup /load-on-startup
	/servlet

	servlet-mapping
		servlet-namewebacc/servlet-name
		url-pattern/webacc/*/url-pattern
	/servlet-mapping

	servlet-mapping
		servlet-namespellchk/servlet-name
		url-pattern/spellchk/*/url-pattern
	/servlet-mapping

	servlet-mapping
		servlet-namewebpub/servlet-name
		url-pattern/webpub/*/url-pattern
	/servlet-mapping

/web-app


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

help needed with UTFDataFormatException

2005-06-23 Thread Andy Kriger
Hello. I have a Tomcat 5.5.8 based web application running an Axis
1.2.0 driven web service. When I run a certain chunk of code doing
XSLT transformations, the code fails with There was an error while
transforming document - java.io.UTFDataFormatException: Invalid byte 1
of 1-byte UTF-8 sequence.

I can run this code outside of Tomcat without any problem (using
command-line JUnit tests). However, if I run the code from a JSP page
or using my web service, it fails with that error.

Xerces and Xalan are definitely the same version (System.out with
their respective Version objects shows the same info). I am attaching
the XSLT file in question in case anyone can see something I can't.

Has anyone seen this problem? I'm not finding much useful information
searching the archives (of Tomcat, Axis or googling the
web/newsgroups).

thx
andy
?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

xsl:output method=html indent=yes encoding=US-ASCII/


xsl:template match=/content
htmlbody
	xsl:apply-templates/
/body/html
/xsl:template

xsl:template match=@*|node()
	xsl:choose
		xsl:when test=@redlined='yes'
			R
xsl:copy
	xsl:copy-of select=attribute::node()[not(name()='redlined')]/
	xsl:apply-templates/
/xsl:copy
xsl:if test=name(.)='td' or name(.)='p' or name(.)='tr' or name(.)='table' or name(.)='img'xsl:text#10;/xsl:text/xsl:if
			/R
		/xsl:when
		xsl:otherwise
			xsl:copy
xsl:copy-of select=@*/
xsl:apply-templates/
			/xsl:copy
			xsl:if test=name(.)='td' or name(.)='p' or name(.)='tr' or name(.)='table'xsl:text#10;/xsl:text/xsl:if
		/xsl:otherwise
	/xsl:choose
/xsl:template

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

Re: Help needed with Hibernate persistent servlet

2005-05-12 Thread David Haynes
Allistair Crossley wrote:
Hi,
Hibernate needs a bunch of other jar files too. There is a text file in the H3 
distrib indicating which are requisite and which are mandatory.
You do not menion whether this HibernateUtil you are using as a servlet has an 
overridden init() method that creates the SessionFactory.
Finally, the way we set the Hibernate sub-system up here is to use a 
ContextListener for our application which calls HibernateUtil.init which 
instances the SessionFactory. Another way to go about Hibernate3 usage in web 
apps is to use the Inversion of Control part of Spring.
Cheers, Allistair.
 

-Original Message-
From: David Haynes [mailto:[EMAIL PROTECTED]
Sent: 10 May 2005 19:30
To: tomcat-user@jakarta.apache.org
Subject: Help needed with Hibernate persistent servlet
I feel that I am almost there, but can't quite get the last 
problem out 
of the way.

I am using Tomcat 5.5.7, NetBeans 4.1rc2, and Hibernate 3.0.3.
I have set up the web.xml for my project to start the 
HibernateUtil as a 
load-on-startup servlet and confirmed that the proper libraries (jar 
files) are in place under WEB-INF/lib. I know that the servlet is 
running since I put the declaration into the global web.xml 
and got back 
the duplicate service error.

My problem is that I am getting NoClassDefFoundError. Looking at the 
java generated for my jsp, I see that the class not found is the one 
which references my persistent object. ( i.e. when I reference 
HibernateUtil.currentSession() )

Do I need to do something else to make the persistent object 
visible to 
my jsp? The jsp does import my package containing 
HibernateUtil and the 
org.hibernate.* set as well.

Googling seems to indicate that getting this to work is an often seen 
problem, but there not a lot of details about how to fix this. I have 
checked all the fixes I can find but nothing seems to be working.

Thanks for any ideas/help.
-david-
   

Thanks for taking the time to try to help. It turns out to be a 
documentation problem with Hibernate 3.0 in that one of the required jar 
libraries is not documented as being required. Once I added the asm.jar 
library, everything started to work properly.

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


RE: Help needed with Hibernate persistent servlet

2005-05-11 Thread Allistair Crossley
Hi,

Hibernate needs a bunch of other jar files too. There is a text file in the H3 
distrib indicating which are requisite and which are mandatory.

You do not menion whether this HibernateUtil you are using as a servlet has an 
overridden init() method that creates the SessionFactory.

Finally, the way we set the Hibernate sub-system up here is to use a 
ContextListener for our application which calls HibernateUtil.init which 
instances the SessionFactory. Another way to go about Hibernate3 usage in web 
apps is to use the Inversion of Control part of Spring.

Cheers, Allistair.

 -Original Message-
 From: David Haynes [mailto:[EMAIL PROTECTED]
 Sent: 10 May 2005 19:30
 To: tomcat-user@jakarta.apache.org
 Subject: Help needed with Hibernate persistent servlet
 
 
 I feel that I am almost there, but can't quite get the last 
 problem out 
 of the way.
 
 I am using Tomcat 5.5.7, NetBeans 4.1rc2, and Hibernate 3.0.3.
 
 I have set up the web.xml for my project to start the 
 HibernateUtil as a 
 load-on-startup servlet and confirmed that the proper libraries (jar 
 files) are in place under WEB-INF/lib. I know that the servlet is 
 running since I put the declaration into the global web.xml 
 and got back 
 the duplicate service error.
 
 My problem is that I am getting NoClassDefFoundError. Looking at the 
 java generated for my jsp, I see that the class not found is the one 
 which references my persistent object. ( i.e. when I reference 
 HibernateUtil.currentSession() )
 
 Do I need to do something else to make the persistent object 
 visible to 
 my jsp? The jsp does import my package containing 
 HibernateUtil and the 
 org.hibernate.* set as well.
 
 Googling seems to indicate that getting this to work is an often seen 
 problem, but there not a lot of details about how to fix this. I have 
 checked all the fixes I can find but nothing seems to be working.
 
 Thanks for any ideas/help.
 -david-
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Help needed with Hibernate persistent servlet

2005-05-10 Thread David Haynes
I feel that I am almost there, but can't quite get the last problem out 
of the way.

I am using Tomcat 5.5.7, NetBeans 4.1rc2, and Hibernate 3.0.3.
I have set up the web.xml for my project to start the HibernateUtil as a 
load-on-startup servlet and confirmed that the proper libraries (jar 
files) are in place under WEB-INF/lib. I know that the servlet is 
running since I put the declaration into the global web.xml and got back 
the duplicate service error.

My problem is that I am getting NoClassDefFoundError. Looking at the 
java generated for my jsp, I see that the class not found is the one 
which references my persistent object. ( i.e. when I reference 
HibernateUtil.currentSession() )

Do I need to do something else to make the persistent object visible to 
my jsp? The jsp does import my package containing HibernateUtil and the 
org.hibernate.* set as well.

Googling seems to indicate that getting this to work is an often seen 
problem, but there not a lot of details about how to fix this. I have 
checked all the fixes I can find but nothing seems to be working.

Thanks for any ideas/help.
-david-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Help needed: Setting Tomcat5.5 to run with security manager in Windows XP

2005-04-16 Thread Nikolay Karasev
I cannot figure out how to set Tomcat 5.5.7 to be running under security 
manager.
Standard Tomcat help gives option as: %CATALINA_HOME%\bin\catalina start 
-security
however there is no file named catalina.bat in this directory. In fact 
there
are only these 4 files: bootstrap.jar, commons-logging-api.jar, tomcat5.exe
and tomcat5w.exe. There is no single *.bat file anywhere under 
%CATALINA_HOME%.

Any help?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Help needed: Setting Tomcat5.5 to run with security manager in Windows XP

2005-04-16 Thread Caldarale, Charles R
 From: Nikolay Karasev [mailto:[EMAIL PROTECTED] 
 Subject: Help needed: Setting Tomcat5.5 to run with security manager
in Windows XP
 
 however there is no file named catalina.bat in this directory.

The .bat files are only in the zip download.  If you're running Tomcat
as a service, there is no .bat file to edit; instead you can use the
Tomcat5w.exe program to set additional parameters (under the Java tab),
or edit the registry.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Help needed with Tomcat 5.5.7 admin app (MBeanServer is not available)

2005-04-11 Thread Fritz Schneider
Simon,

 

I had the same problem. Then I discovered that the admin app had to be
installed under ${Catalina.home}/server/webapps rather than just
${Catalina.home}/webapps. Once I moved the directory to where the Context
docBase said it was supposed to be, it started working.

 

Fritz

  _  

From: Simon Watson [EMAIL PROTECTED]
Subject: Help needed with Tomcat 5.5.7 admin app (MBeanServer is not
available)
Date: Sun, 06 Feb 2005 16:18:49 GMT

  _  

Hi there,
 
I've just installed Tomcat 5.5.7 (using the .exe installer on WinXP)
and, whilst the server and manager app work fine, I'm having problems
with the optional admin webapp.
 
I downloaded the admin zip file and extracted the files to the
appropriate locations. The admin app starts ok and I can log in, but
when I click on Environmental Entries (or try to add a datasource),
I get a 500 response with the message MBeanServer is not available
(stack trace from stdout log below).
 

 



Re: connection pooling confusion help needed

2005-03-29 Thread Preeti Iyer
Hi,
Please follow the directions by user rmorriso on the following link.
It should work fine.
http://forums.devshed.com/archive/t-120081




On Fri, 25 Mar 2005 19:11:15 + (GMT), Krishnakant Mane
[EMAIL PROTECTED] wrote:
 hello all,
 im going to put a web application in java servlets
 with tomcat 5 on a production ready server for real
 time use.
 I am thinking of using connection pooling but I am a
 bit confused.  I have initialised all my connections
 in the servlet's init method and closed them in
 distroy method.
 so these connections are not closed untill the server
 is turned off.  now how will the connection pooling
 track these un closed connections?
 and I will like some one to make me understand with an
 example of how to implement connection pooling using
 mysql jdbc.  I will be happy if some one gives a
 complete example including how to define context and
 where.  and how to link it to a web application and
 how to call the connection from a pool.  I have some
 rough idea but the tomcat docs really confused me.
 so please help me understand this connection pooling
 concept
 thanks
 Krishnakant.
 
 Send instant messages to your online friends http://uk.messenger.yahoo.com
 
 -
 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]



connection pooling confusion help needed

2005-03-25 Thread Krishnakant Mane
hello all,
im going to put a web application in java servlets
with tomcat 5 on a production ready server for real
time use.
I am thinking of using connection pooling but I am a
bit confused.  I have initialised all my connections
in the servlet's init method and closed them in
distroy method.
so these connections are not closed untill the server
is turned off.  now how will the connection pooling
track these un closed connections?
and I will like some one to make me understand with an
example of how to implement connection pooling using
mysql jdbc.  I will be happy if some one gives a
complete example including how to define context and
where.  and how to link it to a web application and
how to call the connection from a pool.  I have some
rough idea but the tomcat docs really confused me.
so please help me understand this connection pooling
concept
thanks
Krishnakant.

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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



RE: connection pooling confusion help needed

2005-03-25 Thread pandu yelamanchili
Hi
All the connection pool properties should be configured in server.xml. You 
dont have to initialize connections etc. in your init method. you just have 
to make sure you close your resultset and connection after you are done. 
Closing it will return it back to the pool.

Here is one link from tomcat. Not sure if you took a look at it already
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
Pandu
From: Krishnakant Mane [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: connection pooling confusion help needed
Date: Fri, 25 Mar 2005 19:11:15 + (GMT)
hello all,
im going to put a web application in java servlets
with tomcat 5 on a production ready server for real
time use.
I am thinking of using connection pooling but I am a
bit confused.  I have initialised all my connections
in the servlet's init method and closed them in
distroy method.
so these connections are not closed untill the server
is turned off.  now how will the connection pooling
track these un closed connections?
and I will like some one to make me understand with an
example of how to implement connection pooling using
mysql jdbc.  I will be happy if some one gives a
complete example including how to define context and
where.  and how to link it to a web application and
how to call the connection from a pool.  I have some
rough idea but the tomcat docs really confused me.
so please help me understand this connection pooling
concept
thanks
Krishnakant.
Send instant messages to your online friends http://uk.messenger.yahoo.com
-
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]


Help Needed

2005-02-23 Thread Edmon Begoli
Does anyone has any experience with pre-compiling jstl 1.1 and struts-el 
enabled jsps on Tomcat 5.5.7.

When I follow instructions from the web site and try to compile it in 
eclipse I get a java.util.Zip... exception complaining it
is loading an invalid zip file. This zip file exception may be a side 
effect of something else - not sure.

Could this be related to use of -el tlds, and inability of Jasper2 to 
understand -el tlds. I did noticed that It fails compiling jsps that 
have -el
jsp tags in it.

Any help is appreciated.


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


Help needed with Tomcat 5.5.7 admin app (MBeanServer is not available)

2005-02-06 Thread Simon Watson
Hi there,

I've just installed Tomcat 5.5.7 (using the .exe installer on WinXP)
and, whilst the server and manager app work fine, I'm having problems
with the optional admin webapp.

I downloaded the admin zip file and extracted the files to the
appropriate locations. The admin app starts ok and I can log in, but
when I click on Environmental Entries (or try to add a datasource),
I get a 500 response with the message MBeanServer is not available
(stack trace from stdout log below).

My server.xml file includes:
  !-- Comment these entries out to disable JMX MBeans support used for the 
   administration web application --
  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener /
  Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
/

Has anyone got any ideas? I'm new to Tomcat so I could be missing
something obvious but I've run out of ideas. Any help would be much
appreciated.

Cheers,

Simon.



SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: MBeanServer is not available
at org.apache.webapp.admin.AttributeTag.doEndTag(AttributeTag.java:163)
at 
admin.resources.listEnvEntries_jsp._jspx_meth_controls_attribute_0(listEnvEntries_jsp.java:766)
at 
admin.resources.listEnvEntries_jsp._jspService(listEnvEntries_jsp.java:380)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:464)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
at 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:464)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
at 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.webapp.admin.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 

tomcat problem related connection pooling help needed

2004-12-19 Thread Krishnakant Mane
hello Jan and other friends,
I read the mail that was sent as a reply for my
problem.
thanks jan for ur valuable help.
I must mention that I am new to the jdbc stuff.  so I
could not figure out the connection pooling issue.  I
understand that with pooling I can have live objects
of say connection objects that I can use as a pool and
that tomcat can send them when needed.
but I don't exactly know how to do it please guide me
abt jdbc connection pooling.  I know that it is out of
topic on this list, but to understand jdbc pooling and
my problem related to tomcat, I must first understand
in short how pooling in jdbc works.
plese help me on these issues.
thanks
Krishnakant.



___ 
Win a castle for NYE with your mates and Yahoo! Messenger 
http://uk.messenger.yahoo.com

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



RE: tomcat problem related connection pooling help needed

2004-12-19 Thread Jan Behrens
ok, i will share what little knowledge i have...

when you normaly open a database connection, you get a connection object
that represents a database connection, you allways get a new connection and
have to ensure that this is definetly closed after usage. there a quite a
few drawbacks to this as you _must_ close the connection and in that the
number of java connection objects have to correspond to those maximal
available from your dbms (e.g. mysql). 

my first webapp at university was build like that and worked fine till i got
load on the system - then it crashed ;)

a connection pool helps you in avoiding mentioned problems. it basically is
a pool (funny that :) managed by a pool provider that consist of a limited
number of actual connection objects. these get created (and in specific
cases even destroyed/closed) by the pool provider. all you have to do is
configure it according to your specifications and then changed your db code
to request connections from the pool.

tomcat, beeing the great server it is, comes with a pool provider that you
could use to start with. i am not sure whether it is recommended for
production so you should check that before going live with your system. you
usually will set up a connection pool in combination with a jndi ressource
that provides everything needed for your app. 

first created the mentioned jndi by editing your applications xml file under

{TomcatInstallDir}\conf\Catalina\{servername}\myApplicationName.xml

you will need to insert a new ressource within the context-tag. the
following should serve as a general guideline, you will have to change
names, paths etc according to your setup of course :)

?xml version='1.0' encoding='utf-8'?
Context ... 
...
  Resource auth=Container name=jdbc/yourDatasourceName
type=javax.sql.DataSource/
  ResourceParams name=jdbc/yourDatasourceName
parameter
  nameurl/name
  valuejdbc:mysql://localhost:3306/daxcolog?autoReconnect=true/value
/parameter
parameter
  namemaxIdle/name
  value15/value
/parameter
parameter
  namemaxActive/name
  value50/value
/parameter
parameter
  namedriverClassName/name
  valuecom.mysql.jdbc.Driver/value
/parameter
parameter
  namemaxWait/name
  value1/value
/parameter
parameter
  nameremoveAbandoned/name
  valuetrue/value
/parameter
parameter
  nameusername/name
  valuedbUsername/value
/parameter
parameter
  namefactory/name
  valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
parameter
  nameremoveAbandonedTimeout/name
  value60/value
/parameter
parameter
  namepassword/name
  valuedbPassword/value
/parameter
  /ResourceParams
/Context

the following two methods illustrate how to retrieve the session from the
context afterwards. NOTE: these are quite old as i have been using hibernate
for quite some time now, so use them as a general guideline only!

private Connection connect() {
  Connection conn = null;

try {
Context ctx = new InitialContext();

if (ctx == null) {
throw new Exception(
BaseTable.connect() -- Could not get Database
Context);
}

DataSource ds = (DataSource)
ctx.lookup(java:comp/env/jdbc/yourDatasourceName);

if (ds != null) {
conn = ds.getConnection();
}
} catch (Exception e) {
logger.error( Connection error! , e);
}

return conn;
}

private void disconnect(Connection conn) {
try {
java.sql.SQLWarning sqlw = conn.getWarnings();

while (sqlw != null) {
logger.error( SQL Warnings:  + 
   sqlw);
sqlw = sqlw.getNextWarning();
}

conn.close();
} catch (Exception e) {
logger.error( Error closing connection , e);
}

conn = null;
}

there are several good tutorials on this topic as well (just google or look
at either the tomcat or mysql driver manual) and i would highly recommend
looking into them, especially to ensure that you are closing every statement
and connection and that connections are correctly returned to the pool...

hth, jan

 -Original Message-
 From: Krishnakant Mane [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, December 19, 2004 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: tomcat problem related connection pooling help needed
 
 
 hello Jan and other friends,
 I read the mail that was sent as a reply for my
 problem.
 thanks jan for ur valuable help.
 I must mention that I am new to the jdbc stuff.  so I
 could not figure out the connection pooling issue.  I 
 understand that with pooling I can have live objects of say 
 connection objects that I can use as a pool and that tomcat 
 can send them when needed. but I don't exactly know how

Help needed in configuring JTA with Tomcat 5

2004-12-11 Thread Anirban Konar
We need to use JTA in Apache Tomcat server. 

Does anybody have the steps to configure Tomcat to use JTA?

 

We tried few diff ways - for ex: using Tyrex jar file, but not getting
the result.

 

Thanks,

Anirban Konar. 

 



Information transmitted by this EMAIL is proprietary to iGATE Group of 
Companies and is intended for use only by the individual or entity to whom it 
is addressed and may contain information that is privileged, confidential, or 
exempt from disclosure under applicable law. If you are not the intended 
recipient of this EMAIL immediately notify the sender at iGATE or [EMAIL 
PROTECTED] and delete this EMAIL including any attachments.


One urgent help needed

2004-10-08 Thread Pradeep Chauhan
Hi All ,

We have an application deployed on Tomcat 4.1.27 in production.

We did some changes in web.xml to use one third party Applinx.

In development enviorment it is working fine.
But when we move to same web.xml to production we got errors in log file and
application wont get up.

Attach is the Web.xml and Log file having error.

Please provide few tips to resolve this issue.

Regards,
Pradeep Chauhan
2004-10-08 17:38:26 WebappLoader[/admin]: Deploying class repositories to work 
directory C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\admin
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\classes
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\lib\struts.jar
2004-10-08 17:38:30 ContextConfig[/admin]: Configured an authenticator for method FORM
2004-10-08 17:38:30 StandardManager[/admin]: Seeding random number generator class 
java.security.SecureRandom
2004-10-08 17:38:30 StandardManager[/admin]: Seeding of random number generator has 
been completed
2004-10-08 17:38:30 StandardWrapper[/admin:applinx]: Marking servlet applinx as 
unavailable
2004-10-08 17:38:30 StandardContext[/admin]: Servlet /admin threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class 
com.sabratec.applinx.server.runtime.servlet.GXApplinxServlet or a class it depends on
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 

Re: One urgent help needed

2004-10-08 Thread Michiel Toneman
Hi Pradeep,
Looks like your tomcat installation cannot find: 
com.sabratec.applinx.server.runtime.servlet.GXApplinxServlet
Are you sure the jar containing GXApplinxServlet is in a place Tomcat 
can find it? (e.g. shared\lib ?)

Michiel
Pradeep Chauhan wrote:
Hi All ,
We have an application deployed on Tomcat 4.1.27 in production.
We did some changes in web.xml to use one third party Applinx.
In development enviorment it is working fine.
But when we move to same web.xml to production we got errors in log file and
application wont get up.
Attach is the Web.xml and Log file having error.
Please provide few tips to resolve this issue.
Regards,
Pradeep Chauhan
 


2004-10-08 17:38:26 WebappLoader[/admin]: Deploying class repositories to work 
directory C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\admin
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\classes
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\lib\struts.jar
2004-10-08 17:38:30 ContextConfig[/admin]: Configured an authenticator for method FORM
2004-10-08 17:38:30 StandardManager[/admin]: Seeding random number generator class 
java.security.SecureRandom
2004-10-08 17:38:30 StandardManager[/admin]: Seeding of random number generator has 
been completed
2004-10-08 17:38:30 StandardWrapper[/admin:applinx]: Marking servlet applinx as 
unavailable
2004-10-08 17:38:30 StandardContext[/admin]: Servlet /admin threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class 
com.sabratec.applinx.server.runtime.servlet.GXApplinxServlet or a class it depends on
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
   

hi newbie question----help needed

2004-07-22 Thread Jeyakumaran.C
Hi,
I am newbie to JSP and tomcat.
I tried to write the MyFirstServlet class and failed to do so.

problem1
when I tried to change the port 8080 to 80 in the server.xml then Mozila
browser refuses to open the tomcat welcome page.(But the book I refer
says to change the port).

I compile and did every thing according to the book. But still it gives 

The requested resource
(/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet) is not
available.

what could be the reason. I went through the previous mail and didn't
get any help.
All the spellings are correct(including cases as I use Linux)
The book stated no need to have web.xml for simple servlets.

Thank you for your great suggestion.

regards,
Jeyakumaran


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



Re: hi newbie question----help needed

2004-07-22 Thread Thilo Krawietz
Hi,
are sure your tomcat's running at all? You know, that in order to run 
tomcat on port 80, you have to start it with root privileges!
Check this out by running netstat -l . This lists you all open ports on 
your system

Regards,
Thilo
Hi,
I am newbie to JSP and tomcat.
I tried to write the MyFirstServlet class and failed to do so.
problem1
when I tried to change the port 8080 to 80 in the server.xml then Mozila
browser refuses to open the tomcat welcome page.(But the book I refer
says to change the port).
I compile and did every thing according to the book. But still it gives 

The requested resource
(/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet) is not
available.
what could be the reason. I went through the previous mail and didn't
get any help.
All the spellings are correct(including cases as I use Linux)
The book stated no need to have web.xml for simple servlets.
Thank you for your great suggestion.
regards,
Jeyakumaran
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


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


RE: hi newbie question----help needed

2004-07-22 Thread Shapira, Yoav
Hi,
Don't trust books blindly.  Even when correct, they're often obsolete.

The advice about port 80 is true on unix systems.  Stick to 8080 for now
for simplicity.

And don't rely on the invoker servlet:
http://jakarta.apache.org/tomcat/faq/misc.html#invoker


Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Thilo Krawietz [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 4:44 AM
To: Tomcat Users List
Subject: Re: hi newbie questionhelp needed

Hi,

are sure your tomcat's running at all? You know, that in order to run
tomcat on port 80, you have to start it with root privileges!
Check this out by running netstat -l . This lists you all open ports on
your system

Regards,

Thilo

Hi,
I am newbie to JSP and tomcat.
I tried to write the MyFirstServlet class and failed to do so.

problem1
when I tried to change the port 8080 to 80 in the server.xml then
Mozila
browser refuses to open the tomcat welcome page.(But the book I refer
says to change the port).

I compile and did every thing according to the book. But still it
gives

The requested resource
(/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet) is
not
available.

what could be the reason. I went through the previous mail and didn't
get any help.
All the spellings are correct(including cases as I use Linux)
The book stated no need to have web.xml for simple servlets.

Thank you for your great suggestion.

regards,
Jeyakumaran


-
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]


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



help needed...........

2004-05-28 Thread Rahul Bhardwaj
hi all!
we have a project requirement where in we have to use tomcat 4.1 along with
win2k japanese version. wat all changes i have to make in tomcat for this.
we will have JSP and java beans. database will be oracle 9i.



warm rgds,
Rahul Bhardwaj


--- NOTICE
  
This email and any files transmitted with it are confidential and are solely
for the use of the individual or entity to which it is addressed. Any use,
distribution, copying or disclosure by any other person is strictly
prohibited. If you receive this transmission in error, please notify the
sender by reply email and then destroy the message. Opinions, conclusions
and other information in this message that do not relate to official
business of NIIT shall be understood to be neither given nor endorsed by
NIIT. Any information contained in this email, when addressed to NIIT
Clients is subject to the terms and conditions in governing client contract.

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



RE: Tomcat Hung!!! Help needed

2004-05-26 Thread Ryan Lissack
Hi Emerson,

Yep, for some reason I did think you were the original poster ;)

I do not think there would be any benefit by setting this in your case.

Regards,
Ryan.

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: 25 May 2004 18:10
To: Tomcat Users List
Subject: Re: Tomcat Hung!!! Help needed


actually, my problem is memory consuming, I think you thought I had 
questioned first :) I'm using suse 9.1, does this export help in 
something in my case?

thaks
Emerson


Ryan Lissack wrote:
 Hi,
 
 Yes it will more than likely fix your problem.  It is a problem with
RedHat
 9 and NPTL.  Search the archives for further information.
 
 Also you are probably better off using the following:
 
 export LD_ASSUME_KERNEL=2.4.1
 
 Ryan.
 
 
 -Original Message-
 From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
 Sent: 25 May 2004 17:28
 To: Tomcat Users List
 Subject: Re: Tomcat Hung!!! Help needed
 
 
 my kernel is 2.4.21-99, does help using this export? :)
 
 
 Zsolt Koppany wrote:
 
Did you try:

export LD_ASSUME_KERNEL=2.2.5

... start tomcat now

Zsolt



-Original Message-
From: Innovest Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 6:08 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Hung!!! Help needed


hello all,

Currently, I have Tomcat 4.1.30 running on Linux
Redhat 9, using jdk 1.4.2_03. It is now running live
and every day it will hang at least once. We are
unable to see any error message in the log file. The
site is having a hit of 20 request per second with
most of the requests need the database connection.

I did a thread dump before the tomcat hangs, but it is
too big to be displayed here.

I can post any more info upon request. Any help???
Thanks

Here is part of the server.xml:

Connector
className=org.apache.coyote.tomcat4.CoyoteConnector
acceptCount=150 bufferSize=2048 compression=off
connectionLinger=-1 connectionTimeout=2
connectionUploadTimeout=30 debug=0
disableUploadTimeout=true enableLookups=false
maxKeepAliveRequests=100 maxProcessors=150
minProcessors=50 port=80
protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol
proxyPort=0 redirectPort=8443 scheme=http
secure=false serverSocketTimeout=0
tcpNoDelay=true useURIValidationHack=false
 Factory
className=org.apache.catalina.net.DefaultServerSocketFactory
/ 
 /Connector

innovest



 
 
__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-
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]


 
 
 


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

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

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



RE: Tomcat Hung!!! Help needed

2004-05-25 Thread Zsolt Koppany
Did you try:

export LD_ASSUME_KERNEL=2.2.5

... start tomcat now

Zsolt

 -Original Message-
 From: Innovest Ken [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 25, 2004 6:08 AM
 To: [EMAIL PROTECTED]
 Subject: Tomcat Hung!!! Help needed
 
 
 hello all,
 
 Currently, I have Tomcat 4.1.30 running on Linux
 Redhat 9, using jdk 1.4.2_03. It is now running live
 and every day it will hang at least once. We are
 unable to see any error message in the log file. The
 site is having a hit of 20 request per second with
 most of the requests need the database connection.
 
 I did a thread dump before the tomcat hangs, but it is
 too big to be displayed here.
 
 I can post any more info upon request. Any help???
 Thanks
 
 Here is part of the server.xml:
 
 Connector
 className=org.apache.coyote.tomcat4.CoyoteConnector
 acceptCount=150 bufferSize=2048 compression=off
 connectionLinger=-1 connectionTimeout=2
 connectionUploadTimeout=30 debug=0
 disableUploadTimeout=true enableLookups=false
 maxKeepAliveRequests=100 maxProcessors=150
 minProcessors=50 port=80
 protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol
 proxyPort=0 redirectPort=8443 scheme=http
 secure=false serverSocketTimeout=0
 tcpNoDelay=true useURIValidationHack=false
   Factory
 className=org.apache.catalina.net.DefaultServerSocketFactory
 / 
   /Connector
 
 innovest
 
 
 
   
   
 __
 Do you Yahoo!?
 Friends.  Fun.  Try the all-new Yahoo! Messenger.
 http://messenger.yahoo.com/ 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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



RE: Tomcat Hung!!! Help needed

2004-05-25 Thread Innovest Ken
Yes, I did put in the export command... Thanks for
your input

Innovest
--- Zsolt Koppany [EMAIL PROTECTED] wrote:
 Did you try:
 
 export LD_ASSUME_KERNEL=2.2.5
 
 ... start tomcat now
 
 Zsolt
 
  -Original Message-
  From: Innovest Ken [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, May 25, 2004 6:08 AM
  To: [EMAIL PROTECTED]
  Subject: Tomcat Hung!!! Help needed
  
  
  hello all,
  
  Currently, I have Tomcat 4.1.30 running on Linux
  Redhat 9, using jdk 1.4.2_03. It is now running
 live
  and every day it will hang at least once. We are
  unable to see any error message in the log file.
 The
  site is having a hit of 20 request per second with
  most of the requests need the database connection.
  
  I did a thread dump before the tomcat hangs, but
 it is
  too big to be displayed here.
  
  I can post any more info upon request. Any help???
  Thanks
  
  Here is part of the server.xml:
  
  Connector
 

className=org.apache.coyote.tomcat4.CoyoteConnector
  acceptCount=150 bufferSize=2048
 compression=off
  connectionLinger=-1 connectionTimeout=2
  connectionUploadTimeout=30 debug=0
  disableUploadTimeout=true enableLookups=false
  maxKeepAliveRequests=100 maxProcessors=150
  minProcessors=50 port=80
 

protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol
  proxyPort=0 redirectPort=8443 scheme=http
  secure=false serverSocketTimeout=0
  tcpNoDelay=true useURIValidationHack=false
Factory
 

className=org.apache.catalina.net.DefaultServerSocketFactory
  / 
/Connector
  
  innovest
  
  
  
  
  
  __
  Do you Yahoo!?
  Friends.  Fun.  Try the all-new Yahoo! Messenger.
  http://messenger.yahoo.com/ 
  
 

-
  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]
 





__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Re: Tomcat Hung!!! Help needed

2004-05-25 Thread Emerson Cargnin
my kernel is 2.4.21-99, does help using this export? :)
Zsolt Koppany wrote:
Did you try:
export LD_ASSUME_KERNEL=2.2.5
... start tomcat now
Zsolt

-Original Message-
From: Innovest Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 6:08 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Hung!!! Help needed
hello all,
Currently, I have Tomcat 4.1.30 running on Linux
Redhat 9, using jdk 1.4.2_03. It is now running live
and every day it will hang at least once. We are
unable to see any error message in the log file. The
site is having a hit of 20 request per second with
most of the requests need the database connection.
I did a thread dump before the tomcat hangs, but it is
too big to be displayed here.
I can post any more info upon request. Any help???
Thanks
Here is part of the server.xml:
Connector
className=org.apache.coyote.tomcat4.CoyoteConnector
acceptCount=150 bufferSize=2048 compression=off
connectionLinger=-1 connectionTimeout=2
connectionUploadTimeout=30 debug=0
disableUploadTimeout=true enableLookups=false
maxKeepAliveRequests=100 maxProcessors=150
minProcessors=50 port=80
protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol
proxyPort=0 redirectPort=8443 scheme=http
secure=false serverSocketTimeout=0
tcpNoDelay=true useURIValidationHack=false
 Factory
className=org.apache.catalina.net.DefaultServerSocketFactory
/ 
 /Connector

innovest

	
		
__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-
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]


--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat Hung!!! Help needed

2004-05-25 Thread Ryan Lissack
Hi,

Yes it will more than likely fix your problem.  It is a problem with RedHat
9 and NPTL.  Search the archives for further information.

Also you are probably better off using the following:

export LD_ASSUME_KERNEL=2.4.1

Ryan.


-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: 25 May 2004 17:28
To: Tomcat Users List
Subject: Re: Tomcat Hung!!! Help needed


my kernel is 2.4.21-99, does help using this export? :)


Zsolt Koppany wrote:
 Did you try:
 
 export LD_ASSUME_KERNEL=2.2.5
 
 ... start tomcat now
 
 Zsolt
 
 
-Original Message-
From: Innovest Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 6:08 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Hung!!! Help needed


hello all,

Currently, I have Tomcat 4.1.30 running on Linux
Redhat 9, using jdk 1.4.2_03. It is now running live
and every day it will hang at least once. We are
unable to see any error message in the log file. The
site is having a hit of 20 request per second with
most of the requests need the database connection.

I did a thread dump before the tomcat hangs, but it is
too big to be displayed here.

I can post any more info upon request. Any help???
Thanks

Here is part of the server.xml:

Connector
className=org.apache.coyote.tomcat4.CoyoteConnector
acceptCount=150 bufferSize=2048 compression=off
connectionLinger=-1 connectionTimeout=2
connectionUploadTimeout=30 debug=0
disableUploadTimeout=true enableLookups=false
maxKeepAliveRequests=100 maxProcessors=150
minProcessors=50 port=80
protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol
proxyPort=0 redirectPort=8443 scheme=http
secure=false serverSocketTimeout=0
tcpNoDelay=true useURIValidationHack=false
  Factory
className=org.apache.catalina.net.DefaultServerSocketFactory
/ 
  /Connector

innovest



  
  
__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-
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]
 
 


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

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

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



Re: Tomcat Hung!!! Help needed

2004-05-25 Thread Emerson Cargnin
actually, my problem is memory consuming, I think you thought I had 
questioned first :) I'm using suse 9.1, does this export help in 
something in my case?

thaks
Emerson
Ryan Lissack wrote:
Hi,
Yes it will more than likely fix your problem.  It is a problem with RedHat
9 and NPTL.  Search the archives for further information.
Also you are probably better off using the following:
export LD_ASSUME_KERNEL=2.4.1
Ryan.
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: 25 May 2004 17:28
To: Tomcat Users List
Subject: Re: Tomcat Hung!!! Help needed
my kernel is 2.4.21-99, does help using this export? :)
Zsolt Koppany wrote:
Did you try:
export LD_ASSUME_KERNEL=2.2.5
... start tomcat now
Zsolt

-Original Message-
From: Innovest Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 6:08 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Hung!!! Help needed
hello all,
Currently, I have Tomcat 4.1.30 running on Linux
Redhat 9, using jdk 1.4.2_03. It is now running live
and every day it will hang at least once. We are
unable to see any error message in the log file. The
site is having a hit of 20 request per second with
most of the requests need the database connection.
I did a thread dump before the tomcat hangs, but it is
too big to be displayed here.
I can post any more info upon request. Any help???
Thanks
Here is part of the server.xml:
Connector
className=org.apache.coyote.tomcat4.CoyoteConnector
acceptCount=150 bufferSize=2048 compression=off
connectionLinger=-1 connectionTimeout=2
connectionUploadTimeout=30 debug=0
disableUploadTimeout=true enableLookups=false
maxKeepAliveRequests=100 maxProcessors=150
minProcessors=50 port=80
protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol
proxyPort=0 redirectPort=8443 scheme=http
secure=false serverSocketTimeout=0
tcpNoDelay=true useURIValidationHack=false
Factory
className=org.apache.catalina.net.DefaultServerSocketFactory
/ 
/Connector

innovest

	
		
__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-
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]




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat Hung!!! Help needed

2004-05-24 Thread Innovest Ken
hello all,

Currently, I have Tomcat 4.1.30 running on Linux
Redhat 9, using jdk 1.4.2_03. It is now running live
and every day it will hang at least once. We are
unable to see any error message in the log file. The
site is having a hit of 20 request per second with
most of the requests need the database connection.

I did a thread dump before the tomcat hangs, but it is
too big to be displayed here.

I can post any more info upon request. Any help???
Thanks

Here is part of the server.xml:

Connector
className=org.apache.coyote.tomcat4.CoyoteConnector
acceptCount=150 bufferSize=2048 compression=off
connectionLinger=-1 connectionTimeout=2
connectionUploadTimeout=30 debug=0
disableUploadTimeout=true enableLookups=false
maxKeepAliveRequests=100 maxProcessors=150
minProcessors=50 port=80
protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol
proxyPort=0 redirectPort=8443 scheme=http
secure=false serverSocketTimeout=0
tcpNoDelay=true useURIValidationHack=false
  Factory
className=org.apache.catalina.net.DefaultServerSocketFactory
/ 
  /Connector

innovest





__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Tomcat and JK2 config help needed

2004-05-07 Thread Raymond Blum
I have been trying to get the isapi_redirector2.dll working, but  
without much luck.  As the docs are pretty poor, I have gone through  
several people's accounts of their configs but no luck.  So, I am  
posting the config and environment with the hope that someone sees a  
problem or can point me at a good path to investigate.

**ENVIRONMENT
My server is Win2K
Webserver is IIS 5
Tomcat 5.0.19 running as a service
I have tried the binary for the latest JK2 (2.0.4) and the prior  
version, same results.

***PROBLEM
When I access jsp-examples directly from tomcat (i.e. specifying the  
tomcat http port), it works fine.
When I try to access it via XXX.XXX.XXX.XXX/jsp-examples  I get the  
message
The Handle is Invalid

**OTHER ERROR INFO
There are no messages in the Event log and the only messages I have  
ever seen in the jk2.log is the message Initializing log file  
c:/tomcat/logs/iis_jk2.log
The web server logs indicate a status code of 500 on a request to the  
redirector DLL.
Nothing in the Tomcat logs.
The work/jk2.shm file is created

**CONFIG
I have set up a virtual directory named jakarta, it points to  
c:\tomcat\bin\win32\i386  exec permission was specified when creating  
it
I have set up an ISAPI filter on the web server it points to the  
redirector DLL in the dir  c:\tomcat\bin\win32\i386
my c:\tomcat\conf/jk2.conf file is all comments (#)
my c:\tomcat\conf\workers2.properties file (until the )
[logger.file:0]
level=DEBUG
file=c:/tomcat/logs/iis_jk2.log

[shm:]
info=shared mem file
file=c:\tomcat\work\jk2.shm
size=100
#[ajp13:localhost:8009]
#info=ajp13
#channel=channel.socket:localhost:8009
[channel.socket:127.0.0.1:8009]
info=Ajp13 worker
tomcatId=localhost:8009
[uri:/servlets-examples/*]
info=Tomcat 5 servlet examples
[uri:/jsp-examples/*]
info=Tomcat 5 JSP examples
## END OF PROPERTIES FILE ##
My relevant registry settings...
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi  
Redirector]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi  
Redirector\2.0]
serverRoot=C:\\tomcat
extensionUri=/jakarta/isapi_redirector2.dll
workersFile=C:\\tomcat\\conf\\workers2.properties
logLevel=DEBUG

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\5.0]
InstallPath=c:\\tomcat
Version=5.0.19
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service  
Manager]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service  
Manager\Tomcat5]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service  
Manager\Tomcat5\Parameters]
Arguments=java
Description=Apache Tomcat 5.0.19 Server -  
http://jakarta.apache.org/tomcat/;
DisplayName=Apache Tomcat
ImagePath=c:\\tomcat\\bin\\bootstrap.jar
Java=java
StartupClass=org.apache.catalina.startup.Bootstrap;main;start
ShutdownClass=org.apache.catalina.startup.Bootstrap;main;stop
Startup=manual
JavaOptions=hex(7): 
2d,00,44,00,63,00,61,00,74,00,61,00,6c,00,69,00,6e,00,61,\
   
00,2e,00,68,00,6f,00,6d,00,65,00,3d,00,22,00,63,00,3a,00,5c,00,74,00,6f, 
00,\
   
6d,00,63,00,61,00,74,00,22,00,00,00,2d,00,44,00,6a,00,61,00,76,00,61,00, 
2e,\
   
00,65,00,6e,00,64,00,6f,00,72,00,73,00,65,00,64,00,2e,00,64,00,69,00,72, 
00,\
   
73,00,3d,00,22,00,63,00,3a,00,5c,00,74,00,6f,00,6d,00,63,00,61,00,74,00, 
5c,\
   
00,63,00,6f,00,6d,00,6d,00,6f,00,6e,00,5c,00,65,00,6e,00,64,00,6f,00,72, 
00,\
  73,00,65,00,64,00,22,00,00,00,2d,00,58,00,72,00,73,00,00,00,00,00
WorkingPath=c:\\tomcat
StdOutputFile=c:\\tomcat\\logs\\stdout.log
StdErrorFile=c:\\tomcat\\logs\\stderr.log
## END OF REG FILE ###

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


Re: help needed - keytool import of CA certs

2004-04-13 Thread Robert Hall
Thanks, Bill.  I need to get better at digging through the archives ;-)  
Robert

Bill Barker wrote:

3. What else is needed in addition to an existing server cert file if
you don't have to go
   through the CSR process?
   

If you used keytool to generate the original CSR, then you have to import
your cert into the same keystore that you used to generate the CSR.
Otherwise you need to import your private key as well.  This comes up every
couple of weeks like clockwork, so you'll find plenty of pointers in the
archives :).


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


help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
I've been floundering for too many hours/days having ventured into the
java/keytool/keystore/CAcert realm for the first time to produce a
CA signed certificate for JBoss/Tomcat.
We have a Verisign/RSA cert, hostname.crt that produces the following when
imported using 'keytool':
$ keytool -import -trustcacerts -file hostname.crt -keystore 
hostname.keystore
Enter keystore password:  secret
Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of 
California, Berkeley, L=Berkeley, ST=California, C=US
Issuer: OU=Secure Server Certification Authority, O=RSA Data Security, 
Inc., C=US
Serial number: 63ba7416f9d061ad65db8b61554bd8c3
Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59 PDT 2004
Certificate fingerprints:
MD5:  05:A7:B1:17:6B:C2:0B:FA:9A:B9:80:22:6A:B0:96:6B
SHA1: B9:34:D0:58:C4:9C:01:CD:C1:05:D9:FD:C1:D1:45:43:E3:6C:17:1A
Trust this certificate? [no]:  yes
Certificate was added to keystore

And if you're still reading, some questions:

1. Should the Trust this certificate? prompt appear if a corresponding 
CA cert entry
   exists in $JAVA_HOME/jre/lib/security/cacerts ?

2.  Is it necessary to go through the CSR (Certificate Signing Request) 
process when
you already have a server cert file?

3. What else is needed in addition to an existing server cert file if 
you don't have to go
   through the CSR process?

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


RE: help needed - keytool import of CA certs

2004-04-12 Thread D'Alessandro, Arthur
Robert,
First thing, tomcat looks for the users home folder of whom is running
tomcat for .keystore, if this is not available, or you wish to move the
keystore, you can state so in the Connector within server.xml

Another thing, the password defaults to 'changeit', if you wish to have
an alternative password, you will need to specify again within the
connector element.

Third, you appear to be using the trustcacerts, is the cert you specify
in hostname.crt the CA root cert (local CA) or the signed certificate?
From your description, I assume it is the signed valid cert from
Verisign.

Off the top of my head, I don't remember the need for the
'-trustcacerts'

This is a good site that may help as well:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
 

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 6:56 PM
To: Tomcat Users List
Subject: help needed - keytool import of CA certs

I've been floundering for too many hours/days having ventured into the
java/keytool/keystore/CAcert realm for the first time to produce a
CA signed certificate for JBoss/Tomcat.

We have a Verisign/RSA cert, hostname.crt that produces the following
when
imported using 'keytool':

$ keytool -import -trustcacerts -file hostname.crt -keystore 
hostname.keystore
Enter keystore password:  secret
Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of 
California, Berkeley, L=Berkeley, ST=California, C=US
Issuer: OU=Secure Server Certification Authority, O=RSA Data Security, 
Inc., C=US
Serial number: 63ba7416f9d061ad65db8b61554bd8c3
Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59 PDT
2004
Certificate fingerprints:
 MD5:  05:A7:B1:17:6B:C2:0B:FA:9A:B9:80:22:6A:B0:96:6B
 SHA1:
B9:34:D0:58:C4:9C:01:CD:C1:05:D9:FD:C1:D1:45:43:E3:6C:17:1A
Trust this certificate? [no]:  yes
Certificate was added to keystore

And if you're still reading, some questions:

1. Should the Trust this certificate? prompt appear if a corresponding

CA cert entry
exists in $JAVA_HOME/jre/lib/security/cacerts ?

2.  Is it necessary to go through the CSR (Certificate Signing Request) 
process when
 you already have a server cert file?

3. What else is needed in addition to an existing server cert file if 
you don't have to go
through the CSR process?

Thanks,
Robert


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




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



Re: help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
Arthur,

Thanks for the reply.  Yes, the hostname.crt file is a signed certificate.
I've tried importing both with and without the -trustcacerts parameter,
the imports are successful, but I get the following exception in
JBoss-3.2.3/Tomcat-4.1.29:
16:23:59,561 ERROR [PoolTcpEndpoint] Endpoint [SSL: 
ServerSocket[addr=/0.0.0.0,port=0,localport=8753]] ignored exception: 
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: 
No available certificate
corresponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: 
No available certificate
corresponds to the SSL cipher suites which are enabled.
   at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:152)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:387)
   at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:569)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
   at java.lang.Thread.run(Thread.java:536)

Thanks,
Robert
D'Alessandro, Arthur wrote:

Robert,
First thing, tomcat looks for the users home folder of whom is running
tomcat for .keystore, if this is not available, or you wish to move the
keystore, you can state so in the Connector within server.xml
Another thing, the password defaults to 'changeit', if you wish to have
an alternative password, you will need to specify again within the
connector element.
Third, you appear to be using the trustcacerts, is the cert you specify
in hostname.crt the CA root cert (local CA) or the signed certificate?
From your description, I assume it is the signed valid cert from
Verisign.

Off the top of my head, I don't remember the need for the
'-trustcacerts'
This is a good site that may help as well:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 6:56 PM
To: Tomcat Users List
Subject: help needed - keytool import of CA certs

I've been floundering for too many hours/days having ventured into the
java/keytool/keystore/CAcert realm for the first time to produce a
CA signed certificate for JBoss/Tomcat.
We have a Verisign/RSA cert, hostname.crt that produces the following
when
imported using 'keytool':
$ keytool -import -trustcacerts -file hostname.crt -keystore 
hostname.keystore
Enter keystore password:  secret
Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of 
California, Berkeley, L=Berkeley, ST=California, C=US
Issuer: OU=Secure Server Certification Authority, O=RSA Data Security, 
Inc., C=US
Serial number: 63ba7416f9d061ad65db8b61554bd8c3
Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59 PDT
2004
Certificate fingerprints:
MD5:  05:A7:B1:17:6B:C2:0B:FA:9A:B9:80:22:6A:B0:96:6B
SHA1:
B9:34:D0:58:C4:9C:01:CD:C1:05:D9:FD:C1:D1:45:43:E3:6C:17:1A
Trust this certificate? [no]:  yes
Certificate was added to keystore

And if you're still reading, some questions:

1. Should the Trust this certificate? prompt appear if a corresponding

CA cert entry
   exists in $JAVA_HOME/jre/lib/security/cacerts ?
2.  Is it necessary to go through the CSR (Certificate Signing Request) 
process when
you already have a server cert file?

3. What else is needed in addition to an existing server cert file if 
you don't have to go
   through the CSR process?

Thanks,
Robert
-
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]
 



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


RE: help needed - keytool import of CA certs

2004-04-12 Thread D'Alessandro, Arthur
I'm not too familiar with Jboss, is it within tomcat?  If so, what does
your server.xml connector snippplet look like? 

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 8:06 PM
To: Tomcat Users List
Subject: Re: help needed - keytool import of CA certs

Arthur,

Thanks for the reply.  Yes, the hostname.crt file is a signed
certificate.
I've tried importing both with and without the -trustcacerts parameter,
the imports are successful, but I get the following exception in
JBoss-3.2.3/Tomcat-4.1.29:

16:23:59,561 ERROR [PoolTcpEndpoint] Endpoint [SSL: 
ServerSocket[addr=/0.0.0.0,port=0,localport=8753]] ignored exception: 
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException:

No available certificate
corresponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException:

No available certificate
corresponds to the SSL cipher suites which are enabled.
at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocke
tFactory.java:152)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:387)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
9)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:677)
at java.lang.Thread.run(Thread.java:536)

Thanks,
Robert

D'Alessandro, Arthur wrote:

Robert,
First thing, tomcat looks for the users home folder of whom is running
tomcat for .keystore, if this is not available, or you wish to move the
keystore, you can state so in the Connector within server.xml

Another thing, the password defaults to 'changeit', if you wish to have
an alternative password, you will need to specify again within the
connector element.

Third, you appear to be using the trustcacerts, is the cert you specify
in hostname.crt the CA root cert (local CA) or the signed certificate?
From your description, I assume it is the signed valid cert from
Verisign.

Off the top of my head, I don't remember the need for the
'-trustcacerts'

This is a good site that may help as well:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
 

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 6:56 PM
To: Tomcat Users List
Subject: help needed - keytool import of CA certs

I've been floundering for too many hours/days having ventured into the
java/keytool/keystore/CAcert realm for the first time to produce a
CA signed certificate for JBoss/Tomcat.

We have a Verisign/RSA cert, hostname.crt that produces the following
when
imported using 'keytool':

$ keytool -import -trustcacerts -file hostname.crt -keystore 
hostname.keystore
Enter keystore password:  secret
Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of 
California, Berkeley, L=Berkeley, ST=California, C=US
Issuer: OU=Secure Server Certification Authority, O=RSA Data Security,

Inc., C=US
Serial number: 63ba7416f9d061ad65db8b61554bd8c3
Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59 PDT
2004
Certificate fingerprints:
 MD5:  05:A7:B1:17:6B:C2:0B:FA:9A:B9:80:22:6A:B0:96:6B
 SHA1:
B9:34:D0:58:C4:9C:01:CD:C1:05:D9:FD:C1:D1:45:43:E3:6C:17:1A
Trust this certificate? [no]:  yes
Certificate was added to keystore

And if you're still reading, some questions:

1. Should the Trust this certificate? prompt appear if a
corresponding

CA cert entry
exists in $JAVA_HOME/jre/lib/security/cacerts ?

2.  Is it necessary to go through the CSR (Certificate Signing Request)

process when
 you already have a server cert file?

3. What else is needed in addition to an existing server cert file if 
you don't have to go
through the CSR process?

Thanks,
Robert


-
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]


  



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




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



Re: help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
JBoss has Tomcat embedded and it uses jboss-service.xml instead of 
Tomcat's server.xml.
The Connector element:

Connector className = org.apache.coyote.tomcat4.CoyoteConnector
address=${jboss.bind.address} port = 8753 scheme = https
secure = true enableLookups= true
Factory className = 
org.apache.coyote.tomcat4.CoyoteServerSocketFactory
  
SSLImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation
  keystoreFile=${jboss.server.home.dir}/conf/hostname.keystore
  keystorePass=secret
  clientAuth=false
  protocol = TLS/
/Connector

Thanks,
Robert
D'Alessandro, Arthur wrote:

I'm not too familiar with Jboss, is it within tomcat?  If so, what does
your server.xml connector snippplet look like? 

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 8:06 PM
To: Tomcat Users List
Subject: Re: help needed - keytool import of CA certs

Arthur,

Thanks for the reply.  Yes, the hostname.crt file is a signed
certificate.
I've tried importing both with and without the -trustcacerts parameter,
the imports are successful, but I get the following exception in
JBoss-3.2.3/Tomcat-4.1.29:
16:23:59,561 ERROR [PoolTcpEndpoint] Endpoint [SSL: 
ServerSocket[addr=/0.0.0.0,port=0,localport=8753]] ignored exception: 
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException:

No available certificate
corresponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException:
No available certificate
corresponds to the SSL cipher suites which are enabled.
   at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocke
tFactory.java:152)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.
java:387)
   at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
9)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:677)
   at java.lang.Thread.run(Thread.java:536)

Thanks,
Robert
D'Alessandro, Arthur wrote:

 

Robert,
First thing, tomcat looks for the users home folder of whom is running
tomcat for .keystore, if this is not available, or you wish to move the
keystore, you can state so in the Connector within server.xml
Another thing, the password defaults to 'changeit', if you wish to have
an alternative password, you will need to specify again within the
connector element.
Third, you appear to be using the trustcacerts, is the cert you specify
in hostname.crt the CA root cert (local CA) or the signed certificate?
From your description, I assume it is the signed valid cert from
Verisign.

Off the top of my head, I don't remember the need for the
'-trustcacerts'
This is a good site that may help as well:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 6:56 PM
To: Tomcat Users List
Subject: help needed - keytool import of CA certs

I've been floundering for too many hours/days having ventured into the
java/keytool/keystore/CAcert realm for the first time to produce a
CA signed certificate for JBoss/Tomcat.
We have a Verisign/RSA cert, hostname.crt that produces the following
when
imported using 'keytool':
$ keytool -import -trustcacerts -file hostname.crt -keystore 
hostname.keystore
Enter keystore password:  secret
Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of 
California, Berkeley, L=Berkeley, ST=California, C=US
Issuer: OU=Secure Server Certification Authority, O=RSA Data Security,
   

 

Inc., C=US
Serial number: 63ba7416f9d061ad65db8b61554bd8c3
Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59 PDT
2004
Certificate fingerprints:
   MD5:  05:A7:B1:17:6B:C2:0B:FA:9A:B9:80:22:6A:B0:96:6B
   SHA1:
B9:34:D0:58:C4:9C:01:CD:C1:05:D9:FD:C1:D1:45:43:E3:6C:17:1A
Trust this certificate? [no]:  yes
Certificate was added to keystore
And if you're still reading, some questions:

1. Should the Trust this certificate? prompt appear if a
   

corresponding
 

CA cert entry
  exists in $JAVA_HOME/jre/lib/security/cacerts ?
2.  Is it necessary to go through the CSR (Certificate Signing Request)
   

 

process when
   you already have a server cert file?
3. What else is needed in addition to an existing server cert file if 
you don't have to go
  through the CSR process?

Thanks,
Robert
-
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]


   



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

RE: help needed - keytool import of CA certs

2004-04-12 Thread D'Alessandro, Arthur
Have you tried the tc4 org.apache.catalina.net.SSLServerSocketFactory
Connector className = org.apache.coyote.tomcat4.CoyoteConnector
 address=${jboss.bind.address} port = 8753 scheme = https
 secure = true enableLookups= true

 Factory className=org.apache.catalina.net.SSLServerSocketFactory
keystoreFile=${jboss.server.home.dir}/conf/hostname.keystore
keystorePass=secret
clientAuth=false
protocol = TLS/
/Connector
 

The other thing, what does the keystore look like:
keytool -list -v -keystore hostname.keystore

I am not 100% sure if tomcat requires the cert to be inside of an alias
of 'tomcat', that is how the tutorials, and how I've implemented ours.

It's not difficult to copy to another alias
Keytool -keyclone -alias current alias -dest tomcat

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 8:32 PM
To: Tomcat Users List
Subject: Re: help needed - keytool import of CA certs

JBoss has Tomcat embedded and it uses jboss-service.xml instead of 
Tomcat's server.xml.
The Connector element:

Connector className = org.apache.coyote.tomcat4.CoyoteConnector
 address=${jboss.bind.address} port = 8753 scheme = https
 secure = true enableLookups= true
 Factory className = 
org.apache.coyote.tomcat4.CoyoteServerSocketFactory
   
SSLImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation
 
keystoreFile=${jboss.server.home.dir}/conf/hostname.keystore
   keystorePass=secret
   clientAuth=false
   protocol = TLS/
/Connector

Thanks,
Robert

D'Alessandro, Arthur wrote:

I'm not too familiar with Jboss, is it within tomcat?  If so, what does
your server.xml connector snippplet look like? 

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 8:06 PM
To: Tomcat Users List
Subject: Re: help needed - keytool import of CA certs

Arthur,

Thanks for the reply.  Yes, the hostname.crt file is a signed
certificate.
I've tried importing both with and without the -trustcacerts parameter,
the imports are successful, but I get the following exception in
JBoss-3.2.3/Tomcat-4.1.29:

16:23:59,561 ERROR [PoolTcpEndpoint] Endpoint [SSL: 
ServerSocket[addr=/0.0.0.0,port=0,localport=8753]] ignored exception: 
java.net.SocketException: SSL handshake
errorjavax.net.ssl.SSLException:

No available certificate
corresponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake
errorjavax.net.ssl.SSLException:

No available certificate
corresponds to the SSL cipher suites which are enabled.
at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESock
e
tFactory.java:152)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint
.
java:387)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
6
9)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l
.java:677)
at java.lang.Thread.run(Thread.java:536)

Thanks,
Robert

D'Alessandro, Arthur wrote:

  

Robert,
First thing, tomcat looks for the users home folder of whom is running
tomcat for .keystore, if this is not available, or you wish to move
the
keystore, you can state so in the Connector within server.xml

Another thing, the password defaults to 'changeit', if you wish to
have
an alternative password, you will need to specify again within the
connector element.

Third, you appear to be using the trustcacerts, is the cert you
specify
in hostname.crt the CA root cert (local CA) or the signed certificate?
From your description, I assume it is the signed valid cert from
Verisign.

Off the top of my head, I don't remember the need for the
'-trustcacerts'

This is a good site that may help as well:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html


-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 6:56 PM
To: Tomcat Users List
Subject: help needed - keytool import of CA certs

I've been floundering for too many hours/days having ventured into the
java/keytool/keystore/CAcert realm for the first time to produce a
CA signed certificate for JBoss/Tomcat.

We have a Verisign/RSA cert, hostname.crt that produces the following
when
imported using 'keytool':

$ keytool -import -trustcacerts -file hostname.crt -keystore 
hostname.keystore
Enter keystore password:  secret
Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of 
California, Berkeley, L=Berkeley, ST=California, C=US
Issuer: OU=Secure Server Certification Authority, O=RSA Data
Security,



  

Inc., C=US
Serial number: 63ba7416f9d061ad65db8b61554bd8c3
Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59
PDT
2004
Certificate fingerprints:
MD5:  05:A7:B1:17:6B:C2:0B:FA:9A:B9:80:22:6A:B0:96:6B
SHA1:
B9:34:D0:58:C4:9C:01:CD:C1:05:D9:FD:C1:D1:45:43:E3:6C:17:1A
Trust this certificate

Re: help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
No, haven't tried it, but I will.
Thanks, again.
Robert

D'Alessandro, Arthur wrote:

Have you tried the tc4 org.apache.catalina.net.SSLServerSocketFactory
Connector className = org.apache.coyote.tomcat4.CoyoteConnector
address=${jboss.bind.address} port = 8753 scheme = https
secure = true enableLookups= true

Factory className=org.apache.catalina.net.SSLServerSocketFactory
keystoreFile=${jboss.server.home.dir}/conf/hostname.keystore
keystorePass=secret
clientAuth=false
protocol = TLS/
/Connector
The other thing, what does the keystore look like:
keytool -list -v -keystore hostname.keystore
I am not 100% sure if tomcat requires the cert to be inside of an alias
of 'tomcat', that is how the tutorials, and how I've implemented ours.
It's not difficult to copy to another alias
Keytool -keyclone -alias current alias -dest tomcat
-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 8:32 PM
To: Tomcat Users List
Subject: Re: help needed - keytool import of CA certs

JBoss has Tomcat embedded and it uses jboss-service.xml instead of 
Tomcat's server.xml.
The Connector element:

Connector className = org.apache.coyote.tomcat4.CoyoteConnector
address=${jboss.bind.address} port = 8753 scheme = https
secure = true enableLookups= true
Factory className = 
org.apache.coyote.tomcat4.CoyoteServerSocketFactory
  
SSLImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation

keystoreFile=${jboss.server.home.dir}/conf/hostname.keystore
  keystorePass=secret
  clientAuth=false
  protocol = TLS/
/Connector
Thanks,
Robert
D'Alessandro, Arthur wrote:

 

I'm not too familiar with Jboss, is it within tomcat?  If so, what does
your server.xml connector snippplet look like? 

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 8:06 PM
To: Tomcat Users List
Subject: Re: help needed - keytool import of CA certs

Arthur,

Thanks for the reply.  Yes, the hostname.crt file is a signed
certificate.
I've tried importing both with and without the -trustcacerts parameter,
the imports are successful, but I get the following exception in
JBoss-3.2.3/Tomcat-4.1.29:
16:23:59,561 ERROR [PoolTcpEndpoint] Endpoint [SSL: 
ServerSocket[addr=/0.0.0.0,port=0,localport=8753]] ignored exception: 
java.net.SocketException: SSL handshake
   

errorjavax.net.ssl.SSLException:
 

No available certificate
corresponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake
   

errorjavax.net.ssl.SSLException:
 

No available certificate
corresponds to the SSL cipher suites which are enabled.
  at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESock
   

e
 

tFactory.java:152)
  at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint
   

.
 

java:387)
  at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
   

6
 

9)
  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
   

l
 

.java:677)
  at java.lang.Thread.run(Thread.java:536)
Thanks,
Robert
D'Alessandro, Arthur wrote:



   

Robert,
First thing, tomcat looks for the users home folder of whom is running
tomcat for .keystore, if this is not available, or you wish to move
 

the
 

keystore, you can state so in the Connector within server.xml

Another thing, the password defaults to 'changeit', if you wish to
 

have
 

an alternative password, you will need to specify again within the
connector element.
Third, you appear to be using the trustcacerts, is the cert you
 

specify
 

in hostname.crt the CA root cert (local CA) or the signed certificate?
From your description, I assume it is the signed valid cert from
Verisign.

Off the top of my head, I don't remember the need for the
'-trustcacerts'
This is a good site that may help as well:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 6:56 PM
To: Tomcat Users List
Subject: help needed - keytool import of CA certs

I've been floundering for too many hours/days having ventured into the
java/keytool/keystore/CAcert realm for the first time to produce a
CA signed certificate for JBoss/Tomcat.
We have a Verisign/RSA cert, hostname.crt that produces the following
when
imported using 'keytool':
$ keytool -import -trustcacerts -file hostname.crt -keystore 
hostname.keystore
Enter keystore password:  secret
Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of 
California, Berkeley, L=Berkeley, ST=California, C=US
Issuer: OU=Secure Server Certification Authority, O=RSA Data
 

Security,
 

  

 



   

Inc., C=US
Serial number: 63ba7416f9d061ad65db8b61554bd8c3
Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59
 

PDT
 

2004
Certificate fingerprints:
  MD5

Re: help needed - keytool import of CA certs

2004-04-12 Thread Bill Barker

Robert Hall [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I've been floundering for too many hours/days having ventured into the
 java/keytool/keystore/CAcert realm for the first time to produce a
 CA signed certificate for JBoss/Tomcat.

 We have a Verisign/RSA cert, hostname.crt that produces the following when
 imported using 'keytool':

 $ keytool -import -trustcacerts -file hostname.crt -keystore
 hostname.keystore
 Enter keystore password:  secret
 Owner: CN=hostname.berkeley.edu, OU=MY-ORG-UNIT, O=University of
 California, Berkeley, L=Berkeley, ST=California, C=US
 Issuer: OU=Secure Server Certification Authority, O=RSA Data Security,
 Inc., C=US
 Serial number: 63ba7416f9d061ad65db8b61554bd8c3
 Valid from: Wed Aug 13 17:00:00 PDT 2003 until: Fri Aug 13 16:59:59 PDT
2004
 Certificate fingerprints:
  MD5:  05:A7:B1:17:6B:C2:0B:FA:9A:B9:80:22:6A:B0:96:6B
  SHA1: B9:34:D0:58:C4:9C:01:CD:C1:05:D9:FD:C1:D1:45:43:E3:6C:17:1A
 Trust this certificate? [no]:  yes
 Certificate was added to keystore

 And if you're still reading, some questions:

 1. Should the Trust this certificate? prompt appear if a corresponding
 CA cert entry
 exists in $JAVA_HOME/jre/lib/security/cacerts ?

VS uses an intermediate cert to sign yours.  You probably need to import
that one (but I don't feel like looking to see if it is already there :).


 2.  Is it necessary to go through the CSR (Certificate Signing Request)
 process when
  you already have a server cert file?

No.


 3. What else is needed in addition to an existing server cert file if
 you don't have to go
 through the CSR process?

If you used keytool to generate the original CSR, then you have to import
your cert into the same keystore that you used to generate the CSR.
Otherwise you need to import your private key as well.  This comes up every
couple of weeks like clockwork, so you'll find plenty of pointers in the
archives :).

 Thanks,
 Robert




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



Taglibs help needed???

2004-04-10 Thread Kumar, Sumit

Hello All,

I am having some strange problem using taglibs in tomcat 4.1.27 and jdk1.4.
My webapp named 'hris', works well without taglibs. I am using 2.3 dtd which
i refer as http://java.sun.com/j2ee/dtds/web-app_2_3.dtd. 
I have downloaded the taglibs standard library (not standard-1.0) from
apache website and its standard-examples webapp works fine when deployed and
run as a seperate webapp. However if I add the tag-libs tag element in my
hris webapp, the tag-lib does not work. I deployed it as

  taglib
taglib-uri/tag/taglib-uri
taglib-location/WEB-INF/taglibs-input.tld/taglib-location
  /taglib

and in my jsp page use %@ taglib uri=/tag prefix=input %
However I get an error message 
The absolute url /tag cannot be found

I have tried several different ways and no matter what I do, I get the same
error from 'hris' but the standard-examples works ok. I am baffled and
stuck. Any help or suggestions will greatly help.

thanks
-sumit

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



Autoreply: Taglibs help needed???

2004-04-10 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Sat, 10 Apr 2004 15:34:10 -0700
Received: (qmail 61826 invoked by uid 500); 10 Apr 2004 22:33:47 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 61812 invoked from network); 10 Apr 2004 22:33:47 -
Received: from unknown (HELO sogsmtp.sogeti-usa.com) (63.84.243.199)
  by daedalus.apache.org with SMTP; 10 Apr 2004 22:33:47 -
Received: From sogex01.sogeti-usa.com ([10.224.8.15]) by sogsmtp.sogeti-usa.com 
(WebShield SMTP v4.5 MR1a);
id 1081636277125; Sat, 10 Apr 2004 18:31:17 -0400
Received: by SOGEX01 with Internet Mail Service (5.5.2653.19)
id 15BABCYD; Sat, 10 Apr 2004 18:33:44 -0400
Message-ID: [EMAIL PROTECTED]
From: Kumar, Sumit [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Taglibs help needed???
Date: Sat, 10 Apr 2004 18:33:43 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
charset=iso-8859-1
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N


Hello All,

I am having some strange problem using taglibs in tomcat 4.1.27 and jdk1.4.
My webapp named 'hris', works well without taglibs. I am using 2.3 dtd which
i refer as http://java.sun.com/j2ee/dtds/web-app_2_3.dtd. 
I have downloaded the taglibs standard library (not standard-1.0) from
apache website and its standard-examples webapp works fine when deployed and
run as a seperate webapp. However if I add the tag-libs tag element in my
hris webapp, the tag-lib does not work. I deployed it as

  taglib
taglib-uri/tag/taglib-uri
taglib-location/WEB-INF/taglibs-input.tld/taglib-location
  /taglib

and in my jsp page use %@ taglib uri=/tag prefix=input %
However I get an error message 
The absolute url /tag cannot be found

I have tried several different ways and no matter what I do, I get the same
error from 'hris' but the standard-examples works ok. I am baffled and
stuck. Any help or suggestions will greatly help.

thanks
-sumit

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



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



Re: Installation Help Needed

2004-04-01 Thread FRANCOIS Dufour
read on linux site about opening port :server port on the firwall  or change 
the port in the
admin console off tomcatl



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: Josh Rehman [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Installation Help Needed
Date: Wed, 31 Mar 2004 23:04:58 -0800
This is almost certainly because you're running a firewall. It's kind of an 
involved topic, and not one I'm an expert on anyway, so you should check 
out this:

http://www.tldp.org/HOWTO/Firewall-HOWTO.html

Beware: many distros have customized firewall software. Anyway, this isn't 
a tomcat problem.

Stormblade wrote:

Hey all,
Having trouble installing Tomcat 5 on my Linux box. I've installed the
Windows version without any trouble but the Linux one seems not to be
working and I'm not sure why.
I downloaded and installed the JRE and J2SDK. I've set the JAVA_HOME
variable. I installed Tomcat and ran the startup.sh. Everything seemed to
be going fine. Then I tried to access my box from another machine and 
there
is no answer. www.mymachinedomain:8080 doesn't even give me the default
page.
Can someone walk me through this or something? All the installation notes
I've seen weren't very detailed. Any help would be appreciated.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/

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


Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
 Back to basics.

 

 Is it running?

 Look at your processes with something like  ps -ax



As far as I can tell yes. There is a line which I believe indicates 
it's running but it gets cut off and I don't remember how to make it 
word wrap. Re-directing it to a file is worse.

/usr/java/j2sdk1.4.2_04//bin/java -Djava.endorsed.
dirs=/usr/local/jakarta-tomcat-5.0.19/common/endorsed -classpath

 

 Do you have a firewall running?



Yes I use iptables and I run my own customized script. I have opened 
port 8080.

 

 Can you ping the machine?



No because I drop those packets. Part of my firewall script, however, 
this machine is definitely accessible from the outside. Apache is 
running happily there as is a Cold Fusion Application server. I can 
get to my web pages just fine.

 

 Do a  netstat -an  and see if port 8080 is active.



tcp0  0 0.0.0.0:80800.0.0.0:*   
LISTEN 

If I'm reading this right then yes it's active.

 

 Doug



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-

Stormblade (Shaolin Code Warrior)

Software Developer (15+ Years Programming exp.)



My System: http://www.anandtech.com/mysystemrig.html?rigid=1683

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- 
Composed with Newz Crawler 1.7 http://www.newzcrawler.com/


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



Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
 This is almost certainly because you're running a firewall. It's 
kind of 

 an involved topic, and not one I'm an expert on anyway, so you 
should 

 check out this:

 

 http://www.tldp.org/HOWTO/Firewall-HOWTO.html



Thank you for the reply. Yes I am running a firewall but I am 
familiar with it as I have been running it for years. I have opened 
port 8080 as I have other ports when I needed to. 

  Beware: many distros have customized firewall software. Anyway, 
this 

 isn't a tomcat problem.



I run iptables. I suppose it could be a firewall problem, however, I 
am able to run other servers like Apache just fine but yet Tomcat is 
not. Perhaps there is some configuration that I failed to do with 
Tomcat or should it work right out the box with no modifications 
needed?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-

Stormblade (Shaolin Code Warrior)

Software Developer (15+ Years Programming exp.)



My System: http://www.anandtech.com/mysystemrig.html?rigid=1683

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- 
Composed with Newz Crawler 1.7 http://www.newzcrawler.com/


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



Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
Woo almost missed this one cuz it wasn't threaded under the others in 
my newsreader. Anyway, thanks for the reply.

I have opened the port. I have done this for several other 
applications over the years. Games too so I know what I'm doing in 
that respect. However, I'm still not sure about Tomcat. I don't know 
if I configured things correctly or anything like that.

What do you mean change the port in the admin console. The only 
changing of ports I saw was to edit the server.xml file directly 
which I didn't do since port 8080 works just fine for my purposes 
here.

 read on linux site about opening port :server port on the firwall  
or change 

 the port in the

 admin console off tomcatl

 

 

 

 [EMAIL PROTECTED]

 administrateur http://entre-nous.qc.tc





-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-

Stormblade (Shaolin Code Warrior)

Software Developer (15+ Years Programming exp.)



My System: http://www.anandtech.com/mysystemrig.html?rigid=1683

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- 
Composed with Newz Crawler 1.7 http://www.newzcrawler.com/


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



Re: Installation Help Needed

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 12:16:49AM -0500, Stormblade wrote:
: Then I tried to access my box from another machine and there
: is no answer. www.mymachinedomain:8080 doesn't even give me the default
: page.


What's the result of

lsof -i -a -u {tomcat user}

?

-or better still,

lsof -n -i -a -u {tomcat user}  ## show IP addresses

Does that IP address match what your workstation (browser) thinks is
www.mymachinedomain? e.g. do you have some sort of split-domain DNS
going, or a rogue hosts file?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
 On Thu, Apr 01, 2004 at 12:16:49AM -0500, Stormblade wrote:

 : Then I tried to access my box from another machine and there

 : is no answer. www.mymachinedomain:8080 doesn't even give me the 
default

 : page.

 

 

 What's the result of

 

  lsof -i -a -u {tomcat user}

 

 ?

 

 -or better still,

 

  lsof -n -i -a -u {tomcat user}  ## show IP addresses

lsof: can't get UID for {tomcat

lsof 4.63

 latest revision: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/

 latest FAQ: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/FAQ

 latest man page: ftp://vic.cc.purdue.
edu/pub/tools/unix/lsof/lsof_man

 usage: [-?abhlnNoOPRstUvV] [-c c] [+|-d s] [+D D] [+|-f]

 [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+|-M] [-o [o]] [-p s]

 [+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [--] [names]

Use the ``-h'' option to get more help information.



Forgive me but I'm unfamiliar with that command. I typed it exactly 
as you had it above. Copy and paste even.

I did do a lsof -i -a and got a listing. I didn't see tomcat user or 
anything that said tomcat even. Was I supposed to create a tomcat 
user? I installed tomcat from the rpm.

 

 Does that IP address match what your workstation (browser) thinks 
is

 www.mymachinedomain? e.g. do you have some sort of split-domain DNS

 going, or a rogue hosts file?

 

 -QM

 

 -- 

 

 software  -- http://www.brandxdev.net

 tech news -- http://www.RoarNetworX.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-

Stormblade (Shaolin Code Warrior)

Software Developer (15+ Years Programming exp.)



My System: http://www.anandtech.com/mysystemrig.html?rigid=1683

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- 
Composed with Newz Crawler 1.7 http://www.newzcrawler.com/


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



Re: Re: Installation Help Needed

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 10:14:52AM -0500, Stormblade wrote:
: Forgive me but I'm unfamiliar with that command. I typed it exactly 
: as you had it above. Copy and paste even.

For the archives:

lsof is a tool to LiSt Open Files.  It lets admins match a port to a
process, among other things.  Invaluable for troubleshooting.

Back to the original post:

{tomcat user} = use the name of the tomcat process owner ;)
You could also have run:

lsof -i :8080

I should've suggested that instead.


No big deal.  The fact that you didn't see anything is the key:
Tomcat didn't successfully start.

So now it's a matter of digging through the logs.
Look for a file catalina.out


: I did do a lsof -i -a and got a listing. I didn't see tomcat user or 
: anything that said tomcat even. Was I supposed to create a tomcat 
: user? I installed tomcat from the rpm.

I believe the RPM creates a user and group tomcat for you.  


-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
 Back to the original post:

 

 {tomcat user} = use the name of the tomcat process owner ;)

 You could also have run:

 

  lsof -i :8080

 

 I should've suggested that instead.



Doing that I got this:

java19217 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19218 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19219 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19220 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19221 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19222 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19223 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19224 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19225 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19227 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19228 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19229 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19230 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19231 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19232 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19233 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19234 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19235 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19236 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19237 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19238 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19239 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19240 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19241 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19242 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19243 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19244 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19245 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19246 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19247 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19248 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19249 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19250 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19251 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19252 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19253 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19254 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19255 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19256 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19257 root5u  IPv4 811539   TCP *:webcache (LISTEN)

java19258 root5u  IPv4 811539   TCP *:webcache (LISTEN)



 

 No big deal.  The fact that you didn't see anything is the key:

 Tomcat didn't successfully start.

 

 So now it's a matter of digging through the logs.

 Look for a file catalina.out

 



What I did here was this:

1. Ran shutdown.sh

2. Deleted catalina.out

3. Did a touch catalina.out (In case it had issues with it not being 
there)

4. Re-ran startup.sh

Here is the contents of the file now:

Apr 1, 2004 9:35:13 AM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on port 8080

Apr 1, 2004 9:35:13 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 3097 ms

Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.0.19

Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardHost 
getDeployer

INFO: Create Host deployer for direct deployment ( non-jmx ) 

Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardHostDeployer 
install

INFO: Processing Context configuration file URL 
file:/usr/local/jakarta-tomcat-5.0.19/conf/Catalina/localhost/admin.
xml

Apr 1, 2004 9:35:15 AM org.apache.struts.util.
PropertyMessageResources init

INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true

Apr 1, 2004 9:35:15 AM org.apache.struts.util.
PropertyMessageResources init

INFO: Initializing, config='org.apache.struts.action.ActionResources',
 returnNull=true

Apr 1, 2004 9:35:16 AM org.apache.struts.util.
PropertyMessageResources init

INFO: Initializing, config='org.apache.webapp.admin.
ApplicationResources', returnNull=true

Apr 1, 2004 9:35:19 AM org.apache.catalina.core.StandardHostDeployer 
install

INFO: Processing Context configuration file URL 

Re: Re: Re: Installation Help Needed

2004-04-01 Thread QM
On Thu, Apr 01, 2004 at 11:07:21AM -0500, Stormblade wrote:
: java19217 root5u  IPv4 811539   TCP *:webcache (LISTEN)

OK, so Tomcat is up and listening.
(I'll assume that webcache = 8080; that's for you to confirm.)


Next step: from the Tomcat host, try to interact with the port.
Use Lynx if it's available; otherwise send raw HTTP requests to the
port, e.g. telnet localhost 8080

Don't worry about specifying valid webapp paths and such: IIRC tomcat 
doesn't even send an error page when you connect from the browser,
right?


If that works -- even a tomcat error page -- try the same technique from
your other machine.
(telnet tomcat-host 8080 or lynx http://tomcat-host:8080/something)

If that fails, then you're pretty much down to a networking problem
(fw/router/host file/DNS mixup).

Run ifconfig on the tomcat server to confirm the IPs are what you think
they are.  Issue requests to the IPs, if need be.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Re: Re: Installation Help Needed

2004-04-01 Thread Parsons Technical Services
I know it's simple but have you tried using the IP as in
http://xxx.xxx.xxx.xxx:8080 ?

Just a thought.

Otherwise you might wish to confirm the port is open.

No offense but sometimes we get burned by the silly little things.

Since you are running from the command line you are starting as root (This
is the same as my TC4 box).

But I get only one line of output and one pid (I think that this may be due
to Linux flavors)

As a last ditch effort try this:
Shut down apache.
Change the port on the connector for Tomcat to 80.
Restart Tomcat.
Then see if you can get to Tomcat on port 80 instead.

Everything seems to point to a firewall/router ACL issue.
Are there any devices between the client and server?

Doug


- Original Message - 
From: Stormblade [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:07 AM
Subject: Re: Re: Re: Installation Help Needed


  Back to the original post:

 

  {tomcat user} = use the name of the tomcat process owner ;)

  You could also have run:

 

   lsof -i :8080

 

  I should've suggested that instead.



 Doing that I got this:

 java19217 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19218 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19219 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19220 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19221 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19222 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19223 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19224 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19225 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19227 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19228 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19229 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19230 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19231 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19232 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19233 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19234 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19235 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19236 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19237 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19238 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19239 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19240 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19241 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19242 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19243 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19244 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19245 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19246 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19247 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19248 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19249 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19250 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19251 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19252 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19253 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19254 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19255 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19256 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19257 root5u  IPv4 811539   TCP *:webcache (LISTEN)

 java19258 root5u  IPv4 811539   TCP *:webcache (LISTEN)



 

  No big deal.  The fact that you didn't see anything is the key:

  Tomcat didn't successfully start.

 

  So now it's a matter of digging through the logs.

  Look for a file catalina.out

 



 What I did here was this:

 1. Ran shutdown.sh

 2. Deleted catalina.out

 3. Did a touch catalina.out (In case it had issues with it not being
 there)

 4. Re-ran startup.sh

 Here is the contents of the file now:

 Apr 1, 2004 9:35:13 AM org.apache.coyote.http11.Http11Protocol init

 INFO: Initializing Coyote HTTP/1.1 on port 8080

 Apr 1, 2004 9:35:13 AM org.apache.catalina.startup.Catalina load

 INFO: Initialization processed in 3097 ms

 Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardService start

 INFO: Starting service Catalina

 Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardEngine start

 INFO: Starting Servlet Engine: Apache Tomcat/5.0.19

 Apr 1, 2004 9:35:13 AM org.apache.catalina.core.StandardHost start

 INFO: XML validation disabled

 Apr 1, 2004 9:35:13 AM

Installation Help Needed (Solved)

2004-04-01 Thread Stormblade
Thank you much for your trouble-shooting help. I was able to get 
things working thanks to you. In the end it was my firewall script. 
The port was open as I said, however, I forgot that I had specified a 
port range for re-direction and yup 8080 was in that range. So I 
changed it to exclude 8080 and voila it all worked fine.

I'd forgotten all about lynx heh. Lynx worked just fine on the 
machine as did telnetting to the 8080 port from the host machine. 
Which narrowed it down. So thanks again for helping me pin point it. 
I know someone else suggested that it was a firewall issue and I 
suspected they were right but I needed to find a way to determine 
that for sure and for the life of me I couldn't figure out what the 
deal was. I'd checked my script before but since I wasn't sure it was 
the culprit I didn't examine it as strongly as I just did. :)

So thanks again.

 On Thu, Apr 01, 2004 at 11:07:21AM -0500, Stormblade wrote:

 : java19217 root5u  IPv4 811539   TCP *:webcache 
(LISTEN)

 

 OK, so Tomcat is up and listening.

 (I'll assume that webcache = 8080; that's for you to confirm.)

 

 

 Next step: from the Tomcat host, try to interact with the port.

 Use Lynx if it's available; otherwise send raw HTTP requests to the

 port, e.g. telnet localhost 8080

 

 Don't worry about specifying valid webapp paths and such: IIRC 
tomcat 

 doesn't even send an error page when you connect from the browser,

 right?

 

 

 If that works -- even a tomcat error page -- try the same technique 
from

 your other machine.

 (telnet tomcat-host 8080 or lynx http://tomcat-host:8080/something)

 

 If that fails, then you're pretty much down to a networking problem

 (fw/router/host file/DNS mixup).

 

 Run ifconfig on the tomcat server to confirm the IPs are what you 
think

 they are.  Issue requests to the IPs, if need be.

 

 -QM

 

 -- 

 

 software  -- http://www.brandxdev.net

 tech news -- http://www.RoarNetworX.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-

Stormblade (Shaolin Code Warrior)

Software Developer (15+ Years Programming exp.)



My System: http://www.anandtech.com/mysystemrig.html?rigid=1683

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- 
Composed with Newz Crawler 1.7 http://www.newzcrawler.com/


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



Re: Re: Re: Re: Installation Help Needed

2004-04-01 Thread Stormblade
 No offense but sometimes we get burned by the silly little things.

No offense taken. As a programmer I definitely have been bitten by 
the silly little things often enough that I'll try whatever.

 Everything seems to point to a firewall/router ACL issue.

 Are there any devices between the client and server?

 

 Doug



Yup and it was. After I determined that tomcat was running and that I 
was able to view the start page with lynx (Man how could I have 
forgotten about lynx) I knew then it had to be firewall but I also 
knew it wasn't a blocked port. Everytime my firewall rules block 
something I log it and there was nothing there so I knew I opened the 
port up properly.

Upon further inspection I realized that it was being redirected. One 
single line, easy to miss but it was me being lazy a while back. 
Basically my script closes every single port then I open up specific 
ones. Well I got tired of that and made a rule that redirected a 
group to another machine and 8080 (Which I never used before) was in 
that range. I took it out and voila it worked like a charm.

Thanks for your help. I just know I'll have some other issues as I'm 
still new to tomcat. I have a client right now waiting to see 
something and I need to put something up there. I believe I have to 
create a context in server.xml so that he can do www.mydomain.
com:8080/something.

I've not done this before though. On my development machine I've used 
Netbeans to test and deploy stuff for me. Ah the learning never ends. 
:)



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-

Stormblade (Shaolin Code Warrior)

Software Developer (15+ Years Programming exp.)



My System: http://www.anandtech.com/mysystemrig.html?rigid=1683

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- 
Composed with Newz Crawler 1.7 http://www.newzcrawler.com/


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



Installation Help Needed

2004-03-31 Thread Stormblade
Hey all,

Having trouble installing Tomcat 5 on my Linux box. I've installed the
Windows version without any trouble but the Linux one seems not to be
working and I'm not sure why.

I downloaded and installed the JRE and J2SDK. I've set the JAVA_HOME
variable. I installed Tomcat and ran the startup.sh. Everything seemed to
be going fine. Then I tried to access my box from another machine and there
is no answer. www.mymachinedomain:8080 doesn't even give me the default
page.

Can someone walk me through this or something? All the installation notes
I've seen weren't very detailed. Any help would be appreciated.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Stormblade (Shaolin Code Warrior)
Software Developer (15+ Years Programming exp.)

My System: http://www.anandtech.com/mysystemrig.html?rigid=1683
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


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



Re: Installation Help Needed

2004-03-31 Thread Parsons Technical Services
Back to basics.

Is it running?
Look at your processes with something like  ps -ax

Do you have a firewall running?

Can you ping the machine?

Do a  netstat -an  and see if port 8080 is active.

Doug

- Original Message - 
From: Stormblade [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 12:16 AM
Subject: Installation Help Needed


 Hey all,

 Having trouble installing Tomcat 5 on my Linux box. I've installed the
 Windows version without any trouble but the Linux one seems not to be
 working and I'm not sure why.

 I downloaded and installed the JRE and J2SDK. I've set the JAVA_HOME
 variable. I installed Tomcat and ran the startup.sh. Everything seemed to
 be going fine. Then I tried to access my box from another machine and
there
 is no answer. www.mymachinedomain:8080 doesn't even give me the default
 page.

 Can someone walk me through this or something? All the installation notes
 I've seen weren't very detailed. Any help would be appreciated.
 -- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Stormblade (Shaolin Code Warrior)
 Software Developer (15+ Years Programming exp.)

 My System: http://www.anandtech.com/mysystemrig.html?rigid=1683
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


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





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



Re: Installation Help Needed

2004-03-31 Thread Josh Rehman
This is almost certainly because you're running a firewall. It's kind of 
an involved topic, and not one I'm an expert on anyway, so you should 
check out this:

http://www.tldp.org/HOWTO/Firewall-HOWTO.html

Beware: many distros have customized firewall software. Anyway, this 
isn't a tomcat problem.

Stormblade wrote:

Hey all,
Having trouble installing Tomcat 5 on my Linux box. I've installed the
Windows version without any trouble but the Linux one seems not to be
working and I'm not sure why.
I downloaded and installed the JRE and J2SDK. I've set the JAVA_HOME
variable. I installed Tomcat and ran the startup.sh. Everything seemed to
be going fine. Then I tried to access my box from another machine and there
is no answer. www.mymachinedomain:8080 doesn't even give me the default
page.
Can someone walk me through this or something? All the installation notes
I've seen weren't very detailed. Any help would be appreciated.
 



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


RE: Problem in Tomcat 5.0.19 - Help Needed

2004-03-26 Thread Ramachandran

Hi Shanmugam,

Yes i am using custom tag(menus-taglib) menu here. Is there any problem
arise while using that? Can u please give me the solution. Here by i atached
my menuinclude.jsp here.

-Original Message-
From: shanmugampl [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 1:40 PM
To: Tomcat Users List
Subject: Re: Problem in Tomcat 5.0.19 - Help Needed


Hi Ramachandran,

   Are you using any custom tags(your own) in your menuinclude.jsp?
Could you post your jsp page to get a clear insight about the issue.

Thanks
Shan

Ramachandran wrote:

Hi All,

I am using Tomcat 5.0.19. I am using file called menuinclude.jsp in all the
files using jsp:include

When i run the application, the page visited first time is displaying the
menu correctly. But when we visited the same page again, the menu is
displayed twice nad visited again repeated thriceand so on

Can any one tell me what is the problem.

But it is not happening in Tomcat 3.2 at all

Help Needed


-
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]


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

Re: Problem in Tomcat 5.0.19 - Help Needed

2004-03-26 Thread shanmugampl
Hi,

  Is menus-taglib.tld is your own custom tag, or is it a third 
party tag. In tomcat 5, tag pooling is enabled by default. This is a 
feature, where the same instance of the tag will be used in all places. 
Your tags should be able to handle tag pooling or you must disable it. 
You can disable it by setting the enablePooling variable to false, in 
the jsp servlet of web.xml present in tomcat home/conf directory.

servlet
   servlet-namejsp/servlet-name
   servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
   init-param
   param-namefork/param-name
   param-valuefalse/param-value
   /init-param
   init-param
   param-namexpoweredBy/param-name
   param-valuefalse/param-value
   /init-param
*init-param
   param-nameenablePooling/param-name
   param-valuefalse/param-value
   /init-param*
   load-on-startup3/load-on-startup
   /servlet
-Shan-



Ramachandran wrote:

Hi Shanmugam,

Yes i am using custom tag(menus-taglib) menu here. Is there any problem
arise while using that? Can u please give me the solution. Here by i atached
my menuinclude.jsp here.
-Original Message-
From: shanmugampl [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 1:40 PM
To: Tomcat Users List
Subject: Re: Problem in Tomcat 5.0.19 - Help Needed
Hi Ramachandran,

  Are you using any custom tags(your own) in your menuinclude.jsp?
Could you post your jsp page to get a clear insight about the issue.
Thanks
Shan
Ramachandran wrote:

 

Hi All,

I am using Tomcat 5.0.19. I am using file called menuinclude.jsp in all the
files using jsp:include
When i run the application, the page visited first time is displaying the
menu correctly. But when we visited the same page again, the menu is
displayed twice nad visited again repeated thriceand so on
Can any one tell me what is the problem.

But it is not happening in Tomcat 3.2 at all

Help Needed

-
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]
 



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


Re: Problem in Tomcat 5.0.19 - Help Needed

2004-03-26 Thread Andres Ledesma
Hi Ramachandran,

You can check out your session, if it is new, include the page, otherwise do 
not do it.

Andrew

On Friday 26 March 2004 09:10, shanmugampl wrote:
 Hi Ramachandran,

Are you using any custom tags(your own) in your menuinclude.jsp?
 Could you post your jsp page to get a clear insight about the issue.

 Thanks
 Shan

 Ramachandran wrote:
 Hi All,
 
 I am using Tomcat 5.0.19. I am using file called menuinclude.jsp in all
  the files using jsp:include
 
 When i run the application, the page visited first time is displaying the
 menu correctly. But when we visited the same page again, the menu is
 displayed twice nad visited again repeated thriceand so on
 
 Can any one tell me what is the problem.
 
 But it is not happening in Tomcat 3.2 at all
 
 Help Needed
 
 
 -
 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]

-- 
No hay camino a la felicidad, la felicidad es el camino


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



Problem in Tomcat 5.0.19 - Help Needed

2004-03-25 Thread Ramachandran
Hi All,

I am using Tomcat 5.0.19. I am using file called menuinclude.jsp in all the
files using jsp:include

When i run the application, the page visited first time is displaying the
menu correctly. But when we visited the same page again, the menu is
displayed twice nad visited again repeated thriceand so on

Can any one tell me what is the problem.

But it is not happening in Tomcat 3.2 at all

Help Needed


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



Re: Problem in Tomcat 5.0.19 - Help Needed

2004-03-25 Thread shanmugampl
Hi Ramachandran,

  Are you using any custom tags(your own) in your menuinclude.jsp? 
Could you post your jsp page to get a clear insight about the issue.

Thanks
Shan
Ramachandran wrote:

Hi All,

I am using Tomcat 5.0.19. I am using file called menuinclude.jsp in all the
files using jsp:include
When i run the application, the page visited first time is displaying the
menu correctly. But when we visited the same page again, the menu is
displayed twice nad visited again repeated thriceand so on
Can any one tell me what is the problem.

But it is not happening in Tomcat 3.2 at all

Help Needed

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



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


Re: help needed building JK2 connector

2004-03-16 Thread Vi
Hi, first of all, rh9 has really odd thing about apache. Apache comes 
without apxs2 by default. If you install
apache-dev rpm it should apear. There are other problems, like libs 
missing. So basicaly if you REALLY NEED
mod_jk2, recompile apache and reinstall it :( sorry. I have already 
working server, which I can't risk with, so
I used mod_proxy.
Apache home if for apache source code dir.  You can get command line 
parameters doing: ./configure --help|less :)
Using mod_proxy suits my needs, and probably will suit yours. But if you 
will rebuild apache and reinstall it, please
mail me how it went.

Dale, Matt wrote:

Hi,

I have Redhat 9 with Tomcat 5 installed and is working fine.

Apache 2.0.40 is installed by default and i'd rather stick with that because it is integrated with a nifty configuration tool.

I'd like to link apache and tomcat with the JK2 connector which I have no problems with. As far as I can tell there is no binary download for linux so I have to build it.

The questions I have are.

Is there any documentation on building the JK2? Particularly the command line parameters

As it is the default RPM install of tomcat there doesnt seem a sensible Apache2 home that needs to be set for the build, is there something I should set this to?

If this cant work would I be able to compile using apache 2.0.48 and use the library with apache 2.0.40?

Any other advice on building the connector?

Thanks
Matt
 



Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.
 



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


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


RE: help needed building JK2 connector

2004-03-16 Thread Dale, Matt

That first link is fantastic and seems to go through all the steps I need to get it 
built. 

I checked and apxs is actually installed so I dont have that problem, I will no doubt 
have to install some more packages but pascal seems to have specified everything I 
need.

Thanks for the link.

Ta
Matt

-Original Message-
From: Adrian Lanning [mailto:[EMAIL PROTECTED]
Sent: 16 March 2004 00:04
To: Tomcat Users List
Subject: Re: help needed building JK2 connector


Hi Matt,
I have built JK2 successfully several times on Redhat 9 with Tomcat 5 and
Apache 2.0.48.  The problem I had with the default apache installed on rh
9.0 was that mine didn't have the apxs program or maybe it was some missing
libraries.. In any case I had to build apache 2.0.48 from src first before I
could get it to work.

I used the tutorial by Pascal Chong (thanks Pascal!):
http://cymulacrum.net/writings/tomcat5/book1.html

Here's another resource for building jk2:
http://www.thinlizard.com/lizard/modjk2.html

hth,
Adrian Lanning

- Original Message - 
From: Dale, Matt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 3:40 PM
Subject: help needed building JK2 connector


Hi,

I have Redhat 9 with Tomcat 5 installed and is working fine.

Apache 2.0.40 is installed by default and i'd rather stick with that because
it is integrated with a nifty configuration tool.

I'd like to link apache and tomcat with the JK2 connector which I have no
problems with. As far as I can tell there is no binary download for linux so
I have to build it.

The questions I have are.

Is there any documentation on building the JK2? Particularly the command
line parameters

As it is the default RPM install of tomcat there doesnt seem a sensible
Apache2 home that needs to be set for the build, is there something I should
set this to?

If this cant work would I be able to compile using apache 2.0.48 and use the
library with apache 2.0.40?


Any other advice on building the connector?

Thanks
Matt







 -
 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]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

RE: help needed building JK2 connector

2004-03-16 Thread Dale, Matt

Hi,

I would like to use mod_jk as that is what i've used for the past couple of years so 
have the most experience with it. My install has apxs installed but i'm sure there 
will be other stuff missing.

I may look into mod_proxy if I have no luck with JK2, thanks for the tip.

Ta
Matt

-Original Message-
From: Vi [mailto:[EMAIL PROTECTED]
Sent: 16 March 2004 09:35
To: Tomcat Users List
Subject: Re: help needed building JK2 connector


Hi, first of all, rh9 has really odd thing about apache. Apache comes 
without apxs2 by default. If you install
apache-dev rpm it should apear. There are other problems, like libs 
missing. So basicaly if you REALLY NEED
mod_jk2, recompile apache and reinstall it :( sorry. I have already 
working server, which I can't risk with, so
I used mod_proxy.
Apache home if for apache source code dir.  You can get command line 
parameters doing: ./configure --help|less :)
Using mod_proxy suits my needs, and probably will suit yours. But if you 
will rebuild apache and reinstall it, please
mail me how it went.

Dale, Matt wrote:

Hi,

I have Redhat 9 with Tomcat 5 installed and is working fine.

Apache 2.0.40 is installed by default and i'd rather stick with that because it is 
integrated with a nifty configuration tool.

I'd like to link apache and tomcat with the JK2 connector which I have no problems 
with. As far as I can tell there is no binary download for linux so I have to build 
it.

The questions I have are.

Is there any documentation on building the JK2? Particularly the command line 
parameters

As it is the default RPM install of tomcat there doesnt seem a sensible Apache2 home 
that needs to be set for the build, is there something I should set this to?

If this cant work would I be able to compile using apache 2.0.48 and use the library 
with apache 2.0.40?


Any other advice on building the connector?

Thanks
Matt
  



Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended 
recipient, be advised that you have received this E-mail in error and that any use or 
copying is strictly prohibited. If you have received this E-mail in error please 
notify the beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender 
and not beCogent Ltd. You must take full responsibility for virus checking this email 
and any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


  



-
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]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

help needed building JK2 connector

2004-03-15 Thread Dale, Matt
Hi,

I have Redhat 9 with Tomcat 5 installed and is working fine.

Apache 2.0.40 is installed by default and i'd rather stick with that because it is 
integrated with a nifty configuration tool.

I'd like to link apache and tomcat with the JK2 connector which I have no problems 
with. As far as I can tell there is no binary download for linux so I have to build it.

The questions I have are.

Is there any documentation on building the JK2? Particularly the command line 
parameters

As it is the default RPM install of tomcat there doesnt seem a sensible Apache2 home 
that needs to be set for the build, is there something I should set this to?

If this cant work would I be able to compile using apache 2.0.48 and use the library 
with apache 2.0.40?


Any other advice on building the connector?

Thanks
Matt
Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

Re: help needed building JK2 connector

2004-03-15 Thread Adrian Lanning
Hi Matt,
I have built JK2 successfully several times on Redhat 9 with Tomcat 5 and
Apache 2.0.48.  The problem I had with the default apache installed on rh
9.0 was that mine didn't have the apxs program or maybe it was some missing
libraries.. In any case I had to build apache 2.0.48 from src first before I
could get it to work.

I used the tutorial by Pascal Chong (thanks Pascal!):
http://cymulacrum.net/writings/tomcat5/book1.html

Here's another resource for building jk2:
http://www.thinlizard.com/lizard/modjk2.html

hth,
Adrian Lanning

- Original Message - 
From: Dale, Matt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 3:40 PM
Subject: help needed building JK2 connector


Hi,

I have Redhat 9 with Tomcat 5 installed and is working fine.

Apache 2.0.40 is installed by default and i'd rather stick with that because
it is integrated with a nifty configuration tool.

I'd like to link apache and tomcat with the JK2 connector which I have no
problems with. As far as I can tell there is no binary download for linux so
I have to build it.

The questions I have are.

Is there any documentation on building the JK2? Particularly the command
line parameters

As it is the default RPM install of tomcat there doesnt seem a sensible
Apache2 home that needs to be set for the build, is there something I should
set this to?

If this cant work would I be able to compile using apache 2.0.48 and use the
library with apache 2.0.40?


Any other advice on building the connector?

Thanks
Matt







 -
 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]



[Shameless Plug] Re: help needed building JK2 connector

2004-03-15 Thread Chong Yu Meng
Adrian Lanning wrote:

Hi Matt,
I have built JK2 successfully several times on Redhat 9 with Tomcat 5 and
Apache 2.0.48.  The problem I had with the default apache installed on rh
9.0 was that mine didn't have the apxs program or maybe it was some missing
libraries.. In any case I had to build apache 2.0.48 from src first before I
could get it to work.
I used the tutorial by Pascal Chong (thanks Pascal!):
http://cymulacrum.net/writings/tomcat5/book1.html
Here's another resource for building jk2:
http://www.thinlizard.com/lizard/modjk2.html
hth,
Adrian Lanning
 

Thanks Adrian !

I have updated my website and revised my original Tomcat 4 write-up, and 
added a new appendix to the Tomcat 5 write-up that covers an alternative 
method of mapping web applications in a Tomcat-Apache-mod_jk2 
configuration. This appendix is for people who keep getting 404 errors 
after integrating Apache and Tomcat, and applies in particular to 
Mandrake Advanced Extranet Server users. The credit for the solution 
should also go to Trevor Butler, who collaborated with me on this.

Please note : because I use Docbook to generate my HTML pages, the URLs 
for the individual pages may change. If you wish to bookmark my stuff, 
use the following URLs only:

Tomcat 4 : http://cymulacrum.net/writings/tomcat4/book1.html
Tomcat 5 : http://cymulacrum.net/writings/tomcat5/book1.html
Latest news and updates are posted on the home page : http://cymulacrum.net/

Please read the terms and conditions, if you are going to be using my 
documentation : http://cymulacrum.net/terms.html
(People like you, Adrian, are nice, but I get an inordinate amount of 
hate mail for my write-ups. Hence the necessity for the Terms and 
Conditions)

--
We must respect the other fellow's religion, but only in the sense and
to the extent that we respect his theory that his wife is beautiful and
his children are smart. 
	-- Henry Mencken
++
| Pascal Chong   |
| email: [EMAIL PROTECTED]  |
||
| Please visit my site at : http://cymulacrum.net|
| If you're using my documentation, please read the Terms and|
| and Conditions at http://cymulacrum.net/terms.html |
++



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


CGI Help Needed

2004-02-18 Thread Keith Bourgoin
Hey,

 

I'm trying to get a CGI based application to work (ViewCVS) and it's not
working for whatever reason.  I followed the directions on the website to
enable CGI support (renamed the file and changed the conf/web.xml).  I was
originally getting an error where the CGI couldn't be found.  It was in my
cgi-bin folder, so I changed the cgiPathPrefix in conf/web.xml to cgi-bin
and it seems to have worked.  Unfortunately, I'm getting a blank page when I
load the cgi.  I know that the cgi works because I've tested it with it's
standalone server, but I want it to work with Tomcat.  Any help is greatly
appreciated.

Thanks,

 

--keith.

 

  



RE: URLRewrite help needed

2004-02-03 Thread Shapira, Yoav

Howdy,

 Take a look at tomcat 5's balancer webapp, and/or
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html

Okay - stupid question.  I'm running Tomcat 4.1.  Can this be made to
work
on it?

Yes, balancer is a Servlet Specification v2.3-compliant webapp.  It's
not specific to tomcat5.

Yoav Shapira



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


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



URLRewrite help needed

2004-02-02 Thread Duane Burchell

Hello
I'm relatively new to using Tomcat, and need help with what (should be) an
easy task.  I've searched through the archives, but haven't found the
information I need.

I'm basically trying to do a mod_rewrite, but using tomcat (without apache
installed).  I've read up on the tuckey.org/urlrewrite, and this
filter seems to handle exactly what I want.  But I can't get it to work.

As I understand it, the steps would be :
1 ) Download the jar files and put them into a urlrewrite directory off
the WEB-INF directory.
2)  Alter the web.xml file to include this filter (using code straight
form the tuckey.org site)
3)  Alter the urlrewrite file to include the rules that I want (some basic
substitutions from google-searchable URLs ex.  /pageid/ -  pageid= )
4)  Restart tomcat.

However, as soon as I add the filter code into the web.xml file, all
requests return a 404 error (whether the request uses the filter or not).

This seems like such an easy task, but I can't get it to work.  If anybody
can please point out something I'm overlooking, I would appreciate it.

I'm using tomcat 4.1 on Win2K server.

Thanks,
Duane

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



Re: URLRewrite help needed

2004-02-02 Thread Duane Burchell

I need to pay better attention to what I type.

 As I understand it, the steps would be :
 1 ) Download the jar files and put them into a urlrewrite directory off
 the WEB-INF directory.

This should read :
1)  Download the jar files, which will extract into a lib subdirectory off
the WEB-INF directory.  The urlrewrite.xml and web.xml files are in the
WEB-INF directory.

Sorry.
- Duane

 2)  Alter the web.xml file to include this filter (using code straight
 form the tuckey.org site)
 3)  Alter the urlrewrite file to include the rules that I want (some basic
 substitutions from google-searchable URLs ex.  /pageid/ -  pageid= )
 4)  Restart tomcat.

 However, as soon as I add the filter code into the web.xml file, all
 requests return a 404 error (whether the request uses the filter or not).

 This seems like such an easy task, but I can't get it to work.  If anybody
 can please point out something I'm overlooking, I would appreciate it.

 I'm using tomcat 4.1 on Win2K server.

 Thanks,
 Duane
k

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



RE: URLRewrite help needed

2004-02-02 Thread Shapira, Yoav

Howdy,
Take a look at tomcat 5's balancer webapp, and/or
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Duane Burchell [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 1:23 PM
To: Tomcat Users List
Subject: URLRewrite help needed


Hello
I'm relatively new to using Tomcat, and need help with what (should be)
an
easy task.  I've searched through the archives, but haven't found the
information I need.

I'm basically trying to do a mod_rewrite, but using tomcat (without
apache
installed).  I've read up on the tuckey.org/urlrewrite, and this
filter seems to handle exactly what I want.  But I can't get it to
work.

As I understand it, the steps would be :
1 ) Download the jar files and put them into a urlrewrite directory off
the WEB-INF directory.
2)  Alter the web.xml file to include this filter (using code straight
form the tuckey.org site)
3)  Alter the urlrewrite file to include the rules that I want (some
basic
substitutions from google-searchable URLs ex.  /pageid/ -  pageid= )
4)  Restart tomcat.

However, as soon as I add the filter code into the web.xml file, all
requests return a 404 error (whether the request uses the filter or
not).

This seems like such an easy task, but I can't get it to work.  If
anybody
can please point out something I'm overlooking, I would appreciate it.

I'm using tomcat 4.1 on Win2K server.

Thanks,
Duane

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




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


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



RE: URLRewrite help needed

2004-02-02 Thread Duane Burchell
 Howdy,
 Take a look at tomcat 5's balancer webapp, and/or
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html

Okay - stupid question.  I'm running Tomcat 4.1.  Can this be made to work
on it?

Has anyone used the filter from tuckey.org successfully?

Thanks,
Duane


 Yoav Shapira
 Millennium ChemInformatics


 -Original Message-
 From: Duane Burchell [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 02, 2004 1:23 PM
 To: Tomcat Users List
 Subject: URLRewrite help needed
 
 
 Hello
 I'm relatively new to using Tomcat, and need help with what (should be)
 an
 easy task.  I've searched through the archives, but haven't found the
 information I need.
 
 I'm basically trying to do a mod_rewrite, but using tomcat (without
 apache
 installed).  I've read up on the tuckey.org/urlrewrite, and this
 filter seems to handle exactly what I want.  But I can't get it to
 work.
 
 As I understand it, the steps would be :
 1 ) Download the jar files and put them into a urlrewrite directory off
 the WEB-INF directory.
 2)  Alter the web.xml file to include this filter (using code straight
 form the tuckey.org site)
 3)  Alter the urlrewrite file to include the rules that I want (some
 basic
 substitutions from google-searchable URLs ex.  /pageid/ -  pageid= )
 4)  Restart tomcat.
 
 However, as soon as I add the filter code into the web.xml file, all
 requests return a 404 error (whether the request uses the filter or
 not).
 
 This seems like such an easy task, but I can't get it to work.  If
 anybody
 can please point out something I'm overlooking, I would appreciate it.
 
 I'm using tomcat 4.1 on Win2K server.
 
 Thanks,
 Duane

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



RE: Help needed

2004-01-21 Thread Edson Alves Pereira
Try this:

in your applet code:

{
//...

getAppletContext( ).showDocument(
http://127.0.0.1/your-webapp/servlet/HellWorld; );
//...
}

 --
 De:   niranjan inamdar[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  terça-feira, 20 de janeiro de 2004 15:05
 Para: [EMAIL PROTECTED]
 Assunto:  Help needed
 
 hello,
   I am a new tomcat user and i want to know whether we
 can use tomcat for applet - servlet connection using
 java URL class and openconnection methode. I am trying
 to invoke a servlet from an applet using java URL
 class but the servlet is not being activated. do i
 nedd to change any config. options? I just can't see
 whether servlet is getting invoked. 
 
 __
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 http://hotjobs.sweepstakes.yahoo.com/signingbonus
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Help needed

2004-01-21 Thread Ben Souther
You might want to read this as well.
http://csajsp-chapters.corewebprogramming.com/CSAJSP-Chapter17.pdf






On Wednesday 21 January 2004 08:25 am, you wrote:
   Try this:

   in your applet code:

   {
   //...

   getAppletContext( ).showDocument(
 http://127.0.0.1/your-webapp/servlet/HellWorld; );
   //...
   }

  --
  De: niranjan inamdar[SMTP:[EMAIL PROTECTED]
  Responder:  Tomcat Users List
  Enviada:terça-feira, 20 de janeiro de 2004 15:05
  Para:   [EMAIL PROTECTED]
  Assunto:Help needed
 
  hello,
I am a new tomcat user and i want to know whether we
  can use tomcat for applet - servlet connection using
  java URL class and openconnection methode. I am trying
  to invoke a servlet from an applet using java URL
  class but the servlet is not being activated. do i
  nedd to change any config. options? I just can't see
  whether servlet is getting invoked.
 
  __
  Do you Yahoo!?
  Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
  http://hotjobs.sweepstakes.yahoo.com/signingbonus
 
  -
  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]



Help needed

2004-01-20 Thread niranjan inamdar
hello,
  I am a new tomcat user and i want to know whether we
can use tomcat for applet - servlet connection using
java URL class and openconnection methode. I am trying
to invoke a servlet from an applet using java URL
class but the servlet is not being activated. do i
nedd to change any config. options? I just can't see
whether servlet is getting invoked. 

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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



-- Help needed: 2 webapps while only 1 is defined

2004-01-08 Thread Doron Perelstein

Hi All !

I'm using Tomcat 4.1.29 only 1 host tag is defined in my server.xml file.
In this host I have only 1 context tag that defines my application.
(in addition to the /admin and /manager contexts).

My problem is that occasionally, tomcat seems to start a 2nd instance
of my web application, so both co-exist.
As an outcome, static variables are being initilized again for the 2nd
instance of
the web application (like 2 instances of JVMs are in use).

Is it possible that tomcat starts 2 webapp while only 1 is defined ?

Thanks in advance for the help (I really need it!),
Doron


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



RE: -- Help needed: 2 webapps while only 1 is defined

2004-01-08 Thread Shapira, Yoav

Howdy,
Tomcat isn't going to start or restart your webapp randomly ;)  What's
in your logs?  Could it be someone is using the manager webapp to
administer your server without you knowing?  Or that someone is simply
restarting your tomcat instance?  Or that you have two tomcat instances?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Doron Perelstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 1:23 PM
To: [EMAIL PROTECTED]
Subject: -- Help needed: 2 webapps while only 1 is defined


Hi All !

I'm using Tomcat 4.1.29 only 1 host tag is defined in my server.xml
file.
In this host I have only 1 context tag that defines my application.
(in addition to the /admin and /manager contexts).

My problem is that occasionally, tomcat seems to start a 2nd instance
of my web application, so both co-exist.
As an outcome, static variables are being initilized again for the 2nd
instance of
the web application (like 2 instances of JVMs are in use).

Is it possible that tomcat starts 2 webapp while only 1 is defined ?

Thanks in advance for the help (I really need it!),
Doron


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




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


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



Help needed !!!!

2003-12-03 Thread yuval
Is there anybody from Israel in this list,
I wish to find someone to consult us with pay in order to
configure the tomcat to work better with no errors and with load balance.


Please contact me directly at:
[EMAIL PROTECTED]

Regards,

Yuval


RE: Help needed !!!!

2003-12-03 Thread Edson Alves Pereira
Why must someone from Israel?

 --
 De:   yuval[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  quarta-feira, 3 de dezembro de 2003 14:32
 Para: Tomcat Users List
 Assunto:  Help needed 
 
 Is there anybody from Israel in this list,
 I wish to find someone to consult us with pay in order to
 configure the tomcat to work better with no errors and with load balance.
 
 
 Please contact me directly at:
 [EMAIL PROTECTED]
 
 Regards,
 
 Yuval
 


Re: Servlets -- help needed

2003-11-14 Thread Navanee
Schalk,

I wrote a java program (HelloWWW.java) and placed the file in this path: 
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
I also compiled that java code. Compilation was successful.

I tried to execute that servlet in the browser using this link :
http://localhost:8080/examples/WEB-INF/classes/HelloWWW
But it is giving 404 (file not found) error. Why is it so?

How can i access these files in the browser ..?
Means, what link should i give in the browser ?
-- Navanee

Schalk wrote:

Navanee

The file structure, for webapps are as follows:
Tomcat/webapps/yourapp/
- In this folder you can place all of your image files, html files, .js,
.css, and your JSP's.
Tomcat/webapps/yourapp/WEB-INF/classes/
- In here you should place all compiled servlet code
Tomcat/webapps/yourapp/WEB-INF/lib/
- In here you can place all .jar files that your web application will need
to have access to.
Tomcat/webapps/yourapp/WEB-INF/
- Here goes your .tld and .xml files, for example the web.xml
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or diclosed to any other party without
the permission of the sender. If you received this message in error, please
notify me immediately so that I can correct and delete the original email.
Thank you. 

:: -Original Message-
:: From: Navanee [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 14, 2003 7:20 AM
:: To: [EMAIL PROTECTED]
:: Subject: Servlets -- help needed
:: 
:: Friends,
:: 
:: I want to write a HTML form that will accept some values from the user
:: and i want to print the values using a servlet program.
:: 
:: I have installed Tomcat 4.1 in my win2k m/c.
:: 
:: This is the folder where i have installed the Tomcat: C:\Program
:: Files\jakarta-tomcat-4.1.27\webapps
:: 
:: Please tell where (in which folder) i should place the HTML file and
:: where i should place the Servlet code that will read the values from the
:: form?
:: Similarly where should i place the JSP code?
:: 
:: Since there are many folders i often get confused where to place the
:: code. Any other pointers would be more helpful.
:: 
:: -- Navanee
:: 
:: 
:: -
:: 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]
 



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


Re: Servlets -- help needed

2003-11-14 Thread K. Harvatis
Navanee,

Please check and edit the \WEB-INF\web.xml file, which holds the mappings.
After that, you will only need
http://localhost/your_servlet_urlname_from_web.xml

Kostas Harvatis
-
National Center for Social Research - Directorate of Research Support
www.ekke.gr


- Original Message -
From: Navanee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed


 Schalk,

 I wrote a java program (HelloWWW.java) and placed the file in this path:
 C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
 I also compiled that java code. Compilation was successful.

 I tried to execute that servlet in the browser using this link :
 http://localhost:8080/examples/WEB-INF/classes/HelloWWW

 But it is giving 404 (file not found) error. Why is it so?

 How can i access these files in the browser ..?
 Means, what link should i give in the browser ?

 -- Navanee




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



RE: Servlets -- help needed

2003-11-14 Thread Galbayar
http://localhost:8080/examples/servlet/HelloWWW

-Original Message-
From: K. Harvatis [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 3:24 PM
To: Tomcat Users List
Subject: Re: Servlets -- help needed


Navanee,

Please check and edit the \WEB-INF\web.xml file, which holds the mappings.
After that, you will only need
http://localhost/your_servlet_urlname_from_web.xml

Kostas Harvatis
-
National Center for Social Research - Directorate of Research Support
www.ekke.gr


- Original Message -
From: Navanee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed


 Schalk,

 I wrote a java program (HelloWWW.java) and placed the file in this path:
 C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
 I also compiled that java code. Compilation was successful.

 I tried to execute that servlet in the browser using this link :
 http://localhost:8080/examples/WEB-INF/classes/HelloWWW

 But it is giving 404 (file not found) error. Why is it so?

 How can i access these files in the browser ..?
 Means, what link should i give in the browser ?

 -- Navanee




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


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



Re: Servlets -- help needed

2003-11-14 Thread Navanee
I ran the script and it is working fine!!

I am having a problem now. I changed the content of the java file and i 
compiled the code. Compilation was successful.

When i tried to view the modified servlet in the browser it is throwing 
an error:

 HTTP Status 503 - This application is not currently available

I restarted the Tomcat  ran the program again. It is working fine. What 
might be the reason behind this?

-- Navanee

[EMAIL PROTECTED] wrote:

http://localhost:8080/examples/servlet/HelloWWW

-Original Message-
From: K. Harvatis [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 3:24 PM
To: Tomcat Users List
Subject: Re: Servlets -- help needed
Navanee,

Please check and edit the \WEB-INF\web.xml file, which holds the mappings.
After that, you will only need
http://localhost/your_servlet_urlname_from_web.xml
Kostas Harvatis
-
National Center for Social Research - Directorate of Research Support
www.ekke.gr
- Original Message -
From: Navanee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed
 

Schalk,

I wrote a java program (HelloWWW.java) and placed the file in this path:
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
I also compiled that java code. Compilation was successful.
I tried to execute that servlet in the browser using this link :
http://localhost:8080/examples/WEB-INF/classes/HelloWWW
But it is giving 404 (file not found) error. Why is it so?

How can i access these files in the browser ..?
Means, what link should i give in the browser ?
-- Navanee

   



Re: Servlets -- help needed

2003-11-14 Thread Navanee
I don't have any idea of how to edit the web.xml file. Any pointers 
would be helpful.

[EMAIL PROTECTED] wrote:

Navanee,

Please check and edit the \WEB-INF\web.xml file, which holds the mappings.
After that, you will only need
http://localhost/your_servlet_urlname_from_web.xml
Kostas Harvatis
-
National Center for Social Research - Directorate of Research Support
www.ekke.gr
- Original Message -
From: Navanee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed
 

Schalk,

I wrote a java program (HelloWWW.java) and placed the file in this path:
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
I also compiled that java code. Compilation was successful.
I tried to execute that servlet in the browser using this link :
http://localhost:8080/examples/WEB-INF/classes/HelloWWW
But it is giving 404 (file not found) error. Why is it so?

How can i access these files in the browser ..?
Means, what link should i give in the browser ?
-- Navanee

   



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



Re: Servlets -- help needed

2003-11-14 Thread Kwok Peng Tuck
Fire up your text editor and edit away.
If you are on a penguin box, you can use 'vi'
or if you are on windows, just use notepad or wordpad.
Navanee wrote:

I don't have any idea of how to edit the web.xml file. Any pointers 
would be helpful.

[EMAIL PROTECTED] wrote:

Navanee,

Please check and edit the \WEB-INF\web.xml file, which holds the 
mappings.
After that, you will only need
http://localhost/your_servlet_urlname_from_web.xml

Kostas Harvatis
-
National Center for Social Research - Directorate of Research Support
www.ekke.gr
- Original Message -
From: Navanee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 9:11 AM
Subject: Re: Servlets -- help needed
 

Schalk,

I wrote a java program (HelloWWW.java) and placed the file in this 
path:
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
I also compiled that java code. Compilation was successful.

I tried to execute that servlet in the browser using this link :
http://localhost:8080/examples/WEB-INF/classes/HelloWWW
But it is giving 404 (file not found) error. Why is it so?

How can i access these files in the browser ..?
Means, what link should i give in the browser ?
-- Navanee

  




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




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


RE: Servlets -- help needed

2003-11-14 Thread Schalk
Navanee

You can view a sample basic web.xml file at:
www.volume4.co.za/Volume4/opensource/xml/web.xml

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or diclosed to any other party without
the permission of the sender. If you received this message in error, please
notify me immediately so that I can correct and delete the original email.
Thank you. 

:: -Original Message-
:: From: Navanee [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 14, 2003 10:37 AM
:: To: Tomcat Users List
:: Subject: Re: Servlets -- help needed
:: 
:: I don't have any idea of how to edit the web.xml file. Any pointers
:: would be helpful.
:: 
:: [EMAIL PROTECTED] wrote:
:: 
:: Navanee,
:: 
:: Please check and edit the \WEB-INF\web.xml file, which holds the
mappings.
:: After that, you will only need
:: http://localhost/your_servlet_urlname_from_web.xml
:: 
:: Kostas Harvatis
:: -
:: National Center for Social Research - Directorate of Research Support
:: www.ekke.gr
:: 
:: 
:: - Original Message -
:: From: Navanee [EMAIL PROTECTED]
:: To: Tomcat Users List [EMAIL PROTECTED]
:: Sent: Friday, November 14, 2003 9:11 AM
:: Subject: Re: Servlets -- help needed
:: 
:: 
:: 
:: 
:: Schalk,
:: 
:: I wrote a java program (HelloWWW.java) and placed the file in this
path:
:: C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
:: I also compiled that java code. Compilation was successful.
:: 
:: I tried to execute that servlet in the browser using this link :
:: http://localhost:8080/examples/WEB-INF/classes/HelloWWW
:: 
:: But it is giving 404 (file not found) error. Why is it so?
:: 
:: How can i access these files in the browser ..?
:: Means, what link should i give in the browser ?
:: 
:: -- Navanee
:: 
:: 
:: 
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 



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



Re: Servlets -- help needed

2003-11-14 Thread Christopher Schultz
All,
Someone should also point out right now that having Tomcat installed in 
a directory containing spaces is just *asking* for trouble.

Try re-installing tomcat into, say, c:\programs\tomcat, or at least 
modify the path to be C:\PROGRA~1\tomcat or whatever windows does to 
long filenames to make them fit into FAT entries.

-chris

Navanee wrote:
Schalk,

I wrote a java program (HelloWWW.java) and placed the file in this path: 
C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
I also compiled that java code. Compilation was successful.

I tried to execute that servlet in the browser using this link :
http://localhost:8080/examples/WEB-INF/classes/HelloWWW
But it is giving 404 (file not found) error. Why is it so?

How can i access these files in the browser ..?
Means, what link should i give in the browser ?
-- Navanee

Schalk wrote:

Navanee

The file structure, for webapps are as follows:
Tomcat/webapps/yourapp/
- In this folder you can place all of your image files, html files, .js,
.css, and your JSP's.
Tomcat/webapps/yourapp/WEB-INF/classes/
- In here you should place all compiled servlet code
Tomcat/webapps/yourapp/WEB-INF/lib/
- In here you can place all .jar files that your web application will 
need
to have access to.
Tomcat/webapps/yourapp/WEB-INF/
- Here goes your .tld and .xml files, for example the web.xml

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or diclosed to any other party 
without
the permission of the sender. If you received this message in error, 
please
notify me immediately so that I can correct and delete the original 
email.
Thank you.
:: -Original Message-
:: From: Navanee [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 14, 2003 7:20 AM
:: To: [EMAIL PROTECTED]
:: Subject: Servlets -- help needed
:: :: Friends,
:: :: I want to write a HTML form that will accept some values from 
the user
:: and i want to print the values using a servlet program.
:: :: I have installed Tomcat 4.1 in my win2k m/c.
:: :: This is the folder where i have installed the Tomcat: C:\Program
:: Files\jakarta-tomcat-4.1.27\webapps
:: :: Please tell where (in which folder) i should place the HTML file 
and
:: where i should place the Servlet code that will read the values 
from the
:: form?
:: Similarly where should i place the JSP code?
:: :: Since there are many folders i often get confused where to place 
the
:: code. Any other pointers would be more helpful.
:: :: -- Navanee
:: :: :: 
-
:: 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]
 



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



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


RE: Servlets -- help needed

2003-11-14 Thread Edson Alves Pereira
Try,

http://127.0.0.1:8080/examples/servlet/HelloWWW

 --
 De:   Navanee[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  sexta-feira, 14 de novembro de 2003 4:11
 Para: Tomcat Users List
 Assunto:  Re: Servlets -- help needed
 
 Schalk,
 
 I wrote a java program (HelloWWW.java) and placed the file in this path: 
 C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
 I also compiled that java code. Compilation was successful.
 
 I tried to execute that servlet in the browser using this link :
 http://localhost:8080/examples/WEB-INF/classes/HelloWWW
 
 But it is giving 404 (file not found) error. Why is it so?
 
 How can i access these files in the browser ..?
 Means, what link should i give in the browser ?
 
 -- Navanee
 
 Schalk wrote:
 
 Navanee
 
 The file structure, for webapps are as follows:
 Tomcat/webapps/yourapp/
 - In this folder you can place all of your image files, html files, .js,
 .css, and your JSP's.
 Tomcat/webapps/yourapp/WEB-INF/classes/
 - In here you should place all compiled servlet code
 Tomcat/webapps/yourapp/WEB-INF/lib/
 - In here you can place all .jar files that your web application will
 need
 to have access to.
 Tomcat/webapps/yourapp/WEB-INF/
 - Here goes your .tld and .xml files, for example the web.xml
 
 Kind Regards
 Schalk Neethling
 Web Developer.Designer.Programmer.CEO
 Volume4.Development.Multimedia.Branding
 emotionalize.conceptualize.visualize.realize
 Tel: +27125468436
 Fax: +27125468436
 email:[EMAIL PROTECTED]
 web: www.volume4.co.za
  
 This message contains information that is considered to be sensitive or
 confidential and may not be forwarded or diclosed to any other party
 without
 the permission of the sender. If you received this message in error,
 please
 notify me immediately so that I can correct and delete the original
 email.
 Thank you. 
 
 :: -Original Message-
 :: From: Navanee [mailto:[EMAIL PROTECTED]
 :: Sent: Friday, November 14, 2003 7:20 AM
 :: To: [EMAIL PROTECTED]
 :: Subject: Servlets -- help needed
 :: 
 :: Friends,
 :: 
 :: I want to write a HTML form that will accept some values from the user
 :: and i want to print the values using a servlet program.
 :: 
 :: I have installed Tomcat 4.1 in my win2k m/c.
 :: 
 :: This is the folder where i have installed the Tomcat: C:\Program
 :: Files\jakarta-tomcat-4.1.27\webapps
 :: 
 :: Please tell where (in which folder) i should place the HTML file and
 :: where i should place the Servlet code that will read the values from
 the
 :: form?
 :: Similarly where should i place the JSP code?
 :: 
 :: Since there are many folders i often get confused where to place the
 :: code. Any other pointers would be more helpful.
 :: 
 :: -- Navanee
 :: 
 :: 
 :: -
 :: 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]
 
 
   
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


RE: Servlets -- help needed

2003-11-14 Thread Indrasish N Basuroychowdhury
Navanee,

Take out /WEB-INF/classes from your url and it should work.
So, you should type http://localhost:8080/examples/HelloWW
And it should work.

Indrasish.

-Original Message-
From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 14, 2003 9:19 AM
To: 'Tomcat Users List'
Subject: RE: Servlets -- help needed


Try,

http://127.0.0.1:8080/examples/servlet/HelloWWW

 --
 De:   Navanee[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  sexta-feira, 14 de novembro de 2003 4:11
 Para: Tomcat Users List
 Assunto:  Re: Servlets -- help needed
 
 Schalk,
 
 I wrote a java program (HelloWWW.java) and placed the file in this 
 path:
 C:\Program
Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes
 I also compiled that java code. Compilation was successful.
 
 I tried to execute that servlet in the browser using this link : 
 http://localhost:8080/examples/WEB-INF/classes/HelloWWW
 
 But it is giving 404 (file not found) error. Why is it so?
 
 How can i access these files in the browser ..?
 Means, what link should i give in the browser ?
 
 -- Navanee
 
 Schalk wrote:
 
 Navanee
 
 The file structure, for webapps are as follows: 
 Tomcat/webapps/yourapp/
 - In this folder you can place all of your image files, html files, 
 .js, .css, and your JSP's. Tomcat/webapps/yourapp/WEB-INF/classes/
 - In here you should place all compiled servlet code
 Tomcat/webapps/yourapp/WEB-INF/lib/
 - In here you can place all .jar files that your web application will
 need
 to have access to.
 Tomcat/webapps/yourapp/WEB-INF/
 - Here goes your .tld and .xml files, for example the web.xml
 
 Kind Regards
 Schalk Neethling
 Web Developer.Designer.Programmer.CEO 
 Volume4.Development.Multimedia.Branding
 emotionalize.conceptualize.visualize.realize
 Tel: +27125468436
 Fax: +27125468436
 email:[EMAIL PROTECTED]
 web: www.volume4.co.za
  
 This message contains information that is considered to be sensitive 
 or confidential and may not be forwarded or diclosed to any other 
 party
 without
 the permission of the sender. If you received this message in error,
 please
 notify me immediately so that I can correct and delete the original
 email.
 Thank you.
 
 :: -Original Message-
 :: From: Navanee [mailto:[EMAIL PROTECTED]
 :: Sent: Friday, November 14, 2003 7:20 AM
 :: To: [EMAIL PROTECTED]
 :: Subject: Servlets -- help needed
 ::
 :: Friends,
 :: 
 :: I want to write a HTML form that will accept some values from the
user
 :: and i want to print the values using a servlet program.
 :: 
 :: I have installed Tomcat 4.1 in my win2k m/c.
 :: 
 :: This is the folder where i have installed the Tomcat: C:\Program
 :: Files\jakarta-tomcat-4.1.27\webapps
 :: 
 :: Please tell where (in which folder) i should place the HTML file
and
 :: where i should place the Servlet code that will read the values
from
 the
 :: form?
 :: Similarly where should i place the JSP code?
 ::
 :: Since there are many folders i often get confused where to place
the
 :: code. Any other pointers would be more helpful.
 :: 
 :: -- Navanee
 :: 
 :: 
 ::
-
 :: 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]
 
 
   
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: Servlets -- help needed

2003-11-14 Thread Graham Reeds
 All,
 Someone should also point out right now that having Tomcat installed in
 a directory containing spaces is just *asking* for trouble.

 Try re-installing tomcat into, say, c:\programs\tomcat, or at least
 modify the path to be C:\PROGRA~1\tomcat or whatever windows does to
 long filenames to make them fit into FAT entries.

I never had a problem with Tomcat being installed to C:\Program
Files\Apache Group\Jakarta Tomcat, and this was with version 3.2.3

Problems arose when installing the JDK to C:\Program Files\jdk1.3.1_09
where Tomcat refuses to work with it there (I posted a question about this
ages ago).  So I had to leave the jdk in the root of C: - something I hate
doing (as I had to do with software from ESRI and Oracle).

G.


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



  1   2   3   >