You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Shutra Zhou <zh...@gmail.com> on 2006/12/03 18:35:14 UTC

Re: Roller3.0 installation problem

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 <zh...@gmail.com>:
>
> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:
> >
> >
> > 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:nivedita.zalpuri@hcl.in]
> > >> Sent: Wednesday, November 29, 2006 8:49 PM
> > >> To: roller-user@incubator.apache.org
> > >> 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: shaun@friendsabroad.com
> > >>>
> > >>>
> > >>> -----Original Message-----
> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]
> > >>> Sent: 29 November 2006 12:26
> > >>> To: roller-user@incubator.apache.org
> > >>> 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.
> >
> >
>

Re: Roller3.0 installation problem

Posted by nzal <ni...@hcl.in>.
yes i think so coz the docbase path i specified was incorrect

Shutra Zhou wrote:
> 
> What's the reason then?
> Just the docbase?
> 
> 2006/12/7, Nivedita Zalpuri, Noida <Ni...@hcl.in>:
>>
>> Hey thanks it has started working.....i can see welcome to roller page
>> now! :)
>> Thanks a ton!
>>
>>
>> -----Original Message-----
>> From: Nivedita Zalpuri, Noida [mailto:Nivedita.Zalpuri@hcl.in]
>> Sent: Thursday, December 07, 2006 11:20 AM
>> To: roller-user@incubator.apache.org
>> Subject: RE: Roller3.0 installation problem
>>
>>
>> Yes I have changed mysql's default port to 3308.
>> I found that the docbase path in ur roller.xml gives the path of roller
>> in the tomcat server while I have given the path of roller installation
>> directory in my docbase. Maybe that is the mistake.Let me check this.
>>
>> -----Original Message-----
>> From: Shutra Zhou [mailto:zhoushuqun@gmail.com]
>> Sent: Wednesday, December 06, 2006 6:49 PM
>> To: roller-user@incubator.apache.org
>> Subject: Re: Roller3.0 installation problem
>>
>> Have you DO changed your mysql's default port from 3306 to 3308?
>>
>> 2006/12/6, Shutra Zhou <zh...@gmail.com>:
>> >
>> > The attachment is my roller.xml in tomcat-5.0.28.
>> >
>> > 2006/12/6, nzal <ni...@hcl.in>:
>> > >
>> > >
>> > > 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 <zh...@gmail.com>:
>> > > >>
>> > > >> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:
>> > > >> >
>> > > >> >
>> > > >> > 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;useUnic
>> ode=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:nivedita.zalpuri@hcl.in ]
>> > > >> > >> Sent: Wednesday, November 29, 2006 8:49 PM
>> > > >> > >> To: roller-user@incubator.apache.org
>> > > >> > >> 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: shaun@friendsabroad.com
>> > > >> > >>>
>> > > >> > >>>
>> > > >> > >>> -----Original Message-----
>> > > >> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]
>> > > >> > >>> Sent: 29 November 2006 12:26
>> > > >> > >>> To: roller-user@incubator.apache.org
>> > > >> > >>> 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$FragmentContentDis
>> patc
>> > > >> > >>> 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.htm
>> l#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.htm
>> l#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.htm
>> l#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.htm
>> l#a7718774
>> > >
>> > > Sent from the Roller - User mailing list archive at Nabble.com.
>> > >
>> > >
>> >
>> >
>>
>> DISCLAIMER:
>> ------------------------------------------------------------------------
>> -----------------------------------------------
>> The contents of this e-mail and any attachment(s) are confidential and
>> intended for the named recipient(s) only.
>> It shall not attach any liability on the originator or HCL or its
>> affiliates. Any views or opinions presented in
>> this email are solely those of the author and may not necessarily
>> reflect the opinions of HCL or its affiliates.
>> Any form of reproduction, dissemination, copying, disclosure,
>> modification, distribution and / or publication of
>> this message without the prior written consent of the author of this
>> e-mail is strictly prohibited. If you have
>> received this email in error please delete it and notify the sender
>> immediately. Before opening any mail and
>> attachments please check them for viruses and defect.
>> ------------------------------------------------------------------------
>> -----------------------------------------------
>>
> 
> 

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


RE: Roller3.0 installation problem

Posted by "Nivedita Zalpuri, Noida" <Ni...@hcl.in>.
Yes I have changed mysql's default port to 3308.
I found that the docbase path in ur roller.xml gives the path of roller
in the tomcat server while I have given the path of roller installation
directory in my docbase. Maybe that is the mistake.Let me check this.

