Re: Context for User development accounts??

2005-01-05 Thread Dwayne Ghant
Thanx QM,
This if funny ironically enough the documentation says:
--deployOnStartup--
This flag value indicates if web applications from this host should be
automatically deployed by the host configurator.
The flag's value defaults to true.
Yep, that correct it defults to ture. But as you suggested I will
explicitlly set it anyway.
This posses one more question.
I was wonder if I could have more than one *|appBase|* per host.
of what if I wanted my host to have more then one *|appBase.|*
Thank you for your past reply's they have been very helpfull.
Again thank you for your time.*||*
QM wrote:
On Tue, Jan 04, 2005 at 07:05:40AM -0800, Dwayne Ghant wrote:
: But now you tell me of an attribute that I could even find in the
: Server Configuration Reference ... The Context Container
: documentation. I guess that I would have to create a Context 
: loadOnStartup=true ... /
: for every developer on the machine?

I was close, and so were you:
me: early-morning typo, it's called deployOnStartup
you: write site, wrong doc.  Check under Host Container for details.
-QM
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


More then one appBase per virtual Host...

2005-01-05 Thread Dwayne Ghant
I was wonder if I could have more than one *|appBase|* per host.
or what if I wanted my host to have more then one *|appBase.  How
would I configure this or can it be configure at all???
May I could make two host with the same virtual host Name???
EX:
Host name=localhost debug=0 appBase=/var/www/html/
  unpackWARs=true autoDeploy=true deployOnStartup=true
  xmlValidation=false xmlNamespaceAware=false
/Host
Host name=localhost debug=0 appBase=/home/*/public_html
  unpackWARs=true autoDeploy=true deployOnStartup=true
  xmlValidation=false xmlNamespaceAware=false
/Host
I know that my imagination is really out ther now!!!
Any comment is appreciated.
Thank you for your  time.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: apache2 tomcat5 jk2 questions

2005-01-05 Thread Dwayne Ghant
Please Read your Documentation at this page
http://myserver:8080/tomcat-docs/config/host.html
and that should answer your question.
Read the section that says:
User Web Applications
Casas, Claudia wrote:
Hello everybody,
I have configured jk2 successfully finally to work with apache and
tomcat.
#!Question 1
I have included the following in my server.xml file:
Context path=/ccasas docBase=/home/ccasas/wwwdocs debug=0
   reloadable=true crossContext=true
/Context
This allows me to see my jsp file as :
http://myserver:8080/ccasas/myfile.jsp
http://myserver/ccasas/myfile.jsp  which is what I want to be able to
access my jsp files from my homedir. BUT
MY QUESTION IS:
How do I tell apache to forward this request to tomcat. In other words,
when I access http://myserver/ccasas/mnyfiles.jsp is only reading the
file as text.
Previously I had added a Jkmount option inside my httpd.conf, but it
does not like it right now.
#Question 2
Is there a way to specify my context path so that it will handle all my
homedirs. In apache I use a wildcard (/home/*/wwwdocs) to handle all of
my home directories. Is there anything like this in tomcat that I can
use??

 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: issue config'ing a webapp

2005-01-05 Thread Dwayne Ghant
Hope this helps.
--
Server Configuration Reference
The Context Container
--allowLinking--
If the value of this flag is true, symlinks will be allowed inside the 
web application,
pointing to resources outside the web application base path. If not 
specified,
the default value of the flag is false.

Erik Weibust wrote:
I'm having a problem getting a webapp running in my instance of tomcat.
I have attached all the relevant info below.
What I'm trying to do is use a sym link in a dir that points to a
generic version of my app.  That way I can have numerous versions of
that app on my machine and instead of having to edit the server.xml
every time I want to switch from one version of the app to another I
can just change my sym link.  When I do this I get a Resources start
failed error in my log files.
Any ideas?  Do I need to provide more info?  Will Tomcat not allow a
sym link in the docBase of a Context element?
Thanks...
Erik
from catalina.out
StandardContext[/mondev_ng]: Resources start failed:
java.lang.IllegalArgumentException: Document base
C:\cygwin\home\efw\cvs\MonDev_NG does not exist or is not a readable
directory at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:193)
from server.xml
Context path=/mondev_ng reloadable=true
docBase=C:\cygwin\home\efw\cvs\MonDev_NG
  Logger className=org.apache.catalina.logger.SystemOutLogger/
/Context
[EMAIL PROTECTED] ~/cvs$ ls -l
total 1
lrwxrwxrwx   1 efw mkgroup-l-d 18 Jan  5 12:02 MonDev_NG -
MonDev_NG_20050105/
drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:57 MonDev_NG_20050103/
drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:32 MonDev_NG_20050105/
=
Erik Weibust
http://erik.weibust.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: apache2 tomcat5 jk2 questions

2005-01-05 Thread Dwayne Ghant
This should help atleat I hope:
Your httpd.conf should look something like this at the bottom.
 Location /*.jsp
   JkUriSet worker ajp13:localhost:8009
   /Location
Have a beautiful day.
Casas, Claudia wrote:
Thanks! Tomcat now works for every user directory!  : )
But I still do not know how to make apache forward my jsp request to
tomcat.
I used to include Jkmount option in my httpd.conf, but now I have not
idea.
I have read about a JkSet but not sure how to use it. I have also read
that you can have this configuration in the jk2.properties, but do not
know how either. If you could point me to the right direction I would
really appreciate it. 

I basically need to be able to view my jsp's through apache as: e.g.
http://myserver/~userdir/myfile.jsp
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 05, 2005 11:03 AM
To: Tomcat Users List
Subject: Re: apache2 tomcat5 jk2 questions

Please Read your Documentation at this page
http://myserver:8080/tomcat-docs/config/host.html
and that should answer your question.
Read the section that says:
User Web Applications
Casas, Claudia wrote:
 

Hello everybody,
I have configured jk2 successfully finally to work with apache and
tomcat.
#!Question 1
I have included the following in my server.xml file:
Context path=/ccasas docBase=/home/ccasas/wwwdocs debug=0
  reloadable=true crossContext=true
/Context
This allows me to see my jsp file as :
http://myserver:8080/ccasas/myfile.jsp
http://myserver/ccasas/myfile.jsp  which is what I want to be able to
access my jsp files from my homedir. BUT
MY QUESTION IS:
How do I tell apache to forward this request to tomcat. In other words,
when I access http://myserver/ccasas/mnyfiles.jsp is only reading the
file as text.
Previously I had added a Jkmount option inside my httpd.conf, but it
does not like it right now.
#Question 2
Is there a way to specify my context path so that it will handle all my
homedirs. In apache I use a wildcard (/home/*/wwwdocs) to handle all of
my home directories. Is there anything like this in tomcat that I can
use??


   


 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: More then one appBase per virtual Host...

2005-01-05 Thread Dwayne Ghant
Anybody want to take  a shoot at this
Dwayne Ghant wrote:
I was wonder if I could have more than one *|appBase|* per host.
or what if I wanted my host to have more then one *|appBase.  How
would I configure this or can it be configure at all???
May I could make two host with the same virtual host Name???
EX:
Host name=localhost debug=0 appBase=/var/www/html/
  unpackWARs=true autoDeploy=true deployOnStartup=true
  xmlValidation=false xmlNamespaceAware=false
