[opencms-dev] Installation problems - Wizard OK - but no login? [logs]

Derek Hohls DHohls at csir.co.za
Fri Aug 23 14:20:42 CEST 2002


Stephan

Thanks - that makes sense... but I gather from what you say that
all my xerces files are OK - what then is causing the servlet to fail
at startup??

Thanks
Derek

>>> hartmann at waehrisch-feykes.de 23/08/2002 02:11:57 >>>
Hi Derek,

it is ok when a webapp has its own libraries within its lib directory
cause 
they are not seen by the other webapps. Seems that the one in
common/lib 
doesn`t conflict so leave it there. I just believe that
$TOMCAT_HOME/lib is 
no good place for xerces cause as far as i know this libraries are seen
by 
all webapps.

bye,
Stephan

Am Freitag, 23. August 2002 13:47 schrieben Sie:
> Stephan
>
> Funny you should suggest this - I was upgrading my version of Cocoon
> (http://xml.apache.org/cocoon/ ) and ran into a similar problem - I
> found
> a 'parser.jar' file in the jre/lib/ext/ directory, removed it and
> voila!
>
> I do have other copies of xerxes running, though not in  jre/lib/ext
>
> Specifically, I have xerxes-related files:
>
> xercesImpl-2.0.2.jar in $TOMCAT_HOME/webapps/cocoon/WEB_INF/lib
> xerces-1_4_4.jar in  $TOMCAT_HOME/webapps/opencms/WEB_INF/oclib
> xercesImpl.jar in $TOMCAT_HOME/common/lib
>
> If any of these seem incorrect or redundant, please let me know.
>
> Thanks
> Derek
>
> >>> hartmann at waehrisch-feykes.de 23/08/2002 11:07:09 >>>
>
> Hi Derek,
>
> you may have put another XML parser in your JDK's jre/lib/ext/
> directory that
> conflicts with opencms's xerces.
> If thats the case, remove it.
>
> regards,
> Stephan Hartmann
>
> Am Freitag, 23. August 2002 09:11 schrieben Sie:
> > > Sure.... I have attached the transcripts to this email
> > >
> > >>> beffe at beffe.de 22/08/2002 07:49:20 >>>
> >
> > Do you have some more output from tomcat's logs and opencms's log?
> >
> > Am Don, 2002-08-22 um 14.16 schrieb Derek Hohls:
> > > Thanks -- that worked, and the wizard seemed to complete the
> > > setup OK.
> > >
> > > However, when I try and launch the (default?):
>
>
http://localhost:8080/opencms/opencms/system/workplace/action/login.html

>
> > > I get the error:
> > >
> > > The server encountered an internal error (Internal Server Error)
>
> that
>
> > >   prevented it from fulfilling this request.
> > > .....
> > >
> > > root cause
> > >
> > > java.lang.VerifyError: (class:
> >
> > com/opencms/template/CmsXmlXercesParser,
> >
> > >   method: parse signature:
>
> (Ljava/io/Reader;)Lorg/w3c/dom/Document;)
>
> > >   Incompatible object argument for function call
> > >   at
>
> com.opencms.template.A_CmsXmlContent.(A_CmsXmlContent.java:153)
>
> > > Any ideas what else I need to do to get it to work?
> > >
> > > Thanks (again)
> > > Derek
> > >
> > > >>> hartmann at waehrisch-feykes.de 22/08/2002 01:32:23 >>>
> > >
> > > Am Donnerstag, 22. August 2002 13:28 schrieben Sie:
> > > > web.xml is shown below:
> > > >
> > > > <?xml version="1.0" encoding="ISO-8859-1"?>
> > > >
> > > > <!DOCTYPE web-app
> > > >     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> >
> > 2.3//EN"
> >
> > > >         "web-app_2_3.dtd">
> > >
> > > try
> > > 	     "http://java.sun.com/dtd/web-app_2_3.dtd">
> > >
> > > > <web-app>
> > > >
> > > >     <display-name>OpenCms</display-name>
> > > >     <description>
> > > >         OpenCms a open source contentmanagement solution. See
> > > >         details on http://www.opencms.com/ 
> > > >     </description>
> > > >
> > > >     <servlet>
> > > >       <servlet-name>OpenCmsServlet</servlet-name>
> > > >       <description>
> > > >         OpenCms is one servlet that handles all requests.
> > > >       </description>
> >
> > <servlet-class>com.opencms.boot.OpenCmsServlet</servlet-class>
> >
> > > >     </servlet>
> > > >
> > > >     <servlet-mapping>
> > > >       <servlet-name>OpenCmsServlet</servlet-name>
> > > >       <url-pattern>/opencms/*</url-pattern>
> > > >     </servlet-mapping>
> > > >
> > > >     <servlet-mapping>
> > > >       <servlet-name>OpenCmsServlet</servlet-name>
> > > >       <url-pattern>*.jsp</url-pattern>
> > > >     </servlet-mapping>
> > > >
> > > >     <servlet-mapping>
> > > >       <servlet-name>jsp</servlet-name>
> > > >       <url-pattern>*.ocjsp</url-pattern>
> > > >     </servlet-mapping>
> > > >
> > > >     <session-config>
> > > >       <session-timeout>30</session-timeout>    <!-- 30 minutes
>
> -->
>
> > > >     </session-config>
> > > >
> > > >     <welcome-file-list>
> > > >         <welcome-file>index.ocjsp</welcome-file>
> > > >         <welcome-file>index.html</welcome-file>
> > > >         <welcome-file>index.htm</welcome-file>
> > > >     </welcome-file-list>
> > > > </web-app>
> > > >
> > > > >>> hartmann at waehrisch-feykes.de 22/08/2002 12:12:17 >>>
> > > >
> > > > What does your web.xml
> > >
> > > ($TOMCAT_HOME/webapps/opencms/WEB-INF/web.xml)
> > >
> > > > look
> > > > like?
> > > >
> > > > Am Donnerstag, 22. August 2002 10:59 schrieben Sie:
> > > > > Sorry
> > > > >
> > > > > I forget to include the Tomcat error log, which may help
> > > > > track down the problem... the relavant parts are:
> > > > >
> > > > > 2002-08-22 10:40:35 ContextConfig[/opencms]
> > > > >   Parse error in application web.xml
> > > > >   org.xml.sax.SAXParseException:
> > > > >   Relative URI "web-app_2_3.dtd";
> > > > >   can not be resolved without a document URI.
> > > > >   at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
> > > > > ....
> > > > > 2002-08-22 10:40:35 ContextConfig[/opencms]:
> > > > >   Occurred at line 5 column -1
> > > > > 2002-08-22 10:40:35 ContextConfig[/opencms]:
> > > > >   Marking this application unavailable due to previous
>
> error(s)
>
> > > > > 2002-08-22 10:40:35 StandardContext[/opencms]:
> > > > >   Error initializing naming context for context /opencms
> > > > > 2002-08-22 10:40:35 StandardContext[/opencms]:
> > > > >   Context startup failed due to previous errors
> > > > > 2002-08-22 10:40:35 StandardContext[/opencms]:
> > > > >   Error initializing naming context for context /opencms
> > > > >
> > > > > >>> DHohls at csir.co.za 22/08/2002 10:51:24 >>>
> > > > >
> > > > > I am trying to deploy OpenCMS in the following environment:
> > > > >
> > > > > OpenCMS 4.6.1.
> > > > > Windows 2000
> > > > > Tomcat 4.0.4
> > > > > JDK 1.3
> > > > > mySQL 3.23.x
> > > > >
> > > > > [Note that TC itself works OK and I am running other webapps
> > > > > under localhost:8080 ...]
> > > > >
> > > > > I have followed the installation instructions up to
> > > > > Step 4: Deploy the opencms.war file.  The appropriate
> > > > > directories and files appear to have been extracted OK.
> > > > >
> > > > > However, when I try to access the installation wizard:
> > > > > http://localhost:8080/opencms/ocsetup 
> > > > >
> > > > > I get this message-
> > > > > Description: The requested resource (/opencms/ocsetup) is
not
> > > > > available.
> > > > >
> > > > > How do I proceed from here??
> > > > >
> > > > > Thanks
> > > > > Derek
> > >
> > > --
> > > Stephan Hartmann
> > >
> > > WShrisch & Feykes GmbH
> > > Gustav-Adolf-Str. 5
> > > 47057 Duisburg
> > > Tel. 0203 / 373 070
> > > Fax 0203 / 376 766
> > > hartmann at wfnetz.de 
> > >
> > > ------------------------------------------------------
> > > AusschlusserklSrung (Disclaimer):
> > > _ber das Internet versandte E-mails k÷nnen unter fremden Namen
> >
> > erstellt
> >
> > > oder
> > > manipuliert werden. Aus diesem Grund enthalten unsere mit E-mail
> > > verschickten
> > > Nachrichten grundsStzlich keine rechtsverbindlichen
> > > WillenserklSrungen.
>
> ----------------------------------------
> Content-Type: text/plain; charset="ISO-8859-1"; name="Anhang: 1"
> Content-Transfer-Encoding: 7bit
> Content-Description:
> ----------------------------------------
>
> ----------------------------------------
> Content-Type: application/octet-stream; charset="ISO-8859-1";
> name="opencms.log"
> Content-Transfer-Encoding: base64
> Content-Description:
> ----------------------------------------

-- 
Stephan Hartmann

Währisch & Feykes GmbH
Gustav-Adolf-Str. 5
47057 Duisburg
Tel. 0203 / 373 070
Fax 0203 / 376 766
hartmann at wfnetz.de 

------------------------------------------------------
Ausschlusserklärung (Disclaimer):
Über das Internet versandte E-mails können unter fremden Namen erstellt
oder 
manipuliert werden. Aus diesem Grund enthalten unsere mit E-mail
verschickten 
Nachrichten grundsätzlich keine rechtsverbindlichen
Willenserklärungen.




More information about the opencms-dev mailing list