Yours: jdbc:mysql://localhost:3306/roller?autoReconnect=true&useUnicode=true
&characterEncoding=utf-8 &mysqlEncoding=utf8

Mine: jdbc:mysql://localhost:3306/roller?autoReconnect=true&
useUnicode=true&characterEncoding=utf-8 &mysqlEncoding=utf8


2006/12/12, Shutra Zhou <[EMAIL PROTECTED]>:

`&' -> `&amp;'.

2006/12/12, kisuco <[EMAIL PROTECTED]>:
>
>
> Thank you, but how does this line differ from the one I showed you?
>
> Shutra Zhou wrote:
> >
> >
> jdbc:mysql://localhost:3306/roller?autoReconnect=true&amp;useUnicode=true
> > &amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8
> >
> >
> > 2006/12/12, kisuco <[EMAIL PROTECTED]>:
> >>
> >>
> >> Antwort, can you bold the changes you proposed? The only difference I
>
> >> found
> >> was: in the first line, you replaced '\roller' with '/roller' . Is
> that
> >> all?
> >>
> >>
> >> Shutra Zhou wrote:
> >> >
> >> > Change to this:
> >> > <Context path="/roller" docBase="c:\ApacheRoller\apache-roller-3.0-
> >> > incubating\webapp\roller" debug="0">
> >> > <Resource name="jdbc/rollerdb" auth="Container"
> >> > type="javax.sql.DataSource"
> >> > />
> >> > <ResourceParams name="jdbc/rollerdb">
> >> > <parameter>
> >> > <name>factory</name>
> >> > <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> >> > </parameter>
> >> > <parameter>
> >> > <name>driverClassName</name>
> >> > <value>com.mysql.jdbc.Driver</value>
> >> > </parameter>
> >> > <parameter>
> >> > <name>url</name>
> >> > <value>
> >> >
> >>
> 
jdbc:mysql://localhost:3306/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8
> >> > </value>
> >> > </parameter>
> >> > <parameter><name>username</name><value>root</value></parameter>
> >> >
> <parameter><name>password</name><value>mypassword</value></parameter>
> >> > <parameter><name>maxActive</name><value>20</value></parameter>
> >> > <parameter><name>maxIdle</name><value>3</value></parameter>
> >> >
> <parameter><name>removeAbandoned</name><value>true</value></parameter>
> >> > <parameter><name>maxWait</name><value>3000</value></parameter>
> >> > </ResourceParams>
> >> > <!-- If you want e-mail features, un-comment the section below -->
> >> > <!--
> >> > <Resource name="mail/Session" auth="Container" type="
> javax.mail.Session
> >> "/>
> >> > <ResourceParams name="mail/Session">
> >> > <parameter>
> >> > <name>mail.smtp.host</name>
> >> > <value> smtp.sbcglobal.net</value>
> >> > </parameter>
> >> > </ResourceParams>
> >> > -->
> >> > </Context>
> >> >
> >> > That is to say, use slash for the path, not the back slash.
> >> > replace `&' with `&amp;' as character `&' is a reserved character
> in
> >> xml
> >> > spec.
> >> >
> >> > 2006/12/12, kisuco <[EMAIL PROTECTED]>:
> >> >>
> >> >>
> >> >> OK, Thanks for the input. I created the file by pasting the
> <context
> >> >> ....>
> >> >> segment found in the Roller Installation Guide 3.0. Then I stored
> as
> >> >> roller.xml in the indicated directory in the Tomcat dir structure.
> >> Here
> >> >> is
> >> >> its content:
> >> >>
> >> >> <Context path="\roller" docBase="c:\ApacheRoller\apache-roller-3.0
> -
> >> >> incubating\webapp\roller" debug="0">
> >> >> <Resource name="jdbc/rollerdb" auth="Container"
> >> >> type="javax.sql.DataSource
> >> >> "
> >> >> />
> >> >> <ResourceParams name="jdbc/rollerdb">
> >> >> <parameter>
> >> >> <name>factory</name>
> >> >> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> >> >> </parameter>
> >> >> <parameter>
> >> >> <name>driverClassName</name>
> >> >> <value>com.mysql.jdbc.Driver</value>
> >> >> </parameter>
> >> >> <parameter>
> >> >> <name>url</name>
> >> >> <value>
> >> >>
> >> >>
> >>
> 
jdbc:mysql://localhost:3306/roller?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8
>
> >> >> </value>
> >> >> </parameter>
> >> >> <parameter><name>username</name><value>root</value></parameter>
> >> >>
> <parameter><name>password</name><value>mypassword</value></parameter>
> >> >> <parameter><name>maxActive</name><value>20</value></parameter>
> >> >> <parameter><name>maxIdle</name><value>3</value></parameter>
> >> >>
> <parameter><name>removeAbandoned</name><value>true</value></parameter>
> >> >> <parameter><name>maxWait</name><value>3000</value></parameter>
> >> >> </ResourceParams>
> >> >> <!-- If you want e-mail features, un-comment the section below -->
> >> >> <!--
> >> >> <Resource name="mail/Session" auth="Container"
> >> >> type="javax.mail.Session"/>
> >> >> <ResourceParams name="mail/Session">
> >> >> <parameter>
> >> >> <name>mail.smtp.host </name>
> >> >> <value>smtp.sbcglobal.net</value>
> >> >> </parameter>
> >> >> </ResourceParams>
> >> >> -->
> >> >> </Context>
> >> >>
> >> >>
> >> >>
> >> >> Shutra Zhou wrote:
> >> >> >
> >> >> > Or your 'roller.xml' file is not xml-formed.
> >> >> >
> >> >> > If you can not check it by yourself.
> >> >> >
> >> >> > Paste and send it to us.
> >> >> >
> >> >> > 2006/12/12, Shutra Zhou < [EMAIL PROTECTED]>:
> >> >> >>
> >> >> >> Something wrong in your tomcat's configuration file 'roller.xml'
> as
> >> >> the
> >> >> >> BOM.
> >> >> >> Check the roller.xml's encoding.
> >> >> >> If you're using not just ascii in it.
> >> >> >>
> >> >> >> For simply: add this as the first line of the file:
> >> >> >>
> >> >> >> <?xml version="1.0" encoding="UTF-8"?>
> >> >> >>
> >> >> >> and saved it as "UTF-8".
> >> >> >>
> >> >> >>
> >> >> >> 2006/12/12, Luiz Costa < [EMAIL PROTECTED]>:
> >> >> >> >
> >> >> >> > Tom, thank you so much for your reply. The only log I find is
> >> from
> >> >> >> > Tomcat 'logs' directory. Pls. see its content below. As you
> can
> >> see,
> >> >> >> > there is the moment on Dec. 5 when I lauched it, and the
> moment
> >> >> today,
> >> >> >> > Dec. 11, when I stopped it. I tried to find problem with
> 'Invalid
> >> >> byte
> >> >> >> 2
> >> >> >> >
> >> >> >> > of 2-byte UTF-8 sequence.' found in these log, but even
> though I
> >> >> >> > replaced the '&amp's with '&'s,  according to another
> roller.xml
> >> >> >> someone
> >> >> >> > had on the forum, but it didn't make any difference.
> >> >> >> >
> >> >> >> > Dec 5, 2006 11:42:20 PM
> >> org.apache.coyote.http11.Http11Protocolinit
> >> >> >> > INFO: Initializing Coyote HTTP/1.1 on http-8080
> >> >> >> > Dec 5, 2006 11:42:21 PM org.apache.catalina.startup.Catalinaload
> >> >> >> > INFO: Initialization processed in 7531 ms
> >> >> >> > Dec 5, 2006 11:42:22 PM
> >> >> org.apache.catalina.core.StandardServicestart
> >> >> >> > INFO: Starting service Catalina
> >> >> >> > Dec 5, 2006 11:42:22 PM
> org.apache.catalina.core.StandardEngine
> >> >> start
> >> >> >> > INFO: Starting Servlet Engine: Apache Tomcat/5.5.0
> >> >> >> > Dec 5, 2006 11:42:22 PM
> >> org.apache.catalina.core.StandardHoststart
> >> >> >> > INFO: XML validation disabled
> >> >> >> > Dec 5, 2006 11:42:28 PM
> org.apache.catalina.startup.HostConfig
> >> >> >> > deployDescriptor
> >> >> >> > SEVERE: Error deploying configuration descriptor roller.xml
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException
> >> >> >> > :
> >> >> >> > Invalid byte 2 of 2-byte UTF-8 sequence.
> >> >> >> >     at
> >> >> >> >
> >> com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(
> >> >> >> > UTF8Reader.java:713)
> >> >> >> >     at
> >> >> >> > com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(
> >> >> >> > UTF8Reader.java:401)
> >> >> >> >     at
> >> >> >> > com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load
> (
> >> >> >> > XMLEntityScanner.java:1740)
> >> >> >> >     at
> >> >> >> >
> >> com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString
> >> >> (
> >> >> >> > XMLEntityScanner.java:1437)
> >> >> >> >     at
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion
> >> >> >> > (XMLVersionDetector.java:191)
> >> >> >> >     at
> >> >> >> >
> >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> >> >> (
> >> >> >> > XML11Configuration.java:798)
> >> >> >> >     at
> >> >> >> >
> >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(
> >> >> >> > XML11Configuration.java:764)
> >> >> >> >     at
> >> >> >> > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(
> >> >> >> > XMLParser.java :148)
> >> >> >> >     at
> >> >> >> >
> >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> >> (
> >> >> >> > AbstractSAXParser.java:1242)
> >> >> >> >     at org.apache.tomcat.util.digester.Digester.parse (
> >> Digester.java
> >> >> >> > :1545)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.startup.HostConfig.deployDescriptor
> >> >> >> ( HostConfig.java
> >> >> >> > :560)
> >> >> >> >     at
> >> >> >> >
> >> >> >> org.apache.catalina.startup.HostConfig.deployDescriptors(
> >> >> HostConfig.java
> >> >> >> > :535)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.startup.HostConfig.deployApps(
> HostConfig.java
> >> >> :470)
> >> >> >> >     at org.apache.catalina.startup.HostConfig.start (
> >> HostConfig.java
> >> >> >> > :1063)
> >> >> >> >     at
> >> >> >> >
> >> >> org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java
> >> >> >> > :310)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> >> >> >> > LifecycleSupport.java:119)
> >> >> >> >     at org.apache.catalina.core.ContainerBase.start(
> >> >> ContainerBase.java
> >> >> >> > :1011)
> >> >> >> >     at org.apache.catalina.core.StandardHost.start(
> >> StandardHost.java
> >> >> >> > :718)
> >> >> >> >     at
> >> >> >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> >> :1003)
> >> >> >> >
> >> >> >> >     at
> >> >> >> > org.apache.catalina.core.StandardEngine.start(
> StandardEngine.java
> >> >> :420)
> >> >> >> >     at
> >> >> >> >
> >> >> >> org.apache.catalina.core.StandardService.start(
> StandardService.java
> >> >> :450)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.core.StandardServer.start
> >> >> >> (StandardServer.java:1967)
> >> >> >> >     at org.apache.catalina.startup.Catalina.start(
> Catalina.java
> >> :545)
> >> >> >> >     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:585)
> >> >> >> >     at org.apache.catalina.startup.Bootstrap.start
> >> (Bootstrap.java
> >> >> :271)
> >> >> >> >     at
> >> >> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> >> >> >> > Dec 5, 2006 11:42:33 PM
> org.apache.coyote.http11.Http11Protocol
> >> >> start
> >> >> >> > INFO: Starting Coyote HTTP/1.1 on http-8080
> >> >> >> > Dec 5, 2006 11:42:34 PM org.apache.jk.common.ChannelSocketinit
> >> >> >> > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> >> >> >> > Dec 5, 2006 11:42:34 PM org.apache.jk.server.JkMain start
> >> >> >> > INFO: Jk running ID=0 time=10/151  config=C:\Program
> Files\Apache
> >> >> >> > Software Foundation\Tomcat 5.0\conf\jk2.properties
> >> >> >> > Dec 5, 2006 11:42:35 PM org.apache.catalina.startup.Catalina
> >> start
> >> >> >> > INFO: Server startup in 13980 ms
> >> >> >> > Dec 11, 2006 10:40:55 AM
> >> >> org.apache.coyote.http11.Http11Protocolpause
> >> >> >> > INFO: Pausing Coyote HTTP/1.1 on http-8080
> >> >> >> > Dec 11, 2006 10:40:57 AM
> >> >> org.apache.catalina.core.StandardServicestop
> >> >> >> > INFO: Stopping service Catalina
> >> >> >> > 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:585)
> >> >> >> >     at org.apache.catalina.startup.Bootstrap.start(
> Bootstrap.java
> >> >> :271)
> >> >> >> >     at
> >> >> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> >> >> >> > Caused by: java.lang.NullPointerException
> >> >> >> >     at
> >> >> >> >
> >> >> org.apache.catalina.core.ContainerBase.removeChild(
> ContainerBase.java
> >> >> >> > :875)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.startup.HostConfig.undeployApps(
> >> HostConfig.java
> >> >> >> > :1104)
> >> >> >> >     at
> >> >> >> org.apache.catalina.startup.HostConfig.stop (HostConfig.java
> :1076)
> >> >> >> >     at
> >> >> >> >
> >> >> org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java
> >> >> >> > :312)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> >> >> >> > LifecycleSupport.java:119)
> >> >> >> >     at org.apache.catalina.core.ContainerBase.stop (
> >> >> ContainerBase.java
> >> >> >> > :1043)
> >> >> >> >     at
> >> >> org.apache.catalina.core.ContainerBase.stop (ContainerBase.java
> >> >> >> > :1055)
> >> >> >> >     at org.apache.catalina.core.StandardEngine.stop(
> >> >> StandardEngine.java
> >> >> >> > :425)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.core.StandardService.stop
> >> >> >> (StandardService.java:512)
> >> >> >> >     at
> >> >> >> > org.apache.catalina.core.StandardServer.stop(
> StandardServer.java
> >> >> :2001)
> >> >> >> >     at org.apache.catalina.startup.Catalina.stop(
> Catalina.java
> >> :594)
> >> >> >> >     at org.apache.catalina.startup.Catalina.start
> >> >> (Catalina.java:569)
> >> >> >> >     ... 6 more
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > Thomas-W Hofmann wrote:
> >> >> >> >
> >> >> >> > >Hi Luiz,
> >> >> >> > >
> >> >> >> > >HTTP Status 404 - /roller
> >> >> >> > >
> >> >> >> > >means a lot of things  - from - webapp not correctly
> installed
> >> in
> >> >> the
> >> >> >> > >client dir
> >> >> >> > >                           - to     - problem (usually with
> the
> >> >> >> > database
> >> >> >> > >connection) in config settings
> >> >> >> > >
> >> >> >> > >you might want to check the Tomcat logfile if it tries to
> deploy
> >> >> the
> >> >> >> > >roller webapp
> >> >> >> > >- or the Roller.Log where the problem might be with config.
> >> >> >> > >
> >> >> >> > >best regards
> >> >> >> > >Thomas
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >Luiz Costa < [EMAIL PROTECTED] > schrieb am 11/12/2006
> >> >> 16:19:22:
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >>Allen,
> >> >> >> > >>
> >> >> >> > >>Sorry the question was not clear to you. What I meant was:
> I
> >> >> install
> >> >> >> > the
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >>system as directed and when I access the application with a
>
> >> >> browser,
> >> >> >> > >>what I get is
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>  HTTP Status 404 - /roller
> >> >> >> > >>
> >> >> >> >
> >> >> >>
> >> >>
> >>
> >>------------------------------------------------------------------------
> >> >> >> >
> >> >> >> > >>
> >> >> >> > >>type Status report
> >> >> >> > >>
> >> >> >> > >>message /roller
> >> >> >> > >>
> >> >> >> > >>description The requested resource (/roller) is not
> available.
> >> >> >> > >>
> >> >> >> >
> >> >> >>
> >> >>
> >>
> >>------------------------------------------------------------------------
> >> >> >> >
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>      Apache Tomcat/5.5.0
> >> >> >> > >>
> >> >> >> > >>I didn't want to flood the Forum with too much information,
> but
> >> if
> >> >> >> you
> >> >> >> > >>fill confident about the install procedures and need more
> >> >> information
> >> >> >> > >>about my implementation, please, let me know. Perhaps you
> need
> >> a
> >> >> list
> >> >> >> > of
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >>the environment variables, etc. I couldn't get any
> roller.log,
> >> >> >> because
> >> >> >> > >>the application apparently is not running.
> >> >> >> > >>
> >> >> >> > >>Thank you for any assistance you can provide.
> >> >> >> > >>
> >> >> >> > >>Luiz
> >> >> >> > >>
> >> >> >> > >>Allen Gilliland wrote:
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>>I don't understand the question.  Yes, the install guide
> >> details
> >> >> the
> >> >> >> > >>>right procedures for installing Roller.
> >> >> >> > >>>
> >> >> >> > >>>-- Allen
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>>kisuco wrote:
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>>>I have a very  basic question to ask: what is the most
> >> reliable
> >> >> >> > >>>>procedure to
> >> >> >> > >>>>follow to install Roller 3.0 in my system?
> >> >> >> > >>>>
> >> >> >> > >>>>I have folloed the Roller InstallGuide 3.0 found at
> >> >> >> > >>>>
> >> >> >> 
http://people.apache.org/~snoopdave/roller30-install-guide.pdf<http://people.apache.org/%7Esnoopdave/roller30-install-guide.pdf>
> <
> >> >> http://people.apache.org/%7Esnoopdave/roller30-install-guide.pdf
> >with
> >> >> >> > >>>>Application server:Tomcat 5.5.0
> >> >> >> > >>>>Database:Mysql 5.0
> >> >> >> > >>>>Java: 1.5.0.09
> >> >> >> > >>>>O.S:Windows NT 2000 5.00.2195
> >> >> >> > >>>>Browser: Netscape Communicatot 7.2
> >> >> >> > >>>>
> >> >> >> > >>>>Can anybody help me?
> >> >> >> > >>>>
> >> >> >> > >>>>
> >> >> >> > >>>>
> >> >> >> > >>>>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >--
> >> >> >> > >
> >> >> >> > >Diese E-Mail enthaelt vertrauliche und/oder rechtlich
> >> geschuetzte
> >> >> >> > Informationen. Wenn Sie nicht der richtige Adressat sind oder
>
> >> diese
> >> >> >> E-Mail
> >> >> >> > irrtuemlich erhalten haben, informieren Sie bitte sofort den
> >> >> Absender
> >> >> >> und
> >> >> >> > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die
> >> >> unbefugte
> >> >> >> > Weitergabe dieser Mail ist nicht gestattet.
> >> >> >> > >
> >> >> >> > >This e-mail may contain confidential and/or privileged
> >> information.
> >> >> If
> >> >> >> > you are not the intended recipient (or have received this
> e-mail
> >> in
> >> >> >> error)
> >> >> >> > please notify the sender immediately and destroy this e-mail.
> Any
> >> >> >> > unauthorized copying, disclosure or distribution of the
> material
> >> in
> >> >> >> this
> >> >> >> > e-mail is strictly forbidden.
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> 
http://www.nabble.com/Basic-installation-problem.-tf2791929s12275.html#a7826087
>
> >> >> Sent from the Roller - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> 
http://www.nabble.com/Basic-installation-problem.-tf2791929s12275.html#a7827608
>
> >> Sent from the Roller - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> 
http://www.nabble.com/Basic-installation-problem.-tf2791929s12275.html#a7834108
> Sent from the Roller - User mailing list archive at Nabble.com.
>
>

Reply via email to