AW: use xsp-vars to generate html

2002-10-23 Thread Thomas Garger
hi

but that's the same i do.
just other tags

i do all this in my logicsheets, maybe this is the point


tom

-Ursprüngliche Nachricht-
Von: Christian Haul [mailto:haul@;dvs1.informatik.tu-darmstadt.de] 
Gesendet: Mittwoch, 23. Oktober 2002 15:26
An: [EMAIL PROTECTED]
Betreff: Re: use xsp-vars to generate html


On 23.Oct.2002 -- 02:17 PM, Thomas Garger wrote:
> hi
> 
> sorry boring you you,
> 
> i did what you said
> 
> String foo = "<br/>"
>  class="standard">foo ><
> /util:expr>
> 

Try this

   
  String foo="<br/>";
   

  
this is some
 
foo text
  

it works for me.

Chris.

Please follow up summarizing your problem and which suggested solution /
information worked for you when you consider your problem solved. Add
"SUMMARY: " to the subject line. This will make FAQ generation and
searching the list easier. In addition, it makes helping you more fun.
Thank you.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




AW: use xsp-vars to generate html

2002-10-23 Thread Thomas Garger
hi

sorry boring you you,

i did what you said

String foo = "<br/>"
foo<
/util:expr>

but it apears as text


but thanks for your answeres

greetings, tom

-Ursprüngliche Nachricht-
Von: Christian Haul [mailto:haul@;dvs1.informatik.tu-darmstadt.de] 
Gesendet: Mittwoch, 23. Oktober 2002 14:07
An: [EMAIL PROTECTED]
Betreff: Re: use xsp-vars to generate html


On 23.Oct.2002 -- 01:36 PM, Thomas Garger wrote:
> but if use these entities "<" ">", the (for example
> <table><MyText/table>

Thomas, if you write 

   String foo = "<br/>"

your String will contain "" If you include that with the util
logicsheet, it should appear as node.

The other solution, the capture logicsheet, definately captures nodes
and includes nodes.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




AW: use xsp-vars to generate html

2002-10-23 Thread Thomas Garger
hi

but if use these entities "<" ">", the (for example
<table><MyText/table>
which means MyText). it is written out as text in the
html-page, 
but not as html-statement, so no html-table is built in the page.

regards, chris


-Ursprüngliche Nachricht-
Von: Christian Haul [mailto:haul@;dvs1.informatik.tu-darmstadt.de] 
Gesendet: Mittwoch, 23. Oktober 2002 13:12
An: [EMAIL PROTECTED]
Betreff: Re: use xsp-vars to generate html


On 23.Oct.2002 -- 12:45 PM, Thomas Garger wrote:
> but how can i put html-tag into xsp-variable??
> if i try the following, it fails -->

Thought you gonna ask that :-)

You may not use "<" and ">" in an xsp when not writing xml tags that are
part of the document structure. So, you need to use the xml entities
"<" ">" instead.

Another solution is the capture logicsheet.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




AW: use xsp-vars to generate html

2002-10-23 Thread Thomas Garger
hi

thanks that's working - for the following --> example

  
1234
  


and on the place of 1234, and it
works also for 


test
 

when test="test";

thats the first step.




but how can i put html-tag into xsp-variable??
if i try the following, it fails -->


string = "1234";



the  is not the problem, but the
string = "1234";



regards, tom


-Ursprüngliche Nachricht-
Von: Christian Haul [mailto:haul@;dvs1.informatik.tu-darmstadt.de] 
Gesendet: Mittwoch, 23. Oktober 2002 09:32
An: [EMAIL PROTECTED]
Betreff: Re: use xsp-vars to generate html


On 23.Oct.2002 -- 09:20 AM, Thomas Garger wrote:
> hi
> 
> if want to use xsp-variables to generate html-code for the sites. let 
> me explain.

have a look at the util logicsheet, especially the include-* tags. That
could be a solution. Anyway, your var needs to contain well-formed XML.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




use xsp-vars to generate html

2002-10-22 Thread Thomas Garger
hi

if want to use xsp-variables to generate html-code for the sites.
let me explain.

i have a xsp-varibale, for example
String test =
"1234";

after this, i have the following in my xsp-site

  

test
  


so there is another table in the second -tag

but this doesn'work - what i did wrong

i get the following error-messages in my xsp-site
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
registrierung1_xsp:
Line 265, column 44: unclosed character literal
Line 265, column 43: illegal start of expression
Line 399, column 6: unclosed character literal
Line 399, column 4: illegal start of expression
Line 0, column 0: 
4 errors