-----Original Message-----
From: Shutra Zhou [mailto:zhoushuqun@gmail.com] 
Sent: Wednesday, December 06, 2006 6:49 PM
To: roller-user@incubator.apache.org
Subject: Re: Roller3.0 installation problem

Have you DO changed your mysql's default port from 3306 to 3308?

2006/12/6, Shutra Zhou <zh...@gmail.com>:
>
> The attachment is my roller.xml in tomcat-5.0.28.
>
> 2006/12/6, nzal <ni...@hcl.in>:
> >
> >
> > 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 <zh...@gmail.com>:
> > >>
> > >> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:
> > >> >
> > >> >
> > >> > 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;useUnic
ode=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:nivedita.zalpuri@hcl.in ]
> > >> > >> Sent: Wednesday, November 29, 2006 8:49 PM
> > >> > >> To: roller-user@incubator.apache.org
> > >> > >> 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: shaun@friendsabroad.com
> > >> > >>>
> > >> > >>>
> > >> > >>> -----Original Message-----
> > >> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]
> > >> > >>> Sent: 29 November 2006 12:26
> > >> > >>> To: roller-user@incubator.apache.org
> > >> > >>> 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$FragmentContentDis
patc
> > >> > >>> 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.htm
l#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.htm
l#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.htm
l#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.htm
l#a7718774
> >
> > Sent from the Roller - User mailing list archive at Nabble.com.
> >
> >
>
>

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------

Re: Roller3.0 installation problem

Posted by Shutra Zhou <zh...@gmail.com>.
Have you DO changed your mysql's default port from 3306 to 3308?

2006/12/6, Shutra Zhou <zh...@gmail.com>:
>
> The attachment is my roller.xml in tomcat-5.0.28.
>
> 2006/12/6, nzal <ni...@hcl.in>:
> >
> >
> > 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 <zh...@gmail.com>:
> > >>
> > >> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:
> > >> >
> > >> >
> > >> > 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:nivedita.zalpuri@hcl.in ]
> > >> > >> Sent: Wednesday, November 29, 2006 8:49 PM
> > >> > >> To: roller-user@incubator.apache.org
> > >> > >> 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: shaun@friendsabroad.com
> > >> > >>>
> > >> > >>>
> > >> > >>> -----Original Message-----
> > >> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]
> > >> > >>> Sent: 29 November 2006 12:26
> > >> > >>> To: roller-user@incubator.apache.org
> > >> > >>> 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.
> >
> >
>
>

Re: Roller3.0 installation problem

Posted by Shutra Zhou <zh...@gmail.com>.
The attachment is my roller.xml in tomcat-5.0.28.

2006/12/6, nzal <ni...@hcl.in>:
>
>
> 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 <zh...@gmail.com>:
> >>
> >> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:
> >> >
> >> >
> >> > 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:nivedita.zalpuri@hcl.in]
> >> > >> Sent: Wednesday, November 29, 2006 8:49 PM
> >> > >> To: roller-user@incubator.apache.org
> >> > >> 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: shaun@friendsabroad.com
> >> > >>>
> >> > >>>
> >> > >>> -----Original Message-----
> >> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]
> >> > >>> Sent: 29 November 2006 12:26
> >> > >>> To: roller-user@incubator.apache.org
> >> > >>> 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.
>
>

Re: Roller3.0 installation problem

Posted by nzal <ni...@hcl.in>.
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 <zh...@gmail.com>:
>>
>> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:
>> >
>> >
>> > 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:nivedita.zalpuri@hcl.in]
>> > >> Sent: Wednesday, November 29, 2006 8:49 PM
>> > >> To: roller-user@incubator.apache.org
>> > >> 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: shaun@friendsabroad.com
>> > >>>
>> > >>>
>> > >>> -----Original Message-----
>> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]
>> > >>> Sent: 29 November 2006 12:26
>> > >>> To: roller-user@incubator.apache.org
>> > >>> 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.


RE: Roller3.0 installation problem

Posted by nzal <ni...@hcl.in>.


