The attachment is my roller.xml in tomcat-5.0.28.

2006/12/6, nzal <[EMAIL PROTECTED]>:


hey,u did'nt send me areply of my last mail.Plz guide as i am not able to
resolve the problem

Shutra Zhou wrote:
>
> I've installed on:
> D:\jakarta-tomcat-5.0.28\bin>startup.bat
> Using CATALINA_BASE:   D:\jakarta-tomcat-5.0.28
> Using CATALINA_HOME:   D:\jakarta-tomcat-5.0.28
> Using CATALINA_TMPDIR: D:\jakarta-tomcat-5.0.28\temp
> Using JAVA_HOME:       C:\j2sdk1.4.2_01
>
> The MySQL's version is:
> C:\Program Files\MySQL\MySQL Server 5.0
> It wokrs ok.
>
> 2006/11/30, Shutra Zhou <[EMAIL PROTECTED]>:
>>
>> If you like, let's talk in gtalk: [EMAIL PROTECTED], as too many
>> errors
>> in this, I'm feeling rafferty now.
>> After we resolved the problems, post a result to this maillist.
>>
>>
>> 2006/11/30, nzal <[EMAIL PROTECTED]>:
>> >
>> >
>> > hey guys.....plz help me with this
>> >
>> > nzal wrote:
>> > >
>> > > yes i have already created roller.xml
>> > >
>> > > <Context path="/roller"
>> > > docBase="C:/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:3308/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>roller1</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>mailhost.example.com</value>
>> > > </parameter>
>> > > </ResourceParams>
>> > > -->
>> > > </Context>
>> > >
>> > > Mohd Amin wrote:
>> > >>
>> > >> Looks like your jndi config is missing. Have you created
>> > <web-app>.xml
>> > >> which
>> > >> defines rollerdb assuming you didn't change rollerdb to another
>> name?
>> >
>> > >>
>> > >> Eg <web-app>.xml, I named mine roller.xml
>> > >>
>> > >> <Context path="/roller" docBase="some_path" debug="0">
>> > >> <Resource name="jdbc/rollerdb" auth="Container"
>> > >> type="javax.sql.DataSource"
>> > >> driverClassName="com.mysql.jdbc.Driver"
>> > >>
>> >
>>
url="jdbc:mysql://url:3306/dbname?autoReconnect=true&amp;useUnicode=true&amp
>> > >> ;characterEncoding=utf-8&amp;mysqlEncoding=utf8"
>> > >> username="username"
>> > >> password="password"
>> > >> maxActive="20"
>> > >> maxIdle="3"
>> > >> removeAbandoned="true"
>> > >> maxWait="3000" />
>> > >>
>> > >> Regards,
>> > >> Amin
>> > >>
>> > >> -----Original Message-----
>> > >> From: nzal [mailto:[EMAIL PROTECTED]
>> > >> Sent: Wednesday, November 29, 2006 8:49 PM
>> > >> To: [email protected]
>> > >> Subject: RE: Roller3.0 installation problem
>> > >>
>> > >>
>> > >> i think i have.....am not sure....how do i check for that?
>> > >> thanks
>> > >> nzal
>> > >>
>> > >> Shaun Longhurst wrote:
>> > >>>
>> > >>> Have you granted privileges to the roller database on MySql? I am
>> at
>> > >>> work
>> > >>> at
>> > >>> the moment, I will try and have a look a bit closer tonight to
see,
>> > as I
>> > >>> know I had the same issues for a bit. I was using tomcat 5.5
>> though.
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>> Kind Regards
>> > >>>
>> > >>> Shaun Longhurst
>> > >>> Infrastructure Engineer
>> > >>>
>> > >>> Tel: 0870 224 6307  Email: [EMAIL PROTECTED]
>> > >>>
>> > >>>
>> > >>> -----Original Message-----
>> > >>> From: nzal [mailto:[EMAIL PROTECTED]
>> > >>> Sent: 29 November 2006 12:26
>> > >>> To: [email protected]
>> > >>> Subject: RE: Roller3.0 installation problem
>> > >>>
>> > >>>
>> > >>> this is the first error i am getting:
>> > >>> WARN  2006-11-29 09:48:16,774
RollerContext:upgradeDatabaseIfNeeded
>> > -
>> > >>> Unable
>> > >>> to access DataSource
>> > >>> javax.naming.NameNotFoundException: Name java:comp is not bound
in
>> > this
>> > >>> Context     at
>> > >> org.apache.naming.NamingContext.lookup(NamingContext.java:768)
>> > >>>     at org.apache.naming.NamingContext.lookup(NamingContext.java
>> > :151)
>> > >>>     at
>> > >>> org.apache.naming.SelectorContext.lookup(SelectorContext.java
:136)
>> > >>>     at javax.naming.InitialContext.lookup(InitialContext.java
:347)
>> > >>>     at
>> > >>>
>> > >>
>> org.apache.roller.ui.core.RollerContext.upgradeDatabaseIfNeeded
(RollerContex
>> > >>> t.java:394)
>> > >>>     at
>> > >>>
>> > >> org.apache.roller.ui.core.RollerContext.contextInitialized(
>> > RollerContext.jav
>> > >>> a:169)
>> > >>>     at
>> > >>>
>> > >> org.apache.catalina.core.StandardContext.listenerStart(
>> > StandardContext.java:
>> > >>> 3827)
>> > >>>     at
>> > >>>
>> org.apache.catalina.core.StandardContext.start(StandardContext.java
:4343)
>> >
>> > >>>     at
>> > >>>
>> > >> org.apache.catalina.core.ContainerBase.addChildInternal(
>> > ContainerBase.java:8
>> > >>> 23)
>> > >>>     at
>> > >>> org.apache.catalina.core.ContainerBase.addChild (
ContainerBase.java
>> > :807)
>> > >>>     at
>> > >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java
>> > :595)
>> > >>>     at
>> > >>>
>> > >>
>> org.apache.catalina.core.StandardHostDeployer.addChild
(StandardHostDeployer.
>> > >>> java:903)
>> > >>>     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:324)
>> > >>>     at
>> > >>>
>> > >> org.apache.commons.beanutils.MethodUtils.invokeMethod(
>> > MethodUtils.java:216)
>> > >>>     at org.apache.commons.digester.SetNextRule.end
>> (SetNextRule.java
>> > :256)
>> > >>>     at org.apache.commons.digester.Rule.end(Rule.java:276)
>> > >>>     at
>> > >>> org.apache.commons.digester.Digester.endElement(Digester.java
:1058)
>> > >>>     at
>> > >>>
>> > >> org.apache.catalina.util.CatalinaDigester.endElement(
>> > CatalinaDigester.java:7
>> > >>> 6)
>> > >>>     at org.apache.xerces.parsers.AbstractSAXParser.endElement
>> > (Unknown
>> > >>> Source)
>> > >>>     at
>> > >>>
>> > >>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement
>> > (Unknown
>> > >>> Source)
>> > >>>     at
>> > >>>
>> > >>
>> >
>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
>> > >>> her.dispatch(Unknown
>> > >>> Source)
>> > >>>     at
>> > >>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
>> > (Unknown
>> > >>> Source)
>> > >>>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> > >>> Source)
>> > >>>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> > >>> Source)
>> > >>>     at org.apache.xerces.parsers.XMLParser.parse (Unknown Source)
>> > >>>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> > Source)
>> > >>>     at org.apache.commons.digester.Digester.parse(Digester.java
>> > :1567)
>> > >>>     at
>> > >>>
>> > >> org.apache.catalina.core.StandardHostDeployer.install(
>> > StandardHostDeployer.j
>> > >>> ava:488)
>> > >>>     at
>> > >>>
>> org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
>> >
>> > >>>     at
>> > >>>
>> > >> org.apache.catalina.startup.HostConfig.deployDescriptors(
>> > HostConfig.java:483
>> > >>> )
>> > >>>     at
>> > >>> org.apache.catalina.startup.HostConfig.deployApps (
HostConfig.java
>> > :427)
>> > >>>     at org.apache.catalina.startup.HostConfig.start(
HostConfig.java
>> > :983)
>> > >>>     at
>> > >>> org.apache.catalina.startup.HostConfig.lifecycleEvent(
>> > HostConfig.java:349)
>> > >>>     at
>> > >>>
>> > >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
>> > (LifecycleSuppor
>> > >>> t.java:119)
>> > >>>     at
>> > >>> org.apache.catalina.core.ContainerBase.start (ContainerBase.java
>> > :1091)
>> > >>>     at
>> > >>> org.apache.catalina.core.StandardHost.start(StandardHost.java
:789)
>> > >>>     at
>> > >>>
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
>> > >>>     at
>> > >>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java
>> > :478)
>> > >>>     at
>> > >>>
>> org.apache.catalina.core.StandardService.start(StandardService.java
:480)
>> > >>>     at
>> > >>> org.apache.catalina.core.StandardServer.start(StandardServer.java
>> > :2313)
>> > >>>     at
>> org.apache.catalina.startup.Catalina.start(Catalina.java:556)
>> > >>>     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:324)
>> > >>>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java
>> > :287)
>> > >>>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java
>> > :425)
>> > >>> --
>> > >>> View this message in context:
>> > >>>
>> > >>
>> >
>>
http://www.nabble.com/Roller3.0-installation-problem-tf2722845s12275.html#a7
>> > >>> 598390
>> > >>> Sent from the Roller - User mailing list archive at Nabble.com.
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >> --
>> > >> View this message in context:
>> > >>
>> >
>>
http://www.nabble.com/Roller3.0-installation-problem-tf2722845s12275.html#a7
>> > >> 598720
>> > >> Sent from the Roller - User mailing list archive at Nabble.com.
>> > >>
>> > >>
>> > >> =================================================
>> > >> *****The message represents the personal views and opinion of the
>> > >> individual sender and under no circumstances represents those of
TM
>> > Net
>> > >> Sdn. Bhd. The shareholders, directors and management of TM Net
Sdn.
>> > Bhd.
>> > >> accept no responsibility and accordingly shall have no liability
to
>> > any
>> > >> party whatsoever with respect to the contents of this message*****
>> > >> <html><body><p><table align="center"><tr><td>
>> > >>  http://www.tm.net.my  http://tmnet.jati.net.my/shock.jpg
>> > >> </td></tr></table><table align="center"><tr><td>
>> > >>  http://www.bluehyppo.com   http://tmnet.jati.net.my/bundle.jpg
>> > >> </td></tr></table><table align="center"><tr><td>
>> > >>  http://www.bluehyppo.com
>> > http://tmnet.jati.net.my/signmusicraya.jpg
>> > >> </td></tr></table></p></body></html>
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> >
>> > --
>> > View this message in context:
>>
http://www.nabble.com/Roller3.0-installation-problem-tf2722845s12275.html#a7614369
>> >
>> > Sent from the Roller - User mailing list archive at Nabble.com.
>> >
>> >
>>
>
>

--
View this message in context:
http://www.nabble.com/Roller3.0-installation-problem-tf2722845s12275.html#a7718774
Sent from the Roller - User mailing list archive at Nabble.com.


<Context path="/roller" docBase="D:\jakarta-tomcat-5.0.28\webapps\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>wangjing</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>mailhost.example.com</value>
</parameter>
</ResourceParams>
-->
</Context>

Reply via email to