regards, tom


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: Session-handling without cookies

2002-08-16 Thread Thomas Garger

hi - thank you!

another question - do i have to change something in my java-code of
my action.

i use bea weblogic6.0sp2 and hp-unix and cocoon2.0.2


greetings

-Original Message-
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] 
Sent: Freitag, 16. August 2002 08:01
To: [EMAIL PROTECTED]
Subject: RE: Session-handling without cookies


Yes,

URL rewriting - refer to the documentation of your servlet engine on how
to enable and use it.

Cocoon provides the urlencoder transformer which helps you in url
rewriting.

Carsten

> -Original Message-
> From: Thomas Garger [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 16, 2002 7:19 AM
> To: [EMAIL PROTECTED]
> Subject: Session-handling without cookies
> 
> 
> hi all!
> 
> i wrote a web-application with cocoon, and it seems that cocoon 
> handles sessions with cookies (with session-coockies). thats the 
> reason, why i have to enable session-cookies in IE6.0.
> 
> i there an other way to handle sessions, without cookies??
> 
> 
> greetings, chris
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Session-handling without cookies

2002-08-15 Thread Thomas Garger

hi all!

i wrote a web-application with cocoon, and it seems that cocoon
handles sessions with cookies (with session-coockies). thats the 
reason, why i have to enable session-cookies in IE6.0.

i there an other way to handle sessions, without cookies??


greetings, chris


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: Web-App does not work in frameset

2002-08-14 Thread Thomas Garger

hi!

once again me!

i discovered, when i turn on "Always allow session cookies" in the
Internet Options --> Privacy --> Advanced - everything is working fine.

but that's only needed, when i use framset with frames.

it seems, that i use session-cookies in my action

what have i to do, run the program correct without check on "Always
allow session cookies"? and why my problem exists only, when i am using
frames?

greetings, chris


-----Original Message-
From: Thomas Garger [mailto:[EMAIL PROTECTED]] 
Sent: Mittwoch, 14. August 2002 08:53
To: [EMAIL PROTECTED]
Subject: Web-App does not work in frameset


hi all!

i made a web-application with cocoon (a site for registration - name,
age, phone number, ...). than you click on a submit button and the
action writes down the data (for example in a database).

i want to get the web-app run with ie5.5 and ie6.0
if i run the web-app in an frameset (that's what i want to do), it only
works with IE 5.5. if i run it without a framset, just only the site, it
works with both.

does anybody had the same problem. who knows a solution.


greetings, tom


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Web-App does not work in frameset

2002-08-13 Thread Thomas Garger

hi all!

i made a web-application with cocoon (a site for registration - name,
age, phone number, ...). than you click on a submit button and the
action writes down the data (for example in a database).

i want to get the web-app run with ie5.5 and ie6.0
if i run the web-app in an frameset (that's what i want to do), it only
works with IE 5.5. if i run it without a framset, just only the site, it
works with both.

does anybody had the same problem. who knows a solution.


greetings, tom


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Proxy Support instead of mod_jk

2002-07-05 Thread Thomas Garger

hi!

i use now the "Proxy Support" to redirect requests from apache to
tomcat.
couldn't get mod_jk to run.

is this not so good as mod_jk

greetings, tom

-Original Message-
From: Bruno Dumon [mailto:[EMAIL PROTECTED]] 
Sent: Freitag, 05. Juli 2002 11:23
To: [EMAIL PROTECTED]
Subject: RE: can't start cocoon under root


On Thu, 2002-07-04 at 21:09, Thomas Garger wrote:
> but if i don't start tomcat as root, i can not run it under the port 
> 80 - because only the root user has access rights to to ports below 
> 1024.
> 
> am i wrong??

no, that's right.

> 
> or can i configure my linux system, that a "normal-user" (no root) van

> start tomcat under the port 90?

Not that I know.

Usually Apache is put in front of tomcat (using mod_jk to connect the
two).

Apache, being a native application, can start as root (so it can bind to
port 80), and change the user id of the processes that handle the
requests to another user.

-- 
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




RE: can't start cocoon under root

2002-07-04 Thread Thomas Garger

but if i don't start tomcat as root, i can not run it under
the port 80 - because only the root user has access rights
to to ports below 1024.

am i wrong??

or can i configure my linux system, that a "normal-user" (no root)
van start tomcat under the port 90?

greetings, chris

-Original Message-
From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 04. Juli 2002 19:03
To: [EMAIL PROTECTED]
Subject: Re: can't start cocoon under root


I can't say.  Why?  The set of possibilities are infinite.  This is a 
basic prinicipal of unix security.  Never run any
daemon as root.  I for one always create a special user for tomcat. 
 That way if tomcat is compromized, only that which tomcat owns or can
write to is compromized.  I usually create a special group as 
well and don't let tomcat own anything.

Asking what are all the security holes is the wrong question.  

Read: http://www.tldp.org/HOWTO/Security-HOWTO/index.html - while it is 
aimed at linux, some applies universally to other unicies as well.

Do you absolutely trust:
   1. tomcat to never have a security hole
   2. cocoon to never have a security hole
   3. all applications (servlets/etc) running under Cocoon/tomcat to 
never have security holes.
   4. if the answer to any of the above is no, then do you trust EVERY 
user on the network (for example the internet) to never ever
   do anything to try and exploit that.

An example: Say you have a servlet/xsp/action/whatever that based on the

passed in username writes an new file in /opt/tomcat/userinfo as to when

the user logged in/etc with the username as the filename.  You have two 
parameters, username and the message.  The servlet/xsp/action/whatever 
gets executed
on occassion as a service.  Usernames are permitted to have 
web-address-illegal characters in them so you url-encode them.  The 
message is anything.

So I being a savy hacker set my username to ../../../etc/passwd and the 
log message to "andy:ptpasswd:"  (can't rembmer the syntax but you 
get the point).  Well thanks for root access, I'll just telnet (DISABLE 
TELNET and use SSH) into your box and format the hard drive or use it to

hack into the military or crash yahoo with flood attacks or something...

 Those nice men in the black suits will be at your door shortly to 
question you about your internet usage...

Okay...a bit of an exaggeration...  Don't run tomcat (or anything else 
where you have a choice) as root.

-Andy


Thomas Garger wrote:

>why not?
>could there be some security problems? which one?
>
>greetings, chris
>
>-Original Message-
>From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]]
>Sent: Donnerstag, 04. Juli 2002 18:33
>To: [EMAIL PROTECTED]
>Subject: Re: can't start cocoon under root
>
>
>just for the record.  You really shouldn't run tomcat as root.
>
>Thomas Garger wrote:
>
>  
>
>>hi!
>>
>>i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0
>>
>>if i start tomcat under a normal user (not root) everthing works fine.
>>
>>but if i start tomcat under root user - and i want to access cocoon
>>
>>->there is an error message in my catalin.out like this:
>>Xlib: connection to "212.186.159.80:0.0" refused by server
>>Xlib: No protocol specified
>>
>>->the cocoon page puts out the following
>>org.apache.cocoon.ProcessingException: Error compiling sitemap:
>>java.lang.InternalError: Can't connect to X11 window server using
>>':0.0' as the value of the DISPLAY variable. .
>>.
>>.
>>
>>->my startup.sh looks as following :
>>export DISPLAY=212.186.159.80:0
>>BASEDIR=`dirname $0`
>>$BASEDIR/catalina.sh start "$@"
>>
>>if i don't put in the line "export DISPLAY=212.186.159.80:0", than
>>under a normal user it's also not working
>>
>>why this works with a non root user and not with root?
>>
>>greetings, tom
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>> 
>>
>>
>>
>
>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]&