nzal wrote:
> 
> 
> My Installation:
> 
> Using CATALINA_BASE:   D:\Tomcat\jakarta-tomcat-5.0.28
> 
> Using CATALINA_HOME:   D:\Tomcat\jakarta-tomcat-5.0.28
> 
> Using CATALINA_TMPDIR: D:\Tomcat\jakarta-tomcat-5.0.28\temp
> 
> Using JAVA_HOME:       C:\j2sdk1.4.1_02
> 
> My java version seems different from yours.Is that the problem?.I am
> sending my roller.xml as an attachment.Plz check if there is some error
> in it.
> 
> Thanks and Regards
> 
> Nivedita
> 
>  
> 
> -----Original Message-----
> From: Shutra Zhou [mailto:zhoushuqun@gmail.com] 
> Sent: Sunday, December 03, 2006 11:05 PM
> To: roller-user@incubator.apache.org
> Subject: Re: Roller3.0 installation problem
> 
>  
> 
> 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 <zh...@gmail.com>:
> 
>> 
> 
>> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:
> 
>> >
> 
>> >
> 
>> > 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;useUnic
> ode=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:nivedita.zalpuri@hcl.in]
> 
>> > >> Sent: Wednesday, November 29, 2006 8:49 PM
> 
>> > >> To: roller-user@incubator.apache.org
> 
>> > >> 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: shaun@friendsabroad.com
> 
>> > >>>
> 
>> > >>>
> 
>> > >>> -----Original Message-----
> 
>> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]
> 
>> > >>> Sent: 29 November 2006 12:26
> 
>> > >>> To: roller-user@incubator.apache.org
> 
>> > >>> 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(RollerCo
> ntex
> 
>> > >>> 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(StandardHostDeplo
> yer.
> 
>> > >>> 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$FragmentContentDis
> patc
> 
>> > >>> 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.htm
> l#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.htm
> l#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.htm
> l#a7614369
> 
>> >
> 
>> > Sent from the Roller - User mailing list archive at Nabble.com.
> 
>> >
> 
>> >
> 
>> 
> 
> 
> 
> DISCLAIMER:
> -----------------------------------------------------------------------------------------------------------------------
> 
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. 
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in 
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates. 
> Any form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of 
> this message without the prior written consent of the author of this
> e-mail is strictly prohibited. If you have 
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and 
> attachments please check them for viruses and defect.
> 
> -----------------------------------------------------------------------------------------------------------------------
> 
http://www.nabble.com/file/4330/roller.xml roller.xml 
http://www.nabble.com/file/4330/roller.xml roller.xml 
-- 
View this message in context: http://www.nabble.com/Roller3.0-installation-problem-tf2722845s12275.html#a7697269
Sent from the Roller - User mailing list archive at Nabble.com.


RE: Roller3.0 installation problem

Posted by "Nivedita Zalpuri, Noida" <Ni...@hcl.in>.
My Installation:

Using CATALINA_BASE:   D:\Tomcat\jakarta-tomcat-5.0.28

Using CATALINA_HOME:   D:\Tomcat\jakarta-tomcat-5.0.28

Using CATALINA_TMPDIR: D:\Tomcat\jakarta-tomcat-5.0.28\temp

Using JAVA_HOME:       C:\j2sdk1.4.1_02

My java version seems different from yours.Is that the problem?.I am
sending my roller.xml as an attachment.Plz check if there is some error
in it.

Thanks and Regards

Nivedita

 

-----Original Message-----
From: Shutra Zhou [mailto:zhoushuqun@gmail.com] 
Sent: Sunday, December 03, 2006 11:05 PM
To: roller-user@incubator.apache.org
Subject: Re: Roller3.0 installation problem

 

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 <zh...@gmail.com>:

> 

> If you like, let's talk in gtalk: zhoushuqun@gmail.com, 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 <ni...@hcl.in>:

> >

> >

> > 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;useUnic
ode=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:nivedita.zalpuri@hcl.in]

> > >> Sent: Wednesday, November 29, 2006 8:49 PM

> > >> To: roller-user@incubator.apache.org

> > >> 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: shaun@friendsabroad.com

> > >>>

> > >>>

> > >>> -----Original Message-----

> > >>> From: nzal [mailto:nivedita.zalpuri@hcl.in]

> > >>> Sent: 29 November 2006 12:26

> > >>> To: roller-user@incubator.apache.org

> > >>> 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(RollerCo
ntex

> > >>> 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(StandardHostDeplo
yer.

> > >>> 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$FragmentContentDis
patc

> > >>> 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.htm
l#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.htm
l#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.htm
l#a7614369

> >

> > Sent from the Roller - User mailing list archive at Nabble.com.

> >

> >

> 



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------