Re: Slightly OT: Which CMS?

2007-07-02 Thread Martin Heiden
Gregor,

  have a look at www.cmsmatrix.org

  there are several java open source cms. I would give alfresco a
  chance (www.alfresco.org), but it may be overkill.

  You could try Daisy (www.daisycms.org) (it's more a wiki system but
  quite interesting) or Apache Lenya (lenya.apache.org). Both are XML
  based systems.

  Or a JSP based approach like www.opencms.org and www.magnolia.info.

  If you consider PHP CMS systems too, try www.drupal.org!
  
regards,

  Martin


am Montag, 2. Juli 2007 um 11:44 schrieben Sie:

 Dear list,

 among other things it's now my job to look out for CMS.

 I've asked auntie Google, however, browsing all hits that Google
 showed up would lead straight into my retirement (and I'm not *that*
 old...)

 What I've seen so far is, that most CMSs are based on PHP - something
 which is giving me slight headaches.

 I've looked for Java-based CMSs being able to run on Tomcat or JBoss,
 however, seems there are only a few available.

 Recommendation for a CMS would be:

 - able to somehow import our old content (static HTML, Java-Script)
 - would be great if it doesn't take 1/2 year training until you can
 work with the CMS (like Typo3)
 - open source  developer-community would be a REAL BIG PLUS
 - should be able to integrate our dynamic content (Servlets, JSP)
 - dynamic content is protected by Tomcat Formbased AA - would like
 either to reuse this or somehow integrate it with the CMS's own
 security paradigma

 I know it's quite a whishlist, but does anybody here have a suggestion
 where I should point my webbrowser to?

 We might even consider to pay for a CMS if the benefit compared to any
 free CMS is making up for the licence-fees.

 And, last not least:

 In case we consider a PHP-based CMS (i.e. Joomla) - is PHP still an
 security-issue?
 I appreciate you giving some valued oppinions on that, however, I
 don't want to start a flamewar on PHP ;)

 TIA

 Gregor





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ajax xmlhttprequest

2007-04-17 Thread Martin Heiden

Richard!

  As you said: You installed PHP separately installed on your laptop.
  Tomcat can't interpret PHP out of the box. If you only want to use
  PHP without any Java, install the Apache HTTPD (httpd.apache.org)
  with mod_php5 enabled. If you also want to use Java, you've got
  three choices:

  1) Run PHP on Apache HTTPD and Java on Tomcat. Setup communication
 via http - calls between the two servers.

  2) Run PHP on Apache HTTPD and use the PHP-Java Bridge. You don't
 need Tomcat.

  3) You can interpret PHP on Tomcat if you use the reference
 implementation for JSR-223 (Scripting for the Java Platform)
 http://jcp.org/aboutJava/communityprocess/pr/jsr223/index.html

  With the scenario you described, I'd recommend to just switch from
  Tomcat to the Apache HTTPD.

regards,

  Martin

am Dienstag, 17. April 2007 um 00:44 schrieben Sie:

 I have Mozila Firefox, Jakarta Tomcat v5.0.28, PHP5 and PostgreSQL
 8.2.3-1 installed seperately on my laptop, also have MySQL installed
 but using Postgres for project purpose.  All of my php files are
 listed under http://localhost:8080/ProjectFolder.  Some of my php
 files are webpages and most are scripts.  I have a database and a
 few tables created.  So far in DOS, I can query the database with a
 php script on its own.  In Windows, (Editplus text editor) one of my
 webpages is trying to execute the same php script via an Ajax
 xmlhttprequest, using alerts I have gone through the http
 readystates 1,2,3,4 and http status 200, but am having problems
 accessing/parsing responseText.  In tomcat, I am getting as far as
 readystate 1, (firewall turned off).  Is there any
 particular/obvious reason why the request is breaking down in tomcat?

 Richard.


 - Original Message 
 From: dimitryous r. [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Monday, April 16, 2007 10:58:16 PM
 Subject: Re: Ajax xmlhttprequest


 I have a php webpage which is hosted on my laptop (XP and tomcat  
 localhost:8080).

 Hello,
 Please tell me more about your configuration:
 if your Apache Tomcat server is running on port 8080 how come do you  
 get something out of a xxx.php script?
 You mean: at http://localhost:8080/myfile.jsp (Apache Tomcat 5.5.x)  
 this script call http://localhost/anyfile.php (Apache 1.3.xx with php/
 MySQL built-in)???

 Is this the way you do it?

 Thank you much.

 On 8 avr. 07, at 14:55, Richard Dunne wrote:

 I have a php webpage which is hosted on my laptop (XP and tomcat  
 localhost:8080). My webpage is executing a php script via an  
 xmlhttprequest which queries a database and sends back the info to  
 the webpage.   I have an a few alerts in my request to see the  
 http.readystate and the http.status as they change.  In windows  
 (IE7), when I execute the request I can see the readystate changing  
 1,2,3,4 and the status 200.  In tomcat when I execute the request,  
 I am getting 1 alert, that is readystate 1, and thats as far as it  
 goes.  Can anyone suggest a possible solution, or have an idea as  
 to what the problem might be.

 Richard.



 __ 
 __
 Be a PS3 game guru.
 Get your game face on with the latest PS3 news and previews at  
 Yahoo! Games.
 http://videogames.yahoo.com/platform?platform=120121


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: strange ssl tomcat response