RE: can't start cocoon under root

2002-07-04 Thread Thomas Garger

why not?
could there be some security problems? which one?

greetings, chris

-Original Message-
From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 04. Juli 2002 18:33
To: [EMAIL PROTECTED]
Subject: Re: can't start cocoon under root


just for the record.  You really shouldn't run tomcat as root.  

Thomas Garger wrote:

>hi!
>
>i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0
>
>if i start tomcat under a normal user (not root) everthing works fine.
>
>but if i start tomcat under root user - and i want to access cocoon
>
>->there is an error message in my catalin.out like this:
>Xlib: connection to "212.186.159.80:0.0" refused by server
>Xlib: No protocol specified
>
>->the cocoon page puts out the following
>org.apache.cocoon.ProcessingException: Error compiling sitemap:
>java.lang.InternalError: Can't connect to X11 window server using 
>':0.0' as the value of the DISPLAY variable. .
>.
>.
>
>->my startup.sh looks as following :
>export DISPLAY=212.186.159.80:0
>BASEDIR=`dirname $0`
>$BASEDIR/catalina.sh start "$@"
>
>if i don't put in the line "export DISPLAY=212.186.159.80:0", than 
>under a normal user it's also not working
>
>why this works with a non root user and not with root?
>
>greetings, tom
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>  
>