/Host
Host name=localhost debug=0 appBase=/home/*/public_html
  unpackWARs=true autoDeploy=true deployOnStartup=true
  xmlValidation=false xmlNamespaceAware=false
/Host
I know that my imagination is really out ther now!!!
Any comment is appreciated.
Thank you for your  time.

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: [OT]web development fee

2005-01-05 Thread Dwayne Ghant
Also Try :
www.salary.com
I think you would like it.
epyonne wrote:
Daniel,
Thanks for the response. No, what I develop for my employer is not eCommerce
related. They are mostly for internal processing. Some of my web application
are used by our call centers.
Among the 3 options that you have stated, I think I will go with either #1
or #3. If I go with #3, do you know where I can find such application?
Also, can you tell me what is the going rate for a contract job like this?
$50/hr, $100/hr, or more? I don't have any idea at all.
Thank you very much for your help and all the other posters' help!
- Original Message - 
From: Daniel Watrous [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, January 05, 2005 10:00 AM
Subject: Re: [OT]web development fee

 

Epyonne,
First off, I don't think that you hijacked anyone's thread, but this list
seems to be very sensitive to that (and perhaps more affected by it than
other lists I have seen).
From my experience there are a couple of options you can pursue:
1) You could build the application from the ground up and charge an hourly
rate.  The rate will have to be agreed upon by you and the person
contracting you.
2) You could develop the eCommerce application at your own cost and sell a
license to it.  In this case you would have more direct control over the
features you build into it.  Also, while this costs you more up front
   

there
 

is more possibility to recover the cost in selling multiple licenses.
3) You could purchase a license to an existing application and adapt it to
meet your clients' needs.  In this case you would likely charge a flat fee
to recover your hard costs for the purchase and an hourly after that for
   

any
 

adaptations.  In this case I personally would ask for the hard costs up
front so as to not go to the expense and then have the client change
   

his/her
 

mind.
Now about the way you asked your question, I'm not sure if the web
application you have developed for your employer is an eCommerce
application.  In the event that it is eCommerce related you will likely
   

use
 

that as a base for whatever you build for your new client.  In this case
   

you
 

should discuss with your employer how he feels about you building off of a
code base that he has funded.  It may be that you could work out an
arrangement with your employer to accomplish option 3 above, and that your
employer will give you a license at a significant savings to you.
As far as contracts go,  you should probably consult with a lawyer for
   

that.
 

Daniel
- Original Message - 
From: epyonne [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, January 05, 2005 7:26 AM
Subject: [OT]web development fee

Since I am using Outlook Express, I did not realize that I was attaching
   

to
 

someone else thread and I apologize for that. I am starting a new thread
here and hopefully someone can help me.
I have been developing Java web application for my employer for a few
   

years,
 

but these are all running on our company's intranet only. Now someone is
asking me to develop an eCommerce site. I don't know how to charge him.
   

Can
 

someone please give me some ideas of the going rate and what kind of
contractual agreement I need? Is there anything else I need to watch out
for?
I am in the United States and I plan to use a commercial hosting company
   

to
 

host the site. It will cost around $30-40 a month.
Any help will be very much appreciated.
-
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]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: issue config'ing a webapp

2005-01-05 Thread Dwayne Ghant
In your Context tag.
Erik Weibust wrote:
Dwayne,
Where do I set the allowLinking attribute?
Erik
--- Dwayne Ghant [EMAIL PROTECTED] wrote:
 

Hope this helps.
--
Server Configuration Reference
The Context Container
--allowLinking--
If the value of this flag is true, symlinks will be allowed inside
the 
web application,
pointing to resources outside the web application base path. If not 
specified,
the default value of the flag is false.

Erik Weibust wrote:
   

I'm having a problem getting a webapp running in my instance of
 

tomcat.
   

I have attached all the relevant info below.
What I'm trying to do is use a sym link in a dir that points to a
generic version of my app.  That way I can have numerous versions
 

of
   

that app on my machine and instead of having to edit the server.xml
every time I want to switch from one version of the app to another I
can just change my sym link.  When I do this I get a Resources
 

start
   

failed error in my log files.
Any ideas?  Do I need to provide more info?  Will Tomcat not allow a
sym link in the docBase of a Context element?
Thanks...
Erik
 

from catalina.out
   

StandardContext[/mondev_ng]: Resources start failed:
java.lang.IllegalArgumentException: Document base
C:\cygwin\home\efw\cvs\MonDev_NG does not exist or is not a readable
directory at
 

org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:193)
   

from server.xml
   

Context path=/mondev_ng reloadable=true
docBase=C:\cygwin\home\efw\cvs\MonDev_NG
 Logger className=org.apache.catalina.logger.SystemOutLogger/
/Context
[EMAIL PROTECTED] ~/cvs$ ls -l
total 1
lrwxrwxrwx   1 efw mkgroup-l-d 18 Jan  5 12:02 MonDev_NG -
MonDev_NG_20050105/
drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:57 MonDev_NG_20050103/
drwxr-xr-x+ 14 efw mkgroup-l-d  0 Jan  5 11:32 MonDev_NG_20050105/
=
Erik Weibust
http://erik.weibust.net
 

-
   

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

 

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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

   


=
Erik Weibust
http://erik.weibust.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: Speed issues with SQL Server 2000 and JTDS

2005-01-05 Thread Dwayne Ghant
Hey Charles,
I have implement a database driver that I found online
do you think it will help you out???
Charles P. Killmer wrote:
I bought the Core Servlets and Java Server Pages and read it over the
weekend.  Happy New Year to me.  I did get out to a few parties though.
;)  I am having trouble getting JTDS to return results quickly. 

Has anyone got any example code for how to properly query a SQL Server
2000 database?  The code I write needs to work with both SQL Server 2000
and SQL Server 7.  In creating the connection, I am specifying
TYPE_SCROLL_INSENSITIVE and TYPE_CONCUR_READ_ONLY.  I tried not
specifying anything and got errors about not being able to scroll the
results.  Is the only solution to this, use FORWARD_ONLY and buffer the
contents myself?  I hoping there is a better way.
Thank you
Charles Killmer
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: Context for User development accounts??

2005-01-04 Thread Dwayne Ghant
Well QM ,
You pretty much got the idea.
I would like all context to load automatically and I already have
DefaultContext reloadable=true/
And I thought that was  enough.
But now you tell me of an attribute that I could even find in the
Server Configuration Reference ... The Context Container
documentation. I guess that I would have to create a Context 
loadOnStartup=true ... /
for every developer on the machine?

Please confirm..
Thank you for you time.
QM wrote:
On Mon, Jan 03, 2005 at 12:43:45PM -0800, Dwayne Ghant wrote:
: I have configured tomcat to read
: all user account on a local machine and it worked,
: but if I don't put a context in the
: server.xml file for /~username,
: then how does it get loaded and sence it seems
: to be loading automatically then
: how can I set reloadable=true of I can't find
: the context
If there's no Context/ element (neither in server.xml, nor
context.xml) but loadOnStartup=true, then Tomcat loads all contexts with
reasonable defaults.
Solution: create an explicit Context/ element for the context and
configure it to your heart's delight.
If I've misunderstood your question, please elaborate =)
-QM
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Dwayne Ghant
http://localhost:port/manager/status
joon yoo wrote:
On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM
JAVA_OPTS was set to -Xmx768m -Xms768m -server 

as an environment variable in Windows, (not set in a batch file to
start tomcat).
How can it be confirmed that the new JVM settings is configured and
running correctly?
Thanks,
Joon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Context for User development accounts??

2005-01-03 Thread Dwayne Ghant
I must have missed this answer in my readings
some where. I have an easy question concerning the
context container.
I have configured tomcat to read
all user account on a local machine and it worked,
but if I don't put a context in the
server.xml file for /~username,
then how does it get loaded and sence it seems
to be loading automatically then
how can I set reloadable=true of I can't find
the context
Your assistance will be much appreciated.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Dwayne Ghant
Did you try to Google it.
Glenn Parsons wrote:
Hello All,
The Apache.org site says the binary is there. But when you go to 
retrieve it, all that is offered is 1.2.6.
http://jakarta.apache.org/site/binindex.cgi

I need the 1.2.8 binary to use JKUnmount, and now I'm chasing my tail 
to install Ant, then it appears that my build.properties for mod_jk 
wants a path to source(?) in my Jakarta/Tomcat directory, which was 
installed, binary (/home/jakarta-tomcat-5.5.4/build).

Any help appreciated.
Thanks,
Glenn
--
This message has been scanned for viruses and
dangerous content by *MailScanner* 
http://www.sng.ecs.soton.ac.uk/mailscanner/, and is
believed to be clean. Configuration by dnasadmin-at-1bigthink.com -- 
Glenn Parsons


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

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Dwayne Ghant
I hope the links below help.
http://apache.planetmirror.com.au/dist/jakarta/tomcat-connectors/jk/binaries/win32/
http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.6/
http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/
http://ftp.solace.mh.se/pub/mirrors/www.apache.org/jakarta/tomcat-connectors/jk/binaries/win32/?C=N;O=D
Glenn Parsons wrote:
At 02:38 PM 12/30/2004, you wrote:
Did you try to Google it.
Glenn Parsons wrote:
Hello All,
The Apache.org site says the binary is there. But when you go to 
retrieve it, all that is offered is 1.2.6.
http://jakarta.apache.org/site/binindex.cgi

I need the 1.2.8 binary to use JKUnmount, and now I'm chasing my 
tail to install Ant, then it appears that my build.properties for 
mod_jk wants a path to source(?) in my Jakarta/Tomcat directory, 
which was installed, binary (/home/jakarta-tomcat-5.5.4/build).

Any help appreciated.
Thanks,
Glenn

Yep. Been dere done dat! First hit is to the link I gave above, 
though! Lot o' good that did me. I can't compile this thing. Too 
many steps missing from the docs for the clueless. Though, I'm not 
entirely clueless; I know enough to be dangerous enough to try it!

Any other help kindly appreciated!

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

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Dwayne Ghant
Configured tomcat.5.0.27/apache2.x/mod_jk2.so
After configuration my admin and manager application
stoped working.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Dwayne Ghant
I know that someone ran into this before.
I assume that most of this list thinks this questions is
stupid and you are probably correct; so please accept my
apologeis.
But that doesn't stop me from needing assistance.
Thank you for your time.
Dwayne Ghant wrote:
Configured tomcat.5.0.27/apache2.x/mod_jk2.so
After configuration my admin and manager application
stoped working.

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread Dwayne Ghant
Like a dummy I made the owfull mistake of deleting
the /ROOT context I really need to restore it ASAP.
Can someone please help me I have been here for three
ours trying to fix this without reinstalling the whole thing.
My config. is
tomcat5.0.2x/ Apache 2 / mod_jk2
PLEASE HELP.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread Dwayne Ghant
You mean like this ???
Context path= docBase=$CATALINA_HOME/webapps/ROOT debug=0 
reloadable=true crossContext=true privileged=true
D'Alessandro, Arthur wrote:

Define deleted the /ROOT context...
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!

Like a dummy I made the owfull mistake of deleting
the /ROOT context I really need to restore it ASAP.
Can someone please help me I have been here for three
ours trying to fix this without reinstalling the whole thing.
My config. is
tomcat5.0.2x/ Apache 2 / mod_jk2
PLEASE HELP.
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread Dwayne Ghant
Using the manerger I login and clicked on
the remove button to delete the /ROOT Context ...
D'Alessandro, Arthur wrote:
Define deleted the /ROOT context...
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!

Like a dummy I made the owfull mistake of deleting
the /ROOT context I really need to restore it ASAP.
Can someone please help me I have been here for three
ours trying to fix this without reinstalling the whole thing.
My config. is
tomcat5.0.2x/ Apache 2 / mod_jk2
PLEASE HELP.
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread Dwayne Ghant
Yes, you are correct.
No backup. but I do have a replicated directory on another installation
of tomcat that I can copy over do you think that will work??
I really put my self in a jam NOW!
D'Alessandro, Arthur wrote:
So you undeployed using the manager app.. You'll have to restore the
ROOT folder from a backup, I'm assuming this is your custom root web
application, and not the default that came with tomcat. 

-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 10:09 PM
To: Tomcat Users List
Subject: Re: DELETED /ROOT CONTEXT PLEAS HELP!!!

Using the manerger I login and clicked on
the remove button to delete the /ROOT Context ...
D'Alessandro, Arthur wrote:
 

Define deleted the /ROOT context...
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!

Like a dummy I made the owfull mistake of deleting
the /ROOT context I really need to restore it ASAP.
Can someone please help me I have been here for three
ours trying to fix this without reinstalling the whole thing.
My config. is
tomcat5.0.2x/ Apache 2 / mod_jk2
PLEASE HELP.

   


 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread Dwayne Ghant
. 

-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 10:09 PM
To: Tomcat Users List
Subject: Re: DELETED /ROOT CONTEXT PLEAS HELP!!!

Using the manerger I login and clicked on
the remove button to delete the /ROOT Context ...
D'Alessandro, Arthur wrote:
   

Define deleted the /ROOT context...
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 10:01 PM
To: Tomcat Users List
Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!

Like a dummy I made the owfull mistake of deleting
the /ROOT context I really need to restore it ASAP.
Can someone please help me I have been here for
 

three
   

ours trying to fix this without reinstalling the
 

whole thing.
   

My config. is
tomcat5.0.2x/ Apache 2 / mod_jk2
PLEASE HELP.

 

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[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]
   


		
__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

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


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: DELETED /ROOT CONTEXT PLEAS HELP!!!

2004-12-21 Thread Dwayne Ghant
It WORKED. LOL, I CAN'T BELIEVE IT WORKED.
All I have to do now is make the admin Context ...  Work (which
very hard to do also).
Dwayne Ghant wrote:
No portions of it left over at all. All I see the those direcoties is:
SESSIONS.ser  tldCache.ser
===
Ok well tried (coping /ROOT from another installation of tomcat)  my 
idea an have two BAD
results reported in my $CATALINA_HOME/log/catalina.out :

Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext 
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /ROOT does not exist 
or is not a readable directory
   at 
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138) 

   at 
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910) 

   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) 

   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
   at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903) 

   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:216) 

   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.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76) 

   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.XML11Configuration.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:488) 

   at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
   at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483) 

   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) 

   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) 

   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:480)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
   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.catalina.startup.Bootstrap.start(Bootstrap.java:287)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Exception during cleanup after start failed
LifecycleException:  Container 
StandardContext[/usr/local/tomcat-5.0.27/webapps/ROOT] has not been 
started

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dwayne Ghant
Have fun I hope this helps!!! It should.
web-app id='/'
servlet servlet-name='hello'
servlet-class='test.HelloWorld'
 load-on-startup/
/servlet
/web-app
The value is a list of 24-hour times when the servlet should be 
automatically executed. To run the servlet every 6 hours, you could use:

servlet servlet-name='test.HelloWorld'
 run-at0:00, 6:00, 12:00, 18:00/run-at
/servlet

Frank W. Zammetti wrote:
Your just lending weight to what I said... Don't play with threads in 
a servlet contain unless your really sure you have to and are really 
sure you can do it safely :)

(I'm not sure I knew init() could be called more than once, certainly 
I didn't remember when I wrote that, so excellent point)


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dwayne Ghant
The alarm is configured as any other servlet, with the addition of the 
run-at tag. The following configuration runs the servlet every 15 
minutes. If the hour is missing, e.g. :15 the service is run at the 
specified minute.
15 minute configuration

servlet name='alarm' servlet-class='test.TestAlarm'
run-at:00, :15, :30, :45/run-at
/servlet
Allistair Crossley wrote:
+1. you aren't being clear  the only reason I can think you have an 
application wishing to talk to a servlet is that you are then going on to 
request info from the servlet from a remote machine across the net?? .. in that 
case and most others you should have your application polling the servlet 
itself in a thread. you'll need to explain your scenario if this is inaccurate, 
i.e if the Java App is in fact also a web app.
JAVA APPLICATION || TOMCAT + SERVLET || INTERNET || REMOTE MACHINE
- POLL 30s -
 REQUEST INFO 
 --- RESPONSE 
-- RESPONSE 
 

-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED]
Sent: 21 December 2004 16:03
To: Tomcat Users List
Subject: Re: How to run servlet for every 30 minutes in Tomcat 4.1.30
Shilpa Nalgonda wrote:
   

Hi,
I am using Tomcat4.1.30 version.
I have to develop a client application which looks in the 
 

database every 30
   

minutes,
to retrieve the status of an order and send the status to 
 

the remote client.
   

Again waits for the
The client's response and insert the repsonse back to the database.
I wanted to do this in a servlet, so is there any way that 
 

i could run this
   

servlet automatically inside the
Tomcat container, or is it configurable in servlet mapping? 
 

if so can
   

someone please suggest me with examples...

 

-
   

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

 

Wellit's kind of not extremely clear what you are asking, but why 
does the servlet need to do anything except listen for a 
client which is 
threaded to do this every 30 minutes, in other words...why 
not have the 
servlet do what it naturally does...sit there and get hit by client 
requestsget the infoand send it back?  I mean...the servlet 
can't push to the client unless you want to use something 
besides http, 
or unless you are using servlets on both ends and http 
servers on both 
ends.  You could use keep alives I guess.I wouldn't 
thoughonly 
so many tcp/ip connections.

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


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


$CATALINA_BASE

2004-12-20 Thread Dwayne Ghant
Hello All,
Just a real quick question???
I'm in the process of configuring
more then one instance of tomcat .
How would I configure many instances?
of tomcat with the same
$CATALINA_BASE/bin
$CATALINA_BASE/conf
$CATALINA_BASE/log
.
.
.
.
etc.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: $CATALINA_BASE

2004-12-20 Thread Dwayne Ghant
Could someone please confirm that I would have to take the time
configure all the CATALINA_BASE's to be in the same place
for all tihe installed instances of  tomcat.. I can do the rest.
Dwayne Ghant wrote:
Hello All,
Just a real quick question???
I'm in the process of configuring
more then one instance of tomcat .
How would I configure many instances?
of tomcat with the same
$CATALINA_BASE/bin
$CATALINA_BASE/conf
$CATALINA_BASE/log
.
.
.
.
etc.

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: workers2.properties for mod_jk2.so and loadbalancing

2004-12-17 Thread Dwayne Ghant
Maybe may thinking is wronge. I thought that there was a way to 
loadbalance using worker2.properties
file. I know you could loadbalance using mod_proxy and mod_rewrite, but 
I was just wondering if anyone
else had did it using the AJP protocal???

One other simple question.
Does tomcat also know to look at $CATALINA_BASE like it knows to look in 
$CATALINA_HOME?

Dwayne Ghant wrote:
Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration .
My current configuration is
Apache2.0.46/tomcat5.0.28/mod_jk2.so

Please keep in mind that I am
using mod_jk2.so so that mean the
configuration uses the mechanism modeled
after JMX.
All I have to do is take a look at an
example of loadbalancing done this way
and I should be fine.
Thank you .

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: workers2.properties for mod_jk2.so and loadbalancing

2004-12-17 Thread Dwayne Ghant
Any body want to give this a shot?
Dwayne Ghant wrote:
Maybe may thinking is wronge. I thought that there was a way to 
loadbalance using worker2.properties
file. I know you could loadbalance using mod_proxy and mod_rewrite, 
but I was just wondering if anyone
else had did it using the AJP protocal???

One other simple question.
Does tomcat also know to look at $CATALINA_BASE like it knows to look 
in $CATALINA_HOME?

Dwayne Ghant wrote:
Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration .
My current configuration is
Apache2.0.46/tomcat5.0.28/mod_jk2.so

Please keep in mind that I am
using mod_jk2.so so that mean the
configuration uses the mechanism modeled
after JMX.
All I have to do is take a look at an
example of loadbalancing done this way
and I should be fine.
Thank you .


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: workers2.properties for mod_jk2.so and loadbalancing

2004-12-17 Thread Dwayne Ghant
 on the tomcat id(s) above,
# define a mapping to be forwarded.
#
# @OPTIONAL: You may add  debug=9 for triage, if needed
#
# @OPTIONAL: You may change the info= to be descriptive of this application.
#
[uri:/iltsp6150/*]
info=JK2-enabled-application installed under /@TODO-application-context

[uri:/iltsp6150a/*]
info=JK2-enabled-application installed under /@TODO-application-context
[uri:/iltsp6150b/*]
info=JK2-enabled-application installed under /@TODO-application-context
# --- END  MAPPING--
# +++ /jkstatus MAPPING   ++
#
# @OPTIONAL: This provides a status report on the JK2 connector.  Remove
# if you don't want this available.
#
[uri:/jkstatus/*]
worker=status:status
# --- /jkstatus MAPPING   --
-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 17, 2004 12:21 PM
To: Tomcat Users List
Subject: Re: workers2.properties for mod_jk2.so and loadbalancing

Maybe may thinking is wronge. I thought that there was a way to loadbalance 
using worker2.properties file. I know you could loadbalance using mod_proxy and 
mod_rewrite, but I was just wondering if anyone else had did it using the AJP 
protocal???
One other simple question.
Does tomcat also know to look at $CATALINA_BASE like it knows to look in 
$CATALINA_HOME?
Dwayne Ghant wrote:
 

Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration .
My current configuration is
Apache2.0.46/tomcat5.0.28/mod_jk2.so

Please keep in mind that I am
using mod_jk2.so so that mean the
configuration uses the mechanism modeled
after JMX.
All I have to do is take a look at an
example of loadbalancing done this way
and I should be fine.
Thank you .
   


 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: WAR files and Eclipse

2004-12-16 Thread Dwayne Ghant
I did as suggested but it didn't work . The ironic thing now is that scence
I tried that the user accounts /home/username/public_html no longer 
works to
compile jsp pages. I figure this is weird becasue I see the compilation 
.class files in
the $CATALINAHOME/work/Catalina/localhost/~username/classname.class, 
but
when I try to go to http://localhost/~username/index.jsp I just see a 
pure white page. No
matter how many time I reboot the server I get the same result

Does anyone else want to take a shoot at this or am I to give up.
sven morales wrote:
 I think there is another attribute to Listener
which is home.Base.  Set this where you normally put
user/public_html directory.  For example on mine, its
set as  homeBase=/home  and user home is 
/home/sergio.   Once this is working, any war files on
your /home/user/public_html should get expanded. 

--- Dwayne Ghant [EMAIL PROTECTED] wrote:
 

Anybody won't to take a shoot at this?
Dwayne Ghant wrote:
   

Intresting question associated with this subject.
If I have public_html  enabled for developers on
local machine ex:
  Listener
 

className=org.apache.catalina.startup.UserConfig
   

  directoryName=public_html
 
 

userClass=org.apache.catalina.startup.PasswdUserDatabase/
 

Can I have  a setting for tomcat to unwar there
 

personal test 
   

applications in
there public_html directories
I'm assuming it would look something like this
 

(listed below):
   

Host name=localhost debug=0
 

appBase=/home/*/public_html
   

 unpackWARs=true autoDeploy=true
 xmlValidation=false
 