2006-12-14 Thread Martin Heiden
Hi!

 http://localhost:8443 (note the http not the https)
 I am pretty sure that this is NOT valid behaviour.

Why do you think so? I that tomcat will initialise the SSL
negotiation. Client and Server have to exchange the keys. If you do
not tell the browser that it has to do this negotiation (you tell it
that it is a http connection not https!) it just wants to display the
machine readable initialisation of the SSL negotiation.

I tried the same on a Websphere-Server over here and it behaves the
same way as tomcat.

It's pretty valid!

regards

  Martin.






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XP network connections freeze after request by IE

2006-10-18 Thread Martin Heiden
Peter,

  I tested this in another configuration and it didn't work, but now I
  tested it again and it works. It seems to be an apache/connector
  issue.

  Thanks for the advice!

  Sometimes it's much easier than it seems...

Martin

am Dienstag, 17. Oktober 2006 um 12:56 schrieben Sie:

 Hi!

   I've got some serious problems with the following configuration:

   Windows XP Prof. SP2
   Apache 2.2.3
   mod_proxy_http
   Tomcat 5.5.20
   Java Sun SDK 1.5.0_09

   After some requests by IE from any machine on the network all
   network connections on the server freeze. The only solution is to
   reboot the computer. Requests by Firefox or Opera work
   perfectly.

   The killing request seems to be answered by tomcat, but the response
   never reaches the client.

   I'm not sure if it is an apache, tomcat or connector problem nor
   how to debug it. I also tested with ajp connectors, different java,
   apache and tomcat versions. The problem remains. A new installation
   of XP didn't work either.

   My last guess is a configuration issue, but the same config with the
   same webapp works on a linux machine. (Just some JSPs with some
   simple Custom-Tags...)

   Well, these are the important parts of the config. (I can send the
   whole files too.)

   Does anybody have an idea how to debug this behaviour? Or did I make
   a serious mistake configuring the server?

 TIA

   Martin


 Apache: httpd.conf

 NameVirtualHost *

 VirtualHost *
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot
 K:/PROJEKTE/e-business/tomcat/sites/devk-xhtml/branches/devkneu/
 ServerName branch.eb.hv.devk.de
 ServerAlias branch-sparda.eb.hv.devk.de branch-bahn.eb.hv.devk.de
 
 ErrorLog logs/branch.eb.hv.devk.de-error_log
 CustomLog logs/branch.eb.hv.devk.de-access_log common
 
 ExpiresActive on
 ExpiresDefault now


 RewriteEngine on
 RewriteLog logs/branch.eb.hv.devk.de-rewrite_log
 RewriteLogLevel 10
 
 RewriteRule
 ^(.+)http://branch\.eb\.hv\.devk\.de/.*;jsessionid(.*)$ 
 $1;jsessionid$2
 RewriteRule
 ^(.*)http://branch-sparda\.eb\.hv\.devk\.de/;jsessionid(.*)$ 
 $1;jsessionid$2
 RewriteRule
 ^(.*)http://branch-bahn\.eb\.hv\.devk\.de/;jsessionid(.*)$   
 $1;jsessionid$2

 RewriteCond %{HTTP_HOST}^branch\.eb\.hv\.devk\.de
 RewriteRule ^/$ /index.jsp

 RewriteRule ^/(.*)/$/sumo/$1/
 RewriteRule ^/(.*)\.html$   /sumo/$1.html

 RewriteCond %{HTTP_HOST}^branch-sparda\.eb\.hv\.devk\.de
 RewriteRule ^/index.jsp /index_sparda.jsp
 
 RewriteCond %{HTTP_HOST}^branch-sparda\.eb\.hv\.devk\.de
 RewriteRule ^/$ /index_sparda.jsp 
 
 #RewriteRule ^/index_sparda.jsp$/index_sparda_gottesacker.jsp 

 RewriteCond %{HTTP_HOST}^branch-bahn\.eb\.hv\.devk\.de
 RewriteRule ^/index.jsp /index_bahn.jsp 
 
 RewriteCond %{HTTP_HOST}^branch-bahn\.eb\.hv\.devk\.de
 RewriteRule ^/$ /index_bahn.jsp 

 RewriteCond %{QUERY_STRING} linkpage=(.*\.jsp)
 RewriteRule
 ^/(bahn|devk|sparda)/servlet/maincontroller(;jsessionid=.{27}:-1)?$ 
 %1?%{QUERY_STRING} [R]

 RewriteRule ^/(.*\.jsp)$/ebus/$1?%{QUERY_STRING} [PT]

 SetEnv  proxy-sendcl true
 ProxyRequests Off
 ProxyPreserveHost   On
 ProxyBadHeader  Ignore
 Header append Cache-Control public, must-revalidate

 #   ProxyPass /ebus/ajp://127.0.0.1:8009/
 ProxyPass /ebus/http://127.0.0.1:8080/ebus/

 
 Directory
 K:/PROJEKTE/e-business/tomcat/sites/devk-xhtml/branches/devkneu/
 #   Header append Cache-Control public, must-revalidate

 AddDefaultCharset utf-8
 
 Options Indexes FollowSymLinks
 AllowOverride None
 
 Order allow,deny
 Allow from all  
 
 /Directory
 /VirtualHost  

 Tomcat: server.xml

 Service name=Catalina
 Connector port=8080 debug=true /

 !-- This is here for compatibility only, not required --
 Connector port=8009 protocol=AJP/1.3 address=localhost 
  minProcessors=100 
 maxProcessors=300 debug=10 /

 Engine name=Catalina jvmRoute=tomcat
 defaultHost=devk-xhtml.eb.hv.devk.de

   Realm className=org.apache.catalina.realm.UserDatabaseRealm
  resourceName=UserDatabase /

   Host name=branch.eb.hv.devk.de
 appBase=K:/PROJEKTE/e-business/tomcat/sites/devk-xhtml/branches