-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




can't start cocoon under root

2002-07-04 Thread Thomas Garger

hi!

i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0

if i start tomcat under a normal user (not root) everthing
works fine.

but if i start tomcat under root user - and i want to access cocoon

->there is an error message in my catalin.out like this:
Xlib: connection to "212.186.159.80:0.0" refused by server
Xlib: No protocol specified

->the cocoon page puts out the following
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.InternalError: Can't connect to X11 window server using ':0.0'
as the value of the DISPLAY variable.
.
.
.

->my startup.sh looks as following :
export DISPLAY=212.186.159.80:0
BASEDIR=`dirname $0`
$BASEDIR/catalina.sh start "$@"

if i don't put in the line "export DISPLAY=212.186.159.80:0",
than under a normal user it's also not working

why this works with a non root user and not with root?

greetings, tom


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: Redirect Apache Requests to Tomcat

2002-07-04 Thread Thomas Garger

hi!

but
how do i say Apache Web-Server, that every request he gets
go to http://MyServer-IP:8080/cocoon/myhomepage


thank
greetings, tom

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 04. Juli 2002 14:41
To: [EMAIL PROTECTED]
Subject: RE: Redirect Apache Requests to Tomcat



Just chuck the mod_jk.dll into the Apache's modules directory. Sorry,
I've never tried the jkconf option before.

> hi!
>
> i am using winxp
>
> thank for your answere, but where did you place the mod_jk.dll 
> (dirctory)?
>
> i read in the installation-description from apache for mod_jk that i 
> have to generate the TOMCAT_HOME/conf/auto/mod_jk.conf with the 
> "jkconf"-option.
>
> but i don't know how to start tomcat with this option (i tried 
> startup.bat jkconf) but no TOMCAT_HOME/conf/auto/mod_jk.conf is 
> generated.
>
> greetings, tom
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Donnerstag, 04. Juli 2002 13:29
> To: [EMAIL PROTECTED]
> Subject: RE: Redirect Apache Requests to Tomcat
>
>
> I've been running Apache 2 /Tomcat 4/ Cocoon 2 for a couple of months 
> with no problem. I'm using mod_jk.dll This is a snip of my httpd.conf.

> Please change where applicable:
>
> 
>  LoadModule jk_module modules/mod_jk.dll
> 
> JkWorkersFile "/conf/workers.properties"
> JkLogFile "/logs/mod_jk.log
> JkMount /servlet/* ajp13
> JkMount /*.jsp ajp13
> (...or whatever match)
>
> On tomcat, create the file workers.properties under the conf 
> directory:
>
> workers.tomcat_home= workers.java_home=
> ps=\
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
>
> Hope it helps, James
>
>
>> I have checked the mod_webapp but it seems to work only with Apache 
>> 1.x and not for Apache 2.0!
>>
>> Try the mod_jk.
>> These modules and the connection problems between Apache and Tomcat 
>> are not well documented. Many users have this problem. Try the Apache

>> or Tomcat mailing lists.
>>
>> Sylvain
>>
>> -Message d'origine-
>> De: yuryx [mailto:[EMAIL PROTECTED]]
>> Date: jeudi, 4. juillet 2002 11:33
>> À: [EMAIL PROTECTED]
>> Objet: Re: Redirect Apache Requests to Tomcat
>>
>>
>> Thomas Garger wrote:
>>
>>>Hi!
>>>
>>>I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage is

>>>called with the following URL 
>>>(http://MyServer-IP:8080/cocoon/myhomepage).
>>>
>>>I also have a domain-name (http://www.MyDomainName.at )where i put 
>>>the
>
>>>DNS to the IP of my Server. But every time someone want to call my 
>>>homepage, he has to insert the following 
>>>(http://www.MyDomainName.at:8080/cocoon/myhomepage).
>>>That is bad.
>>>
>>>And thats my intension:
>>>---
>>>I want to run Apache Web-Server, which is listening on port 80.
>>>
>>>So my question ist - can i configure Apache Web-Server and Tomcat in 
>>>this way, that every request, that comes to the Apache Web-Server is 
>>>redirectedt to Tomcat
>>>(for example - someone calls http://www.MyDomainName.at he calls the
>>>Apache Web-Server - this Server gets the sites from Tomcat and
> displays
>>>the
>>>content).
>>>
>>>if someone needs further information, please tell me.
>>>
>>>thanks
>>>greetings, chris
>>>
>>>
>>>-
>>>Please check that your question  has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>>
>>>
>>>
>> Try to install mod_webapp module and configure the warp connection on

>> Tomcat and Apache sides See also 
>> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/warp.html
>>
>> Regards.
>> Yury.
>>
>>
>>
>>
>> -
>> Please check that your question  has not already been answered in the
>> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>> For additional commands, e-mail:   <[EMAIL PROTECTED]

RE: Redirect Apache Requests to Tomcat

2002-07-04 Thread Thomas Garger

hi!

i am using winxp

thank for your answere, but where did you place the mod_jk.dll
(dirctory)?

i read in the installation-description from apache for mod_jk that i 
have to generate the TOMCAT_HOME/conf/auto/mod_jk.conf with the
"jkconf"-option.

but i don't know how to start tomcat with this option (i tried
startup.bat jkconf) but no
TOMCAT_HOME/conf/auto/mod_jk.conf is generated.

greetings, tom

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 04. Juli 2002 13:29
To: [EMAIL PROTECTED]
Subject: RE: Redirect Apache Requests to Tomcat


I've been running Apache 2 /Tomcat 4/ Cocoon 2 for a couple of months
with no problem. I'm using mod_jk.dll This is a snip of my httpd.conf.
Please change where applicable:


  LoadModule jk_module modules/mod_jk.dll

JkWorkersFile "/conf/workers.properties"
JkLogFile "/logs/mod_jk.log
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
(...or whatever match)

On tomcat, create the file workers.properties under the conf directory:

workers.tomcat_home=
workers.java_home=
ps=\
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

Hope it helps, James


> I have checked the mod_webapp but it seems to work only with Apache 
> 1.x and not for Apache 2.0!
>
> Try the mod_jk.
> These modules and the connection problems between Apache and Tomcat 
> are not well documented. Many users have this problem. Try the Apache 
> or Tomcat mailing lists.
>
> Sylvain
>
> -Message d'origine-
> De: yuryx [mailto:[EMAIL PROTECTED]]
> Date: jeudi, 4. juillet 2002 11:33
> À: [EMAIL PROTECTED]
> Objet: Re: Redirect Apache Requests to Tomcat
>
>
> Thomas Garger wrote:
>
>>Hi!
>>
>>I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage is 
>>called with the following URL 
>>(http://MyServer-IP:8080/cocoon/myhomepage).
>>
>>I also have a domain-name (http://www.MyDomainName.at )where i put the

>>DNS to the IP of my Server. But every time someone want to call my 
>>homepage, he has to insert the following
>>(http://www.MyDomainName.at:8080/cocoon/myhomepage).
>>That is bad.
>>
>>And thats my intension:
>>---
>>I want to run Apache Web-Server, which is listening on port 80.
>>
>>So my question ist - can i configure Apache Web-Server and Tomcat in 
>>this way, that
>>every request, that comes to the Apache Web-Server is redirectedt to
>>Tomcat
>>(for example - someone calls http://www.MyDomainName.at he calls the
>>Apache Web-Server - this Server gets the sites from Tomcat and
displays
>>the
>>content).
>>
>>if someone needs further information, please tell me.
>>
>>thanks
>>greetings, chris
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>>
> Try to install mod_webapp module and configure the warp connection on 
> Tomcat and Apache sides See also
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/warp.html
>
> Regards.
> Yury.
>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Redirect Apache Requests to Tomcat

2002-07-04 Thread Thomas Garger

Hi!

I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage
is called with the following URL
(http://MyServer-IP:8080/cocoon/myhomepage).

I also have a domain-name (http://www.MyDomainName.at )where i put the
DNS to the IP of my Server. But every time someone want to call my
homepage,
he has to insert the following
(http://www.MyDomainName.at:8080/cocoon/myhomepage).
That is bad.

And thats my intension:
---
I want to run Apache Web-Server, which is listening on port 80.

So my question ist - can i configure Apache Web-Server and Tomcat in
this
way, that
every request, that comes to the Apache Web-Server is redirectedt to
Tomcat
(for example - someone calls http://www.MyDomainName.at he calls the
Apache Web-Server - this Server gets the sites from Tomcat and displays
the
content).

if someone needs further information, please tell me.

thanks
greetings, chris


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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