xmlNamespaceAware=false
   

  /Host
I'm probably incorrect, but I do need to know, to
 

finish setting up 
   

JSP enviornment for
java developers like myself.
.
Rhino wrote:
 

It's actually very easy to do what you want to
   

do.
   

Assuming you have correctly installed and
   

configured Sysdeo, you will 
   

need
to tell Eclipse where the War file for your
   

Tomcat project should be
   

generated. This is done on a *project* basis,
   

i.e. you have to repeat 
   

this
step once for each Tomcat project you create but
   

you will never have 
   

to do
this again for a given project unless you change
   

the location where 
   

you want
the War file.
1. Select the Tomcat project in the Package
   

Explorer perspective.
   

2. Right click for a context menu. Choose
   

'Properties'.
   

3. Within Properties, choose 'Tomcat' from the
   

tree on the left.
   

4. Click on the 'Export to WAR settings' tab
   

within the Tomcat 
   

properties.
5. Enter the path that tells Tomcat where to
   

generate your War file. The
   

path name should include the file name of the War
   

file. I normally 
   

put my
War files in a folder called 'war' directly
   

beneath the project so my 
   

WAR
file for export looks like this:
D:\eclipse\workspace\MyProject\war\MyProject.war.
   

Naturally, you are 
   

free to
organize your files differently.
6. Click on OK to close the Properties dialog.
Then, every time you want to regenerate your War
   

file, all you need 
   

to do is
this:
1. Select the Tomcat project in the Package
   

Explorer perspective.
   

2. Right-click for a context menu. Choose 'Tomcat
   

project'.
   

3. Choose 'Export to the war file sets in project
   

properties'.
   

4. You should get a brief message that tells you
   

the operation worked.
   

Now, if you don't find Tomcat in the Properties
   

tree or if you don't 
   

see the
'Tomcat project' option in the context menu, it
   

means you probably 
   

didn't
configure Sysdeo correctly. Don't worry, it's not
   

that hard to fix. 
   

Just let
us know and we'll try to help.
Rhino
- Original Message - From: Daniel
   

Watrous 
   

[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 13, 2004 3:43 PM
Subject: WAR files and Eclipse
Hello All,
I am new to WAR files and eclipse.  Many searches
   

on google bring me 
   

to the
sysdeo tomcat plugin, which I have installed.  I
   

want to know if 
   

there is
some standard way to generate a WAR file for
   

deployment.  I have 
   

found that
I can export a JAR file and change its name, but
   

in the process the
   

directory structure is altered.  Maybe you even
   

know about a better 
   

IDE than
eclipse for working with web-based projects. 
   

THANKS in advance.
   

Daniel

   

-
 

To unsubscribe, e-mail:
   

[EMAIL PROTECTED]
   

For additional commands, e-mail:
   

[EMAIL PROTECTED]
   


   

 

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]


   

-
 