unpackWARs=false autoDeploy=false
 deployOnStartup=false deployXML=false debug=true
 Aliasbranch-sparda.eb.hv.devk.de/Alias
 Aliasbranch-bahn.eb.hv.devk.de/Alias


 Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs 
 

XP network connections freeze after request by IE

2006-10-17 Thread Martin Heiden
Hi!

  I've got some serious problems with the following configuration:

  Windows XP Prof. SP2
  Apache 2.2.3
  mod_proxy_http
  Tomcat 5.5.20
  Java Sun SDK 1.5.0_09

  After some requests by IE from any machine on the network all
  network connections on the server freeze. The only solution is to
  reboot the computer. Requests by Firefox or Opera work
  perfectly.

  The killing request seems to be answered by tomcat, but the response
  never reaches the client.

  I'm not sure if it is an apache, tomcat or connector problem nor
  how to debug it. I also tested with ajp connectors, different java,
  apache and tomcat versions. The problem remains. A new installation
  of XP didn't work either.

  My last guess is a configuration issue, but the same config with the
  same webapp works on a linux machine. (Just some JSPs with some
  simple Custom-Tags...)

  Well, these are the important parts of the config. (I can send the
  whole files too.)

  Does anybody have an idea how to debug this behaviour? Or did I make
  a serious mistake configuring the server?

TIA

  Martin


Apache: httpd.conf

NameVirtualHost *

