[opencms-dev] Win2000 + IIS5.0 + JRUN3.0 + MySQL
hugo burm
hugob at tamtam.xs4all.nl
Sat Jul 7 13:30:03 CEST 2001
I posted this a few weeks ago before the big W2000 debate. For some reason
it did not make it to this list, so I am reposting this.
I am trying to run Opencms on the combination Win2000 + IIS5.0 + JRUN3.0 +
MySQL (goal is MS SQL server but I am trying MySQL first).
I am running Opencms on NetBSD, so I am familiar with the Unix part. But the
JRun configuration is new to me
I have Cocoon (see: xml.apache.org) running on this W2000 system. For this
to work, I had to tackle the parser problem, i.e. replace the JRUN parser
with Xerces. I followed the instructions specific for Cocoon on the Allaire
website. Since Cocoon is running now, I am confident that I solved this
problem (There were some emails on this list dealing with this same
problem). I also passed the famous step 6 in the installation procedure. So,
I have imported all the necessary items into the database without errors.
I can start Opencms and login from the Windows CMD shell.
But when I try to open the login html page, I get an error (see Item 1
below).
Item 2 shows the configuration file that appears in opencms/WEB-INF after
configuring the Opencms web-app with the JRun Management console (I did some
editing to make it more readable, I am using the un-edited copy in the
web-app because I noticed that because of my editing the opencms.home
parameter was not interpreted correctly by the system). This configuration
file can be compared with the BEA and Tomcat files. There is no big
difference between these three files.
Item 3 shows the OpenCMS log file. No problems apart from an issue with the
FOP system. I tried to upgrade from FOP 0.15 to 0.19, but the issue with the
driver "[CmsLauncherManager] java.lang.NoClassDefFoundError:
org/apache/fop/apps/Driver" did not disappear. But it looks like this error
is ignored (it also appears when I login from the CMD shell)
Item 4-6 are the standard JRUN log files. Nothing special here. Item 6, the
err file, appears to receive some mesages from opencms that are not real
errors.
But:...
For some reason starting the OpenCms servlet stops without a major error
message. Connecting to the database appears to work fine.
Using a path like http://localhost/opencms/test/dummy.html gives the same
message from Item 1).
But http://localhost/mmbase/system/workplace/action/login.html gives a "page
not found" error.
I am showing this because the Tomcat instructions use "/opencms/*" for the
virtual path, while I am using "/". So I am wondering where JRUN gets this
"/opencms" info from.
I upgraded to JRUN 3.1 and tried three versions of Xerces. Behaviour still
the same....
Hugo Burm
hugob at xs4all.nl
===================
1
web-page: http://localhost/opencms/system/workplace/action/login.html
===================
500 Internal Server Error
/opencms/system/workplace/action/login.html:
javax.servlet.ServletException: Could not instantiate
com.opencms.boot.OpenCmsServlet
java.lang.ClassCastException: allaire.jrun.servlet.JRunServletLoader
at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:701)
at com.opencms.boot.OpenCmsServlet.init(OpenCmsServlet.java:89)
at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunSe
rvletLoader.java:236)
at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunSe
rvletLoader.java:190)
at
allaire.jrun.servlet.JRunServletLoader.loadServlet(../servlet/JRunServletLoa
der.java:177)
at
allaire.jrun.servlet.JRunSE.getServletReference(../servlet/JRunSE.java:1267)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:895)
at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
===================
2
web.xml
===================
<web-app>
<servlet>
<servlet-name>
com.opencms.boot.OpenCmsServlet
</servlet-name>
<init-param>
<param-name>opencms.home</param-name>
<param-value>
C:/Program Files/Allaire/JRun/servers/default/opencms
</param-value>
</init-param>
<init-param>
<param-name>properties</param-name>
<param-value>config/opencms.properties</param-value>
</init-param>
<servlet-class>com.opencms.boot.OpenCmsServlet</servlet-class>
<display-name>opencms</display-name>
<description>opencms 4.3.10</description>
</servlet>
<servlet>
<servlet-name>com</servlet-name>
</servlet>
<servlet-mapping>
<url-pattern>/</url-pattern>
<servlet-name>com.opencms.boot.OpenCmsServlet</servlet-name>
</servlet-mapping>
</web-app>
==================
3
opencms.log
==================
[22.06.2001 12:37:54] <opencms_init> [OpenCmsServlet] logging started
[22.06.2001 12:37:54] <opencms_init> [OpenCmsServlet] Clusterurl:
[22.06.2001 12:37:54] <opencms_init> [OpenCms] creating first cms-object
[22.06.2001 12:37:54] <opencms_init> [OpenCms] initializing the main
resource-broker
[22.06.2001 12:37:54] <opencms_init> [CmsRbManager] ressourcebroker-name:
mysql
[22.06.2001 12:37:54] <opencms_init> [CmsRbManager]
ressourcebroker-classname: com.opencms.file.mySql.CmsResourceBroker
[22.06.2001 12:37:54] <opencms_init> [CmsRbManager] got rb-class
[22.06.2001 12:37:54] <opencms_init> [CmsRbManager] created rb-instance
[22.06.2001 12:37:54] <opencms_init> [CmsResourceBroker] init the
dbaccess-module.
[22.06.2001 12:37:54] <opencms_init> [CmsDbAccess] init the dbaccess-module.
[22.06.2001 12:37:54] <opencms_init> [CmsDbAccess] read pool-name from
configurations: jdbc:opencmspool:mysql
[22.06.2001 12:37:54] <opencms_init> [CmsDbAccess] read digest from
configurations: MD5
[22.06.2001 12:37:54] <opencms_init> [CmsDbAccess] digest created, using:
MD5 Message Digest from SUN, <initialized>
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:0
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:1
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:2
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:3
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:4
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:5
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:6
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:7
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:8
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
creating new connection. Current Amount is:9
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
created
[22.06.2001 12:37:54] <opencms_pool> [com.opencms.dbpool.CmsPool] mysql:
starting connection-guard
[22.06.2001 12:37:55] <opencms_init> [CmsResourceBroker] init registry.
[22.06.2001 12:37:55] <opencms_init> [CmsRbManager] initialized the
rb-instance
[22.06.2001 12:37:55] <opencms_info> Version 4.3.18 Bela Tegeuse
[22.06.2001 12:37:55] <opencms_info>
[22.06.2001 12:37:55] <opencms_info> Copyright (C) 2000 The OpenCms Group
[22.06.2001 12:37:55] <opencms_info> OpenCms comes with ABSOLUTELY NO
WARRANTY
[22.06.2001 12:37:55] <opencms_info> This is free software, and you are
welcome to
[22.06.2001 12:37:55] <opencms_info> redistribute it under certain
conditions.
[22.06.2001 12:37:55] <opencms_info> Please see the GNU General Public
Licence for
[22.06.2001 12:37:55] <opencms_info> further details.
[22.06.2001 12:37:55] <opencms_info>
[22.06.2001 12:37:55] <opencms_init> [OpenCms] read mime types
[22.06.2001 12:37:55] <opencms_init> [OpenCms] found 125 mime-type entrys
[22.06.2001 12:37:55] <opencms_init> [OpenCms] HTTP streaming disabled.
[22.06.2001 12:37:55] <opencms_init> [OpenCms] initialize launchers...
[22.06.2001 12:37:55] <opencms_init> [CmsLauncherManager] launcher package
is:com.opencms.launcher
[22.06.2001 12:37:55] <opencms_cache> [CmsTemplateCache] Initialized
successfully.
[22.06.2001 12:37:55] <opencms_init> [CmsLauncherManager] OpenCms launcher
"CmsXmlLauncher" with launcher ID 3 loaded successfully.
[22.06.2001 12:37:55] <opencms_init> [CmsLauncherManager] OpenCms launcher
"CmsDumpLauncher" with launcher ID 1 loaded successfully.
[22.06.2001 12:37:55] <opencms_init> [CmsLauncherManager] OpenCms launcher
"CmsLinkLauncher" with launcher ID 4 loaded successfully.
[22.06.2001 12:37:55] <opencms_init> [CmsLauncherManager] Unknown error
while initializing launcher "CmsPdfLauncher". Ignoring.
[22.06.2001 12:37:55] <opencms_init> [CmsLauncherManager]
java.lang.NoClassDefFoundError: org/apache/fop/apps/Driver
[22.06.2001 12:37:55] <opencms_init> [OpenCms] element cache disabled.
[22.06.2001 12:37:55] <opencms_init> [OpenCmsServlet] initializing session
storage
[22.06.2001 12:37:55] <opencms_init> [OpenCmsServlet] initializing... DONE
[22.06.2001 12:37:55] <opencms_init> [OpenCmsServlet] initializing
CmsClassLoader
====================
4
default-out.log
====================
Collecting Repositories
oclib folder: C:\Program Files\Allaire\JRun\servers\default\opencms\oclib
jarlist
====================
5
default-event.log
====================
06/22 12:37:43 info (JRun) Loading monitor
06/22 12:37:43 info (JRun) Loading license
06/22 12:37:43 info (license) Did not find a valid license key, limiting to
3 concurrent requests
06/22 12:37:43 info (JRun) Loading control
06/22 12:37:43 info (control) control listening on 127.0.0.1:53000
06/22 12:37:43 info (JRun) Loading ejb
06/22 12:37:43 info (ejb) Starting server...
06/22 12:37:43 warning (ejb) No ejipt.userHomeName property found
06/22 12:37:43 warning (ejb) No ejipt.roleHomeName property found
06/22 12:37:44 info (ejb) Successfully binded java:comp/UserTransaction
06/22 12:37:44 info (JRun) Loading jms
06/22 12:37:44 info (JRun) Loading jndi
06/22 12:37:44 info (JRun) Loading jdbc
06/22 12:37:44 info (jdbc) Successfully binded java:comp/env/jdbc/opncms42
06/22 12:37:44 info (JRun) Loading web
06/22 12:37:44 info (web) web listening on *:8100
06/22 12:37:44 info (JRun) Loading mail
06/22 12:37:44 info (JRun) Loading url
06/22 12:37:44 info (JRun) Loading default-app
06/22 12:37:44 info (default-app) Starting default-app: Default User
Application - Default application for getting started
06/22 12:37:44 info (default-app) Loading scheduler
06/22 12:37:44 info (JRun) Loading session
06/22 12:37:44 info (default-app) Loading logging
06/22 12:37:44 info (session) Loading persistence storage provider 'file'
06/22 12:37:44 info (JRun) Loading authentication
06/22 12:37:44 info (JRun) Loading propfile
06/22 12:37:44 info (JRun) Loading jsp
06/22 12:37:44 info (JRun) Loading file
06/22 12:37:44 info (JRun) default-app Ready
06/22 12:37:44 info (JRun) Loading demo-app
06/22 12:37:44 info (demo-app) Starting demo-app: JRun Demo - JRun Demo
06/22 12:37:45 info (demo-app) Loading scheduler
06/22 12:37:45 info (JRun) Loading session
06/22 12:37:45 info (demo-app) Loading logging
06/22 12:37:45 info (JRun) Loading authentication
06/22 12:37:45 info (session) Loading persistence storage provider 'file'
06/22 12:37:45 info (JRun) Loading propfile
06/22 12:37:45 info (JRun) Loading jsp
06/22 12:37:45 info (JRun) Loading file
06/22 12:37:45 info (JRun) demo-app Ready
06/22 12:37:45 info (JRun) Loading Test
06/22 12:37:45 info (Test) Loading scheduler
06/22 12:37:45 info (Test) Loading logging
06/22 12:37:45 info (session) Loading persistence storage provider 'file'
06/22 12:37:45 info (JRun) Loading session
06/22 12:37:45 info (JRun) Loading authentication
06/22 12:37:45 info (JRun) Loading propfile
06/22 12:37:45 info (JRun) Loading jsp
06/22 12:37:45 info (JRun) Loading file
06/22 12:37:45 info (JRun) Test Ready
06/22 12:37:45 info (JRun) Loading cocoon-web-pub
06/22 12:37:45 info (cocoon-web-pub) Loading scheduler
06/22 12:37:45 info (cocoon-web-pub) Loading logging
06/22 12:37:45 info (JRun) Loading session
06/22 12:37:45 info (JRun) Loading authentication
06/22 12:37:45 info (JRun) Loading propfile
06/22 12:37:45 info (JRun) Loading jsp
06/22 12:37:45 info (session) Loading persistence storage provider 'file'
06/22 12:37:45 info (JRun) Loading file
06/22 12:37:45 info (JRun) cocoon-web-pub Ready
06/22 12:37:45 info (JRun) Loading opencms
06/22 12:37:45 info (opencms) Loading scheduler
06/22 12:37:45 info (opencms) Loading logging
06/22 12:37:45 info (session) Loading persistence storage provider 'file'
06/22 12:37:45 info (JRun) Loading session
06/22 12:37:45 info (JRun) Loading authentication
06/22 12:37:45 info (JRun) Loading propfile
06/22 12:37:45 info (JRun) Loading jsp
06/22 12:37:45 info (JRun) Loading file
06/22 12:37:45 info (JRun) opencms Ready
06/22 12:37:45 info (JRun) Loading jcp
06/22 12:37:45 info (jcp) jcp listening on 127.0.0.1:51000
06/22 12:37:45 info (JRun) default Ready
06/22 12:37:54 info (JRun) com.opencms.boot.OpenCmsServlet: init
====================
6
default-err.log
====================
Operating System: Windows 2000 Version 5.0
Java Virtual Machine: mixed mode from Sun Microsystems Inc.
JRun 3.0 3.02a.11614 Starting default...
Current Locale: en_US
Loading scheduler
Loading logging
BASE: C:\Program Files\Allaire\JRun\servers\default\opencms
BASE2: C:\Program Files\Allaire\JRun\servers\default
[CmsBase] Setting OpenCms home folder to C:\Program
Files\Allaire\JRun\servers\default\opencms\.
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\occlasses
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\activation.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\batik.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\fop.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\jimi-1.0.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\mail.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\mm.mysql-2.0.4-bin.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\opencms.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\opencmsboot.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\xalan-2.0.0.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\xalanj1compat.jar
[CmsClassLoader] Adding repository C:\Program
Files\Allaire\JRun\servers\default\opencms\oclib\xerces-1.2.3.jar
Version 4.3.18 Bela Tegeuse
Copyright (C) 2000 The OpenCms Group
OpenCms comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to
redistribute it under certain conditions.
Please see the GNU General Public Licence for
further details.
===========
More information about the opencms-dev
mailing list