To unsubscribe, e-mail:
[EMAIL

Re: WAR files and Eclipse

2004-12-16 Thread Dwayne Ghant
Yes you are correct. Thus far I have correctly configured 
Apache2.x/Tomcat5.x/mod.jk2 .
And it works pretty seamlessly. My attemps to get the the useraccounts 
working resulted in
me doing this:

Listener className=org.apache.catalina.startup.UserConfig
   directoryName=public_html
   homeBase=/home/
   userClass=org.apache.catalina.startup.PasswdUserDatabase/
Which did work!!!
The only objective  I was trying to achive after that was working; was 
too make sure tomcat
would unzip all .jar file in /home/useraccounts/public_html/ .
I thought this would be preatty simple.

If I am correct I do believe that the unziping funtionality is bound to 
the Host tag.  Allowing
only the appBase attribute to be used once per Host tag.
ex:
Host name=localhost debug=0 appBase=/var/www/html/
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false

So with that said I belive that I would have to set up another host.
Everyone out there: If I stand corrected please tell me ???
I LOVE IT WHEN I'M CORRECTED;  it simply means I'm learning something new.

sven morales wrote:
 Wait a minute, you didnt say you were using Apache
to front the Tomcat did you?  At least thats the
impression I gathered since you were hitting it as
http://localhost/~userjoe/index.jsp.   I am not overly
familiar with having Apache fronting Tomcat.   With
that kind of URI, I think its going to the apache side
and not to Tomcat.  You must set your mapping in
http.conf or worker.properties(?) to make this work.
   Or your set-up has Tomcat serving off port 80 and
you are running this as root right?
--- Dwayne Ghant [EMAIL PROTECTED] wrote:
 

I did as suggested but it didn't work . The ironic
thing now is that scence
I tried that the user accounts
/home/username/public_html no longer 
works to
compile jsp pages. I figure this is weird becasue I
see the compilation 
.class files in
the

   

$CATALINAHOME/work/Catalina/localhost/~username/classname.class,
 

but
when I try to go to
http://localhost/~username/index.jsp I just see a 
pure white page. No
matter how many time I reboot the server I get the
same result

Does anyone else want to take a shoot at this or am
I to give up.
sven morales wrote:
   

I think there is another attribute to Listener
which is home.Base.  Set this where you normally
 

put
   

user/public_html directory.  For example on mine,
 

its
   

set as  homeBase=/home  and user home is 
/home/sergio.   Once this is working, any war files
 

on
   

your /home/user/public_html should get expanded. 

--- Dwayne Ghant [EMAIL PROTECTED] wrote:

 

Anybody won't to take a shoot at this?
Dwayne Ghant wrote:
  

   

Intresting question associated with this subject.
If I have public_html  enabled for developers
 

on
   

local machine ex:
 Listener


 

className=org.apache.catalina.startup.UserConfig
  

   

 directoryName=public_html



 

userClass=org.apache.catalina.startup.PasswdUserDatabase/
   


 

Can I have  a setting for tomcat to unwar there


 

personal test 
  

   

applications in
there public_html directories
I'm assuming it would look something like this


 

(listed below):
  

   

   Host name=localhost debug=0


 

appBase=/home/*/public_html
  

   

unpackWARs=true autoDeploy=true
xmlValidation=false


 

xmlNamespaceAware=false
  

   

 /Host
I'm probably incorrect, but I do need to know, to


 

finish setting up 
  

   

JSP enviornment for
java developers like myself.
.
Rhino wrote:


 

It's actually very easy to do what you want to
  

   

do.
  

   

Assuming you have correctly installed and
  

   

configured Sysdeo, you will 
  

   

need
to tell Eclipse where the War file for your
  

   

Tomcat project should be
  

   

generated. This is done on a *project* basis,
  

   

i.e. you have to repeat 
  

   

this
step once for each Tomcat project you create but
  

   

you will never have 
  

   

to do
this again for a given project unless you change
  

   

the location where 
  

   

you want
the War file.
1. Select the Tomcat project in the Package
  

   

Explorer perspective.
  

   

2. Right click for a context menu. Choose
  

   

'Properties'.
  

   

3. Within Properties, choose 'Tomcat' from the
  

   

tree on the left.
  

   

4. Click on the 'Export to WAR settings' tab
  

   

within the Tomcat 
  

   

properties.
5. Enter the path that tells Tomcat where to
  

   

generate your War file. The
  

   

path name should include the file name of the
   

War
   

  

   

file. I normally 
  

   

put my
War files

workers2.properties for mod_jk2.so and loadbalancing

2004-12-16 Thread Dwayne Ghant
Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration .
My current configuration is
Apache2.0.46/tomcat5.0.28/mod_jk2.so

Please keep in mind that I am
using mod_jk2.so so that mean the
configuration uses the mechanism modeled
after JMX.
All I have to do is take a look at an
example of loadbalancing done this way
and I should be fine.
Thank you .
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: WAR files and Eclipse

2004-12-15 Thread Dwayne Ghant
Anybody won't to take a shoot at this?
Dwayne Ghant wrote:
Intresting question associated with this subject.
If I have public_html  enabled for developers on
local machine ex:
   Listener className=org.apache.catalina.startup.UserConfig
   directoryName=public_html
   userClass=org.apache.catalina.startup.PasswdUserDatabase/
Can I have  a setting for tomcat to unwar there personal test 
applications in
there public_html directories

I'm assuming it would look something like this (listed below):
 Host name=localhost debug=0 appBase=/home/*/public_html
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
   /Host
I'm probably incorrect, but I do need to know, to finish setting up 
JSP enviornment for
java developers like myself.
.
Rhino wrote:

It's actually very easy to do what you want to do.
Assuming you have correctly installed and configured Sysdeo, you will 
need
to tell Eclipse where the War file for your Tomcat project should be
generated. This is done on a *project* basis, i.e. you have to repeat 
this
step once for each Tomcat project you create but you will never have 
to do
this again for a given project unless you change the location where 
you want
the War file.

1. Select the Tomcat project in the Package Explorer perspective.
2. Right click for a context menu. Choose 'Properties'.
3. Within Properties, choose 'Tomcat' from the tree on the left.
4. Click on the 'Export to WAR settings' tab within the Tomcat 
properties.
5. Enter the path that tells Tomcat where to generate your War file. The
path name should include the file name of the War file. I normally 
put my
War files in a folder called 'war' directly beneath the project so my 
WAR
file for export looks like this:
D:\eclipse\workspace\MyProject\war\MyProject.war. Naturally, you are 
free to
organize your files differently.
6. Click on OK to close the Properties dialog.

Then, every time you want to regenerate your War file, all you need 
to do is
this:
1. Select the Tomcat project in the Package Explorer perspective.
2. Right-click for a context menu. Choose 'Tomcat project'.
3. Choose 'Export to the war file sets in project properties'.
4. You should get a brief message that tells you the operation worked.

Now, if you don't find Tomcat in the Properties tree or if you don't 
see the
'Tomcat project' option in the context menu, it means you probably 
didn't
configure Sysdeo correctly. Don't worry, it's not that hard to fix. 
Just let
us know and we'll try to help.

Rhino
- Original Message - From: Daniel Watrous 
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 13, 2004 3:43 PM
Subject: WAR files and Eclipse

Hello All,
I am new to WAR files and eclipse.  Many searches on google bring me 
to the
sysdeo tomcat plugin, which I have installed.  I want to know if 
there is
some standard way to generate a WAR file for deployment.  I have 
found that
I can export a JAR file and change its name, but in the process the
directory structure is altered.  Maybe you even know about a better 
IDE than
eclipse for working with web-based projects.  THANKS in advance.

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



--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: WAR files and Eclipse

2004-12-14 Thread Dwayne Ghant
Intresting question associated with this subject.
If I have public_html  enabled for developers on
local machine ex:
   Listener className=org.apache.catalina.startup.UserConfig
   directoryName=public_html
   userClass=org.apache.catalina.startup.PasswdUserDatabase/
Can I have  a setting for tomcat to unwar there personal test 
applications in
there public_html directories

I'm assuming it would look something like this (listed below):
 Host name=localhost debug=0 appBase=/home/*/public_html
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
   /Host
I'm probably incorrect, but I do need to know, to finish setting up JSP 
enviornment for
java developers like myself.
.
Rhino wrote:

It's actually very easy to do what you want to do.
Assuming you have correctly installed and configured Sysdeo, you will need
to tell Eclipse where the War file for your Tomcat project should be
generated. This is done on a *project* basis, i.e. you have to repeat this
step once for each Tomcat project you create but you will never have to do
this again for a given project unless you change the location where you want
the War file.
1. Select the Tomcat project in the Package Explorer perspective.
2. Right click for a context menu. Choose 'Properties'.
3. Within Properties, choose 'Tomcat' from the tree on the left.
4. Click on the 'Export to WAR settings' tab within the Tomcat properties.
5. Enter the path that tells Tomcat where to generate your War file. The
path name should include the file name of the War file. I normally put my
War files in a folder called 'war' directly beneath the project so my WAR
file for export looks like this:
D:\eclipse\workspace\MyProject\war\MyProject.war. Naturally, you are free to
organize your files differently.
6. Click on OK to close the Properties dialog.
Then, every time you want to regenerate your War file, all you need to do is
this:
1. Select the Tomcat project in the Package Explorer perspective.
2. Right-click for a context menu. Choose 'Tomcat project'.
3. Choose 'Export to the war file sets in project properties'.
4. You should get a brief message that tells you the operation worked.
Now, if you don't find Tomcat in the Properties tree or if you don't see the
'Tomcat project' option in the context menu, it means you probably didn't
configure Sysdeo correctly. Don't worry, it's not that hard to fix. Just let
us know and we'll try to help.
Rhino
- Original Message - 
From: Daniel Watrous [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 13, 2004 3:43 PM
Subject: WAR files and Eclipse

Hello All,
I am new to WAR files and eclipse.  Many searches on google bring me to the
sysdeo tomcat plugin, which I have installed.  I want to know if there is
some standard way to generate a WAR file for deployment.  I have found that
I can export a JAR file and change its name, but in the process the
directory structure is altered.  Maybe you even know about a better IDE than
eclipse for working with web-based projects.  THANKS in advance.
Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Dwayne Ghant
Have you tried writing a session bean??? if not 
just write a session bean and import it as a header in
all you *.jsp pages.  The sessions will controll the flow of
the application.

ex:
%@ include file=Secrity_stuff.jsp %
This is common in writing applications.
Robert Taylor wrote:
Thanks Hassan. I didn't realize that was added to the 2.4 spec.
Thanks for pointing that out. 

Even so, it would be nice to know how to use CMS to achieve this.
Maybe a better way to form the question would be how do I use
CMS to protect .jsp pages from direct access and return a user
friendly page/message when a .jsp page is requested without going through
the controller?
/robert
 

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 2:21 PM
To: Tomcat Users List
Subject: Re: [newbie] Container Managed Security - preventing direct
access to .jsp
Robert Taylor wrote:
   

Please let me know if this questions is just too obvious
and I'll gladly RTFM...
 

See below :-)
   

It just seems like a common idiom to provide a portable mechanism
for protecting direct access to .jsp so as to enforce access through
some controller. I have in the past placed .jsp files behind WEB-INF,
but I don't believe that is portable and would like to use CMS to achieve
this.
 

Given that the Java Servlet Specification Version 2.4, page 70 sez:
A special directory exists within the application hierarchy
named WEB-INF. This directory contains all things related to
the application that aren't in the document root of the
application. The WEB-INF node is not part of the public
document tree of the application. No file contained in the
WEB-INF directory may be served directly to a client by the
container.
I don't know how much more portable you want it to be :-)
HTH!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: Books on Tomcat

2004-12-13 Thread Dwayne Ghant
Here's a pretty good link.
http://www.javaworld.com/javaworld/jw-03-2003/jw-0328-servlet.html
QM wrote:
On Fri, Dec 10, 2004 at 08:50:00AM -0500, Shapira, Yoav wrote:
: The danger with these books is that Tomcat's development
: pace is faster than the book publishing pace, so any Tomcat-specific
: parts in them are subject to change.  (Stuff that's portable, i.e.
: designed and written to the Servlet Spec, is obviously much safer over
: time).
I agree with Yoav on this one.  Servlet containers' minimum offerings
and behavior are mandated by the servlet spec.  You'd to yourself a
favor to learn the spec and then just use the Tomcat docs to get up and
running.
Dustin Calloway's Inside Servlets is a fine book in this regard,
though it only covers up through spec 2.3.
-QM
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

2004-12-10 Thread Dwayne Ghant
Funny where is the ROOT context the only context available
is the one that I defined.
I know that if I re-enable the  Coyote HTTP/1.1 Connector  and
disable the  Coyote/JK2 AJP 1.3 Connector then the ROOT context
implicitly works otherwise it doesn't whe I try to bring it up in my URL
(http://mydomain.com).
Trying  to make all the default tomcat applications work with 
Apache/Tomcat configuration,
is harder then configuring tomcat and apapche together with mod_jk2!!!

This so Funny I can't believe this is happening to me.
Laconia Data Systems wrote:
Dwayne-
ROOT war files
.war files with the name ROOT.war are given special treatment during
deployment, when Tomcat detects and deploys the ROOT.war file instead of
creating a web application mapped to (/warname).war it maps it to the root
url (http://yourdomain.com/). However, because the root context is
preconfigured within the server.xml above deploying a ROOT.war file will
have no affect because a root context already exists. To deploy ROOT.war
files, stop Tomcat, remove the root context and restart Tomcat.
Martin Gainty
- Original Message - 
From: Dwayne Ghant [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 3:56 PM
Subject: Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

 

Does anyone want to take shot at that question.
I know it's simple but for some reason I seem to
be having some kind of problem!!!
PLEASE HELP.
Dwayne Ghant wrote:
   

I have successfully install both tomcat and apache.
And they work find together.
What I would  like to do now is re-enable the ROOT context so I can
view the ROOT applications. I have tried the code below (thinking that
is all I would have to do), but it didn't work.
Context path= docBase=ROOT debug=0 reloadable=true
crossContext=true/
Could anyone take a shot at this .
All I would like to do is be able to see the ROOT default applications
 

in
 

my URL (ex:http://localhost/).
Thank you .
 

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[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]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

2004-12-10 Thread Dwayne Ghant
OR
I could just make an NEW Host ex:
Host name=www.mycompany.com ...
 ...
 Aliasmycompany.com/Alias
 ...
/Host
and build and explicit *|appBase|* to tomcat/webapps.
What you think???
That would work the same??
Laconia Data Systems wrote:
This from David Brown concerning ROOT.WAR
the ROOT application context is
actually a docBase defined in server.xml. and, this is the /examples
webapp that lets u see the tc documentation and other usefull stuff online
w/o directory references. in the long run u r much better off creating u own
webapp .war and exanding it in ur own webapps directory. see the /examples
build: ant and build.xml. i u r not already familiar w/ the java and tc way
of building projects
Accept that root.war belongs to and is part of Tomcat
HTH
Martin-
- Original Message - 
From: Dwayne Ghant [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 10, 2004 11:22 AM
Subject: Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

 

Funny where is the ROOT context the only context available
is the one that I defined.
I know that if I re-enable the  Coyote HTTP/1.1 Connector  and
disable the  Coyote/JK2 AJP 1.3 Connector then the ROOT context
implicitly works otherwise it doesn't whe I try to bring it up in my URL
(http://mydomain.com).
Trying  to make all the default tomcat applications work with
Apache/Tomcat configuration,
is harder then configuring tomcat and apapche together with mod_jk2!!!
This so Funny I can't believe this is happening to me.
Laconia Data Systems wrote:
   

Dwayne-
ROOT war files
.war files with the name ROOT.war are given special treatment during
deployment, when Tomcat detects and deploys the ROOT.war file instead of
creating a web application mapped to (/warname).war it maps it to the
 

root
 

url (http://yourdomain.com/). However, because the root context is
preconfigured within the server.xml above deploying a ROOT.war file will
have no affect because a root context already exists. To deploy ROOT.war
files, stop Tomcat, remove the root context and restart Tomcat.
Martin Gainty
- Original Message - 
From: Dwayne Ghant [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 3:56 PM
Subject: Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x


 

Does anyone want to take shot at that question.
I know it's simple but for some reason I seem to
be having some kind of problem!!!
PLEASE HELP.
Dwayne Ghant wrote:

   

I have successfully install both tomcat and apache.
And they work find together.
What I would  like to do now is re-enable the ROOT context so I can
view the ROOT applications. I have tried the code below (thinking that
is all I would have to do), but it didn't work.
Context path= docBase=ROOT debug=0 reloadable=true
crossContext=true/
Could anyone take a shot at this .
All I would like to do is be able to see the ROOT default applications
 

in
 

my URL (ex:http://localhost/).
Thank you .

 

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[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]

 

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[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]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

2004-12-09 Thread Dwayne Ghant
I have successfully install both tomcat and apache.
And they work find together.
What I would  like to do now is re-enable the ROOT context so I can
view the ROOT applications. I have tried the code below (thinking that 
is all I would have to do), but it didn't work.

Context path= docBase=ROOT debug=0 reloadable=true 
crossContext=true/

Could anyone take a shot at this .
All I would like to do is be able to see the ROOT default applications in
my URL (ex:http://localhost/).
Thank you .
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Tomcat 5.0.28 won't start??????????????

2004-12-09 Thread Dwayne Ghant
Runing tomcat 5.0.27 I get this error list below for the first time. I
think is because I have j2ee.jar is in the classpath which was causing 
java.lang.reflect.InvocationTargetException.
Pleaese advise???

[user]# ./catalina.sh run
.
.
.
Dec 9, 2004 2:57:16 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
   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:216)
   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.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
   at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
   at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.XML11Configuration.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:1548)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
   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.catalina.startup.Bootstrap.load(Bootstrap.java:250)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Caused by: java.lang.IllegalArgumentException: addChild:  Child name '' 
is not unique
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:817)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
   ... 27 more
Catalina.start using conf/server.xml: 
java.lang.IllegalArgumentException: addChild:  Child name '' is not unique
java.lang.IllegalArgumentException: addChild:  Child name '' is not unique
   at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
   at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
   at 
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
   at 
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
   at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
   at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.XML11Configuration.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:1548)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
   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.catalina.startup.Bootstrap.load(Bootstrap.java:250)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Dec 9, 2004 2:57:16 PM org.apache.commons.digester.Digester endElement
SEVERE: End 

Re: Tomcat 5.0.28 won't start??????????????

2004-12-09 Thread Dwayne Ghant
Absolutly correct that is exactly what I did and everything is fine.
It seems that I have written one of my context tags the wronge way in
attemps to get the ROOT jakarta applications working under Apache.
What I would  like to do now is re-enable the ROOT context so I can
view the ROOT applications in apache. I have tried the code below 
(thinking that is all I would have to do), but it didn't work.

Context path= docBase=ROOT debug=0 reloadable=true 
crossContext=true/

Could anyone take a shot at this .
All I would like to do is be able to see the ROOT default applications 
in tomcat work in
my URL (ex:http://localhost/).

Thank you .
David Smith wrote:
On the exception reported -- run your server.xml file and all your 
context.xml files through an xml validator.  It'll point out where you 
have some invalid xml syntax.

--David
Shapira, Yoav wrote:
Hi,
 

Runing tomcat 5.0.27 I get this error list below for the first time. I
think is because I have j2ee.jar is in the classpath which was
  
causing
 

java.lang.reflect.InvocationTargetException.
Pleaese advise???
  

Advice: don't have j2ee.jar anywhere in your Tomcat installation.
Advice: search the archives of this list before posting, on the off
chance someone has run into your issue before and someone else bothered
to explain the problem and solution.
Yoav Shapira http://www.yoavshapira.com

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]
 

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

--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: Enabling ROOT context for Tomcat5.0.28/Apache 2.0.x

2004-12-09 Thread Dwayne Ghant
Does anyone want to take shot at that question.
I know it's simple but for some reason I seem to
be having some kind of problem!!!
PLEASE HELP.
Dwayne Ghant wrote:
I have successfully install both tomcat and apache.
And they work find together.
What I would  like to do now is re-enable the ROOT context so I can
view the ROOT applications. I have tried the code below (thinking that 
is all I would have to do), but it didn't work.

Context path= docBase=ROOT debug=0 reloadable=true 
crossContext=true/

Could anyone take a shot at this .
All I would like to do is be able to see the ROOT default applications in
my URL (ex:http://localhost/).
Thank you .


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Tomcat 5.0.27/Apache 2.0.40 with mutible developers

2004-12-01 Thread Dwayne Ghant
Hello All,
I have successfully set up tomcat/ apache /mod_jk
Just one quick question I need all the developers to have access like
http://hostname/~username
And I need tomcat to automatically pick up the developers accounts so
they can write web-applications.
I got everything else working fine just need this last
piece.
Your help is greatly appreciated.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Re: Tomcat 5.0.27/Apache 2.0.40 with mutible developers

2004-12-01 Thread Dwayne Ghant
Dwayne Ghant wrote:
Hello All,
I have successfully set up tomcat/ apache /mod_jk
Just one quick question I need all the developers to have access like
http://hostname/~username
And I need tomcat to automatically pick up the developers accounts so
they can write web-applications.
I got everything else working fine just need this last
piece.
Your help is greatly appreciated.
If someone could just point me to a place to read  I will be fine.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


Minor help much appreciated.... Tomcat 5 configuration.

2004-11-10 Thread Dwayne Ghant
Ok I understand how to install tomcat 4.1.24 and
how to configure user(s), ant compilation, and
jdk 1.4 or j2EE.
The thing that confused me about the tomcat 5.0.27
distribution is that I have all these types of containers and
not sure which one to use. The containers are listed
below in there respective folders:
jakarta-tomcat-5
jakarta-tomcat-catalina
jakarta-tomcat-jasper
As you can tell one can get confused as to what to install.
Anyway, I need and upgraded environment that best suites my
previous install of tomcat 4.1.24 . I assume that it would
simply be in the folder listed above that says jakarta-tomcat-5
or jakarta-tomcat-catalina,  but again I am a little confused
as to how Jakarta Tomcat chooses to package their distributions, and why.
If someone could kindly point me in the right direction I would be very
Thankful.
Thank you, in advance.
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

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


tomcat genarated errors after restarting service.?????

2004-07-23 Thread Dwayne Ghant
Is anybody out there familiar with the error listed below. I know it 
somthing simple
but I just can't figure out what it is.

javax.servlet.ServletException: 
org.apache.xml.utils.WrappedRuntimeException: The output format must 
have a '{http://xml.apache.org/xalan}content-handler' property!
at 
org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:271) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
   .
   .
root cause

java.lang.RuntimeException: 
org.apache.xml.utils.WrappedRuntimeException: The output format must 
have a '{http://xml.apache.org/xalan}content-handler' property!
   at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407)
   ...

--
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]



Re: ssl tomcat

2004-03-04 Thread Dwayne Ghant
Hope this helps.
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
Antonio Fiol Bonnín wrote:

The place to store the CA certificate(s?) with which you will validate 
your client certificates.

Does not make sense without client certificate validation.

Antonio Fiol

secam secam wrote:

Hi al,l

I'm new in tomcat
I attemp to use ssl with tomcat.
Can any one explain me what are the truststore and truststorepassword 
properties ?

Thanks,
Regards,
Secam
   
-
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
 


--

Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]




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


Re: jsp deployment

2004-02-13 Thread Dwayne Ghant
Does anyone know where I can download mod_jk 1.2.5?

Jakarta doesn't seem to have it in there site anymore , unless I missed 
it???

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


Re: jsp deployment

2004-02-13 Thread Dwayne Ghant
Both .

Didier McGillis wrote:

Looking for the source or binary?


From: Dwayne Ghant [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: jsp deployment
Date: Fri, 13 Feb 2004 09:05:12 -0800
Does anyone know where I can download mod_jk 1.2.5?

Jakarta doesn't seem to have it in there site anymore , unless I 
missed it???

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/viruspgmarket=en-caRU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca 



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

Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]




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


Re: done did not found a worker

2004-02-11 Thread Dwayne Ghant
I have tried to go to http://jakarta.apache.org/site/binindex.cgi and 
download
mod_jk 1.2 , it's not available. Does anybody know how I can get mod_jk1.2 ?

David O'Brien wrote:

If you are using mod_jk and NOT mod_jk2 then this file's content makes 
no difference in your configuration.
You need to tell apache to use the workers.properties NOT the 
workers2.properties in your httpd.conf file
-Dave

At 11:58 AM 2/10/2004, you wrote:

But Dave you didn't address this stuff below?
I think this is where I'm having the most problems.
##=
##Other needed configuratoin(s)
##=
##define the shared memory file
[shm]
file=/usr/local/tomcat-4.1.24/work/jk2.shm
file=1048576
## Define the communication channel

[channel.socket:localhost:8009]
#tomcatId=localhost:8009
port=8009
host=127.0.0.1
#define the worker
[balance_all_workers:localhost:8009]
channel=channel.socket:localhost:8009


#Uri mapping
[uri:saturn.temple.edu/examples/*]
#worker=ajp13:localhost:8009
worker=balance_all_workers:localhost:8009
[uri:saturn.temple.edu/developers/*]
#worker=ajp13:localhost:8009
worker=balance_all_workers:localhost:8009
[uri:saturn.temple.edu/product/*]
#worker=ajp13:localhost:8010
worker=balance_all_workers:localhost:8010
[uri:saturn.temple.edu/uPortal/*]
#worker=ajp13:localhost:8010
worker=balance_all_workers:localhost:8010
#[status:]

#info=Status worker, displays runtime information
channel=channel.socket:localhost:8009
#[uri:/status/*]
#worker=status:localhost:8009
#group=status:
David Rees wrote:

Dwayne Ghant wrote, On 2/9/2004 7:02 PM:

Dave, I have been having semular issues would it be impossible for 
to post the four files listed below:

1. http.conf
2. ssl.conf
3. server.xml
4. workers2.properties


Here's a sample for setting up Apache.  This will work on either 
Apache 2.0.X or Apache 1.3.X, and mod_jk 1.2.5.  Any version of 
Tomcat will work, use the example connector config included with 
every default server.xml as it varies a little between Tomcat versions.

httpd.conf
# This only shows the portions relevant to mod_jk, you should stick the
# lines somewhere in your config file.  This config also works for
# Apache 1.3.X as well as Apache 2.0.X.
---
LoadModule jk_module modules/mod_jk.so
JkWorkersFile path-to-apache-conf/tomcat_workers.properties
JkLogFile path-to-apache-logs/mod_jk.log
JkLogLevel error
VirtualHost *:80
ServerName www.example.com
JkMount /*.jsp tomcat
JkMount /servlet/* tomcat
/VirtualHost
---
path-to-apache-conf/tomcat_workers.properties
---
worker.list=tomcat
worker.tomcat.port=8007
worker.tomcat.host=localhost
worker.tomcat.type=ajp13
---
That's it!

-Dave
 aka the mod_jk expert
 NOT a mod_jk2 expert!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--

Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]


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


David G. O'Brien
Web Services Coordinator / Systems Administrator
NACCRRA
The Nation's Network of Child Care Resource  Referral
1319 F Street NW, Suite 500
Washington, DC 20004
(202) 393-5501 ext. 113
(202) 393-1109 fax


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

Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]




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


Re: javax.mail

2004-02-11 Thread Dwayne Ghant
You don't need a SMTP server to send mail . Technically speaking the 
protocol it self does the sending and
not the server.

Duncan Smith wrote:

Hi, sorry if this is the wrong mailing list but I think most people here
are Java programmers so:
I am using javax.mail to send a mail to myself if a particular problem
occurs on the server.  My code seems to work but, but it does not use
the smtp server which I am specifying. I cannot find a problem in my
code as it seems to be identical to examples which I have found.
I use the line:
props.put(mail.smtp.host, mysmtphost);
Make sure that mail.smtp.host allows relaying!

to specify the smtp server (which is on a differant computer) but the
mail is being sent through the smtp server running on the same machine
as the jsp. Has anyone else had this problem at all, or am I just doing
something wrong?
-Duncan

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

--

Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]




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


Re: done did not found a worker

2004-02-10 Thread Dwayne Ghant
But Dave you didn't address this stuff below?
I think this is where I'm having the most problems.
##=
##Other needed configuratoin(s)
##=
##define the shared memory file
[shm]
file=/usr/local/tomcat-4.1.24/work/jk2.shm
file=1048576
## Define the communication channel

[channel.socket:localhost:8009]
#tomcatId=localhost:8009
port=8009
host=127.0.0.1
#define the worker
[balance_all_workers:localhost:8009]
channel=channel.socket:localhost:8009


#Uri mapping
[uri:saturn.temple.edu/examples/*]
#worker=ajp13:localhost:8009
worker=balance_all_workers:localhost:8009
[uri:saturn.temple.edu/developers/*]
#worker=ajp13:localhost:8009
worker=balance_all_workers:localhost:8009
[uri:saturn.temple.edu/product/*]
#worker=ajp13:localhost:8010
worker=balance_all_workers:localhost:8010
[uri:saturn.temple.edu/uPortal/*]
#worker=ajp13:localhost:8010
worker=balance_all_workers:localhost:8010
#[status:]

#info=Status worker, displays runtime information
channel=channel.socket:localhost:8009
#[uri:/status/*]
#worker=status:localhost:8009
#group=status:
David Rees wrote:

Dwayne Ghant wrote, On 2/9/2004 7:02 PM:

Dave, I have been having semular issues would it be impossible for to 
post the four files listed below:

1. http.conf
2. ssl.conf
3. server.xml
4. workers2.properties


Here's a sample for setting up Apache.  This will work on either 
Apache 2.0.X or Apache 1.3.X, and mod_jk 1.2.5.  Any version of Tomcat 
will work, use the example connector config included with every 
default server.xml as it varies a little between Tomcat versions.

httpd.conf
# This only shows the portions relevant to mod_jk, you should stick the
# lines somewhere in your config file.  This config also works for
# Apache 1.3.X as well as Apache 2.0.X.
---
LoadModule jk_module modules/mod_jk.so
JkWorkersFile path-to-apache-conf/tomcat_workers.properties
JkLogFile path-to-apache-logs/mod_jk.log
JkLogLevel error
VirtualHost *:80
ServerName www.example.com
JkMount /*.jsp tomcat
JkMount /servlet/* tomcat
/VirtualHost
---
path-to-apache-conf/tomcat_workers.properties
---
worker.list=tomcat
worker.tomcat.port=8007
worker.tomcat.host=localhost
worker.tomcat.type=ajp13
---
That's it!

-Dave
 aka the mod_jk expert
 NOT a mod_jk2 expert!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--

Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]




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


Re: done did not found a worker

2004-02-09 Thread Dwayne Ghant
Dave, 
I have been having semular issues would it be impossible for to post 
the four files listed below:

1. http.conf
2. ssl.conf
3. server.xml
4. workers2.properties
If not then could you please atlease show you workers2.properties?

The likely hood is very great that I'm having trouble with my 
workers2.properties file.
I'm runing RH8, tomcat 4.1.24, apache 2.0.40, J2EE 1.4.1

Thank you for you time.

Nicholas Bernstein wrote:

On Mon, 2004-02-09 at 17:37, David Rees wrote:
 

On Mon, February 9, 2004 at 4:41 pm, Charles Daniel wrote:
   

Give up trying to use Apache2 with mod_jk.  After spending days on the
message boards trying to solve this one, I was ultimately told by the
so-called experts that  I had a network configuration problem and that
some process was likely to be either already using or blocking port 8009.
 

Hmm, I've had no problems at all using mod_jk with Apache2 on both various
Linux and SGI Irix machines.  I must be a so-called expert.  ;-)
-Dave
   

if you've got a minute, take a look @ the configs I posted 
http://nicholasbernstein.com/tomcat/

and let me know if you see anything wrong with the setup. I'd rather
stick to apache2; i'm using redhat ES and it looks like they've made a
lot of RH specific patches to httpd source, so it probably performs a
lot better that compiling 1.x from source. 



 

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

--

Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]




Re: I'm beging to lose hope Redhat 8 , tomcat 4.1.24, apache 2.0.40

2004-02-07 Thread Dwayne Ghant
Filip Hanik (lists) wrote:

[Fri Feb 06 02:41:32 2004]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/index.jsp'
   

do you have all the worker matches in your worker.properties commented out?

Currently yes, I assume now I have to uncomment all my matches in my 
woker properties, but let me warn you that I have did that before also, but
I will do anything to get this thing working.
ok
I tried uncommented everything  in properties but still have problems.
I know that I has something to do with mapping , because I proformed a 
tail -f catalina.out
and all it ever does is compalin about the mapping.

I also did a connect to port 8009 and saw so weird stuff , so I know 
that the connections are there.

Please , still need help. I know that all I need is a copy of  the four 
files listed below , so I can compare.


-Original Message-
From: Dwayne Ghant [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 7:05 PM
To: Tomcat Users List
Subject: I'm beging to lose hope Redhat 8 , tomcat 4.1.24, apache 2.0.40
Can anyone pleeease  send copy of  these 4 files that actually
work so I could compare it to my
installation? It seems that I have messed up somewhere , I jsut not sure
where.
http.conf
ssl.conf
server.xml
workers.properties
Please help me. I have read everything there is to read, but things are
just not coming together for me.
 

Yes , but it's not rendering jsp pages ether. Sorry for the confusion.

[Fri Feb 06 02:41:32 2004]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/index.jsp'
[Fri Feb 06 02:41:32 2004]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
Filip Hanik wrote:

   

Attempting to map URI '/img_header/b_submitevents-over.gif'

I dont see that you JkMount:ed /img_header, so it looks like nothing
but an
info message, saying that it tried to map /img_header but there was no
match.
what error are you experiencing?

Filip

- Original Message -
From: Dwayne Ghant [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 06, 2004 11:10 AM
Subject: Redhat 8 , tomcat 4.1.24, apache 2.0.40
I have been beating my head aginst the wall (concerning this issue) for
the last three months. It's not that I mind beating my head aginst the
wall;
it just hurts when you have nothing to show for it !
Could someone please help me Linux (Redhat) / Tomcat 4.1.24 /
Apache2.0.4
Attached are sniplets of files that have been giving me trouble.

http.conf
ssl.conf
server.xml
workers.properties
Whene the proper feild is commented out the way suppse to be I get this
message in my catalina.out log listed below.
I understand that it's the mapping between mod_jk and tomcat4.1.24 but
evidently I'm not connecting these peices together correctly??
I have treid searching everything form google to the jakarta to
configure this correctly but I have had no success in the pass
serveral weeks. I know that there is just one small piece of the puzzle
that I'm missing could someone assist me.
workers.properties

 


 

_

[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/img_header/calendar_10.jpg'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/img_header/b_submitevents-over.gif'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker


httpd.conf
##
 


 

##

#This set up is for the tomcat jakarta installation.
#
 


 

#

# Load mod_jk module
# Update this path to match your modules location
#Use this incase the IfModule doesn't work
#LoadModule jk_module modules/mod_jk.so
# Declare the module for IfModule directive
# AddModule mod_jk.c
IfModule !mod_jk.c
 LoadModule jk_module modules/mod_jk.so
/IfModule
#
# Load config files from the config directory /etc/httpd/conf.d.
#
Include conf.d/*.conf
#This had to be added because mod_jk should load before mod_rewrite
#If this is not completed correctly mod_jk will not map to tomcat at all
#This was edited by Dwayne Ghant 02/05/04
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule jk_module libexec/mod_jk-1.3.26.dll
#AddModule mod_jk.c

Redhat 8 , tomcat 4.1.24, apache 2.0.40

2004-02-06 Thread Dwayne Ghant
I have been beating my head aginst the wall (concerning this issue) for
the last three months. It's not that I mind beating my head aginst the 
wall;
it just hurts when you have nothing to show for it !

Could someone please help me Linux (Redhat) / Tomcat 4.1.24 / Apache2.0.4

Attached are sniplets of files that have been giving me trouble.

http.conf
ssl.conf
server.xml
workers.properties
Whene the proper feild is commented out the way suppse to be I get this 
message in my catalina.out log listed below.
I understand that it's the mapping between mod_jk and tomcat4.1.24 but 
evidently I'm not connecting these peices together correctly??
I have treid searching everything form google to the jakarta to 
configure this correctly but I have had no success in the pass
serveral weeks. I know that there is just one small piece of the puzzle 
that I'm missing could someone assist me.

workers.properties
_ 

[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to 
map URI '/img_header/calendar_10.jpg'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to 
map URI '/img_header/b_submitevents-over.gif'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker



httpd.conf
##
## 

#This set up is for the tomcat jakarta installation.
#
# 

# Load mod_jk module
# Update this path to match your modules location
#Use this incase the IfModule doesn't work
#LoadModule jk_module modules/mod_jk.so
# Declare the module for IfModule directive
# AddModule mod_jk.c
IfModule !mod_jk.c
  LoadModule jk_module modules/mod_jk.so
/IfModule
#
# Load config files from the config directory /etc/httpd/conf.d.
#
Include conf.d/*.conf
#This had to be added because mod_jk should load before mod_rewrite
#If this is not completed correctly mod_jk will not map to tomcat at all
#This was edited by Dwayne Ghant 02/05/04
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule jk_module libexec/mod_jk-1.3.26.dll
#AddModule mod_jk.c
#JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties
#JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log
#JkLogLevel debug
#Alias /examples C:/Tomcat4_1_12/webapps/examples
#JkMount /examples/servlet/* testWorker
#JkMount /examples/*.jsp testWorker
#Location /examples/WEB-INF/
#AllowOverride None
#deny from all
#/Location
##
ssl.conf
###
VirtualHost saturn.temple.edu:443
# General setup for the virtual host
DocumentRoot /usr/local/tomcat-4.1.24/webapps
ServerName saturn.temple.edu:443
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/error_log
TransferLog logs/access_log
#This is dangerous I just realized (01-02-2004)
#It causes a loop in redirection. I've only noticed
#the problem when still using localhost.
#The URL gets the domain appended in recursive fashion
#Get your site up first by leaving it commented out.
#You can try adding it later if you need it.
#Redirect / https://myhost.mydomain/mywebapp
# Static files
  Alias /examples /usr/local/tomcat-4.1.24/webapps/examples
  Alias /developers /usr/local/tomcat-4.1.24/webapps/development
  Alias /product /usr/local/tomcat-4.1.24/webapps/product
  Alias /default /usr/local/tomcat-4.1.24/webapps/ROOT
  Alias /uPortal /usr/local/tomcat-4.1.24/webapps/uPortal
Directory /usr/local/tomcat-4.1.24/webapps/uPortal
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.php
/Directory


# Deny direct access to WEB-INF and META-INF
Location /uPortal/WEB-INF/*
AllowOverride None
deny from all
/Location
Location /uPortal/META-INF/*
AllowOverride None
deny from all
/Location
#Block every one from entering
Location /examples/WEB-INF/
  AllowOverride None
  deny from all
/Location
Location /development/WEB-INF/
  AllowOverride None
  deny from all
/Location
Location /uPortal/WEB-INF/
  AllowOverride None
  deny from all
/Location
# Send everything for context /examples to worker named worker1 (ajp13)
#JkMount /examples/* worker1
JkMount /developers/* balance_all_workers
JkMount /developers/* balance_all_workers
JkMount

Re: Redhat 8 , tomcat 4.1.24, apache 2.0.40

2004-02-06 Thread Dwayne Ghant
Yes , but it's not rendering jsp pages ether. Sorry for the confusion.

[Fri Feb 06 02:41:32 2004]  [jk_uri_worker_map.c (477)]: Attempting to 
map URI '/index.jsp'
[Fri Feb 06 02:41:32 2004]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match

Filip Hanik wrote:

Attempting to map URI '/img_header/b_submitevents-over.gif'

I dont see that you JkMount:ed /img_header, so it looks like nothing but an
info message, saying that it tried to map /img_header but there was no
match.
what error are you experiencing?

Filip

- Original Message -
From: Dwayne Ghant [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 06, 2004 11:10 AM
Subject: Redhat 8 , tomcat 4.1.24, apache 2.0.40
I have been beating my head aginst the wall (concerning this issue) for
the last three months. It's not that I mind beating my head aginst the
wall;
it just hurts when you have nothing to show for it !
Could someone please help me Linux (Redhat) / Tomcat 4.1.24 / Apache2.0.4

Attached are sniplets of files that have been giving me trouble.

http.conf
ssl.conf
server.xml
workers.properties
Whene the proper feild is commented out the way suppse to be I get this
message in my catalina.out log listed below.
I understand that it's the mapping between mod_jk and tomcat4.1.24 but
evidently I'm not connecting these peices together correctly??
I have treid searching everything form google to the jakarta to
configure this correctly but I have had no success in the pass
serveral weeks. I know that there is just one small piece of the puzzle
that I'm missing could someone assist me.
workers.properties

_
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/img_header/calendar_10.jpg'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/img_header/b_submitevents-over.gif'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker


httpd.conf
##

##
#This set up is for the tomcat jakarta installation.
#

#
# Load mod_jk module
# Update this path to match your modules location
#Use this incase the IfModule doesn't work
#LoadModule jk_module modules/mod_jk.so
# Declare the module for IfModule directive
# AddModule mod_jk.c
IfModule !mod_jk.c
  LoadModule jk_module modules/mod_jk.so
/IfModule
#
# Load config files from the config directory /etc/httpd/conf.d.
#
Include conf.d/*.conf
#This had to be added because mod_jk should load before mod_rewrite
#If this is not completed correctly mod_jk will not map to tomcat at all
#This was edited by Dwayne Ghant 02/05/04
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule jk_module libexec/mod_jk-1.3.26.dll
#AddModule mod_jk.c
#JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties
#JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log
#JkLogLevel debug
#Alias /examples C:/Tomcat4_1_12/webapps/examples
#JkMount /examples/servlet/* testWorker
#JkMount /examples/*.jsp testWorker
#Location /examples/WEB-INF/
#AllowOverride None
#deny from all
#/Location
##
ssl.conf
###
VirtualHost saturn.temple.edu:443
# General setup for the virtual host
DocumentRoot /usr/local/tomcat-4.1.24/webapps
ServerName saturn.temple.edu:443
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/error_log
TransferLog logs/access_log
#This is dangerous I just realized (01-02-2004)
#It causes a loop in redirection. I've only noticed
#the problem when still using localhost.
#The URL gets the domain appended in recursive fashion
#Get your site up first by leaving it commented out.
#You can try adding it later if you need it.
#Redirect / https://myhost.mydomain/mywebapp
# Static files
  Alias /examples /usr/local/tomcat-4.1.24/webapps/examples
  Alias /developers /usr/local/tomcat-4.1.24/webapps/development
  Alias /product /usr/local/tomcat-4.1.24/webapps/product
  Alias /default /usr/local/tomcat-4.1.24/webapps/ROOT
  Alias /uPortal /usr/local/tomcat-4.1.24/webapps/uPortal
Directory /usr/local/tomcat-4.1.24/webapps/uPortal
Options Indexes

I'm beging to lose hope Redhat 8 , tomcat 4.1.24, apache 2.0.40

2004-02-06 Thread Dwayne Ghant
Can anyone pleeease  send copy of  these 4 files that actually 
work so I could compare it to my
installation? It seems that I have messed up somewhere , I jsut not sure 
where.

http.conf
ssl.conf
server.xml
workers.properties
Please help me. I have read everything there is to read, but things are 
just not coming together for me.

Yes , but it's not rendering jsp pages ether. Sorry for the confusion.

[Fri Feb 06 02:41:32 2004]  [jk_uri_worker_map.c (477)]: Attempting to 
map URI '/index.jsp'
[Fri Feb 06 02:41:32 2004]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match

Filip Hanik wrote:

Attempting to map URI '/img_header/b_submitevents-over.gif'

I dont see that you JkMount:ed /img_header, so it looks like nothing 
but an
info message, saying that it tried to map /img_header but there was no
match.

what error are you experiencing?

Filip

- Original Message -
From: Dwayne Ghant [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 06, 2004 11:10 AM
Subject: Redhat 8 , tomcat 4.1.24, apache 2.0.40
I have been beating my head aginst the wall (concerning this issue) for
the last three months. It's not that I mind beating my head aginst the
wall;
it just hurts when you have nothing to show for it !
Could someone please help me Linux (Redhat) / Tomcat 4.1.24 / 
Apache2.0.4

Attached are sniplets of files that have been giving me trouble.

http.conf
ssl.conf
server.xml
workers.properties
Whene the proper feild is commented out the way suppse to be I get this
message in my catalina.out log listed below.
I understand that it's the mapping between mod_jk and tomcat4.1.24 but
evidently I'm not connecting these peices together correctly??
I have treid searching everything form google to the jakarta to
configure this correctly but I have had no success in the pass
serveral weeks. I know that there is just one small piece of the puzzle
that I'm missing could someone assist me.
workers.properties
 

_

[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/img_header/calendar_10.jpg'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/img_header/b_submitevents-over.gif'
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jun 27 12:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker


httpd.conf
##
 

##

#This set up is for the tomcat jakarta installation.
#
 

#

# Load mod_jk module
# Update this path to match your modules location
#Use this incase the IfModule doesn't work
#LoadModule jk_module modules/mod_jk.so
# Declare the module for IfModule directive
# AddModule mod_jk.c
IfModule !mod_jk.c
  LoadModule jk_module modules/mod_jk.so
/IfModule
#
# Load config files from the config directory /etc/httpd/conf.d.
#
Include conf.d/*.conf
#This had to be added because mod_jk should load before mod_rewrite
#If this is not completed correctly mod_jk will not map to tomcat at all
#This was edited by Dwayne Ghant 02/05/04
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule jk_module libexec/mod_jk-1.3.26.dll
#AddModule mod_jk.c
#JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties
#JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log
#JkLogLevel debug
#Alias /examples C:/Tomcat4_1_12/webapps/examples
#JkMount /examples/servlet/* testWorker
#JkMount /examples/*.jsp testWorker
#Location /examples/WEB-INF/
#AllowOverride None
#deny from all
#/Location
##
ssl.conf
###
VirtualHost saturn.temple.edu:443
# General setup for the virtual host
DocumentRoot /usr/local/tomcat-4.1.24/webapps
ServerName saturn.temple.edu:443
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/error_log
TransferLog logs/access_log
#This is dangerous I just realized (01-02-2004)
#It causes a loop in redirection. I've only noticed
#the problem when still using localhost.
#The URL gets the domain appended in recursive fashion
#Get your site up first by leaving it commented out.
#You can try adding it later if you need it.
#Redirect / https://myhost.mydomain/mywebapp
# Static files
  Alias /examples /usr/local