VirtualHost *
ServerAdmin [EMAIL PROTECTED]
DocumentRoot 
K:/PROJEKTE/e-business/tomcat/sites/devk-xhtml/branches/devkneu/
ServerName branch.eb.hv.devk.de
ServerAlias branch-sparda.eb.hv.devk.de branch-bahn.eb.hv.devk.de

ErrorLog logs/branch.eb.hv.devk.de-error_log
CustomLog logs/branch.eb.hv.devk.de-access_log common

ExpiresActive on
ExpiresDefault now


RewriteEngine on
RewriteLog logs/branch.eb.hv.devk.de-rewrite_log
RewriteLogLevel 10

RewriteRule ^(.+)http://branch\.eb\.hv\.devk\.de/.*;jsessionid(.*)$ 
$1;jsessionid$2 
RewriteRule ^(.*)http://branch-sparda\.eb\.hv\.devk\.de/;jsessionid(.*)$
$1;jsessionid$2 
RewriteRule ^(.*)http://branch-bahn\.eb\.hv\.devk\.de/;jsessionid(.*)$  
$1;jsessionid$2 

RewriteCond %{HTTP_HOST}^branch\.eb\.hv\.devk\.de
RewriteRule ^/$ /index.jsp

RewriteRule ^/(.*)/$/sumo/$1/
RewriteRule ^/(.*)\.html$   /sumo/$1.html

RewriteCond %{HTTP_HOST}^branch-sparda\.eb\.hv\.devk\.de
RewriteRule ^/index.jsp /index_sparda.jsp

RewriteCond %{HTTP_HOST}^branch-sparda\.eb\.hv\.devk\.de
RewriteRule ^/$ /index_sparda.jsp 

#RewriteRule ^/index_sparda.jsp$/index_sparda_gottesacker.jsp 

RewriteCond %{HTTP_HOST}^branch-bahn\.eb\.hv\.devk\.de
RewriteRule ^/index.jsp /index_bahn.jsp 

RewriteCond %{HTTP_HOST}^branch-bahn\.eb\.hv\.devk\.de
RewriteRule ^/$ /index_bahn.jsp 

RewriteCond %{QUERY_STRING} linkpage=(.*\.jsp)
RewriteRule 
^/(bahn|devk|sparda)/servlet/maincontroller(;jsessionid=.{27}:-1)?$ 
%1?%{QUERY_STRING} [R]

RewriteRule ^/(.*\.jsp)$/ebus/$1?%{QUERY_STRING} [PT]

SetEnv  proxy-sendcl true
ProxyRequests Off
ProxyPreserveHost   On
ProxyBadHeader  Ignore
Header append Cache-Control public, must-revalidate

#   ProxyPass /ebus/ajp://127.0.0.1:8009/
ProxyPass /ebus/http://127.0.0.1:8080/ebus/


Directory 
K:/PROJEKTE/e-business/tomcat/sites/devk-xhtml/branches/devkneu/
#   Header append Cache-Control public, must-revalidate

AddDefaultCharset utf-8

Options Indexes FollowSymLinks
AllowOverride None

Order allow,deny
Allow from all  

/Directory
/VirtualHost  

Tomcat: server.xml

Service name=Catalina
Connector port=8080 debug=true /

!-- This is here for compatibility only, not required --
Connector port=8009 protocol=AJP/1.3 address=localhost 
 minProcessors=100 
maxProcessors=300 debug=10 /

Engine name=Catalina jvmRoute=tomcat 
defaultHost=devk-xhtml.eb.hv.devk.de

  Realm className=org.apache.catalina.realm.UserDatabaseRealm
 resourceName=UserDatabase /

  Host name=branch.eb.hv.devk.de 
appBase=K:/PROJEKTE/e-business/tomcat/sites/devk-xhtml/branches
   unpackWARs=false autoDeploy=false deployOnStartup=false 
deployXML=false debug=true
Aliasbranch-sparda.eb.hv.devk.de/Alias
Aliasbranch-bahn.eb.hv.devk.de/Alias


Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs  prefix=branch.eb.hv.devk.de_access_log. 
suffix=.txt
 pattern=%t: From %a using %{User-Agent}i by %H, %m - %U?%q 
with Session %S in %D milis: %s resolveHosts=false/

  Context path=/ebus docBase=devkneu debug=true 
cachingAllowed=false /

  /Host

/Engine
/Service

Tomcat: web.xml
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun