List Info

Thread: Roller3.0 installation problem




Roller3.0 installation problem
user name
2006-11-30 03:27:06
yes i have already created roller.xml

<Context path="/roller"
docBase="C:/apache-roller-3.0-incubating/webapp/roller&
quot; 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&
lt;/value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.mysql.jdbc.Driver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost:3308/roller?autoReconnec
t=true&amp;useUnicode=true&amp;characterEncoding=utf
-8&amp;mysqlEncoding=utf8</value>
</parameter>
<parameter><name>username</name><value&
gt;root</value></parameter>
<parameter><name>password</name><value&
gt;roller1</value></parameter>
<parameter><name>maxActive</name><value
>20</value></parameter>
<parameter><name>maxIdle</name><value&g
t;3</value></parameter>
<parameter><name>removeAbandoned</name><
;value>true</value></parameter>
<parameter><name>maxWait</name><value&g
t;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&am
p;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.zalpurihcl.in] 
> Sent: Wednesday, November 29, 2006 8:49 PM
> To: roller-userincubator.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: shaunfriendsabroad.com
>> 
>> 
>> -----Original Message-----
>> From: nzal [mailto:nivedita.zalpurihcl.in] 
>> Sent: 29 November 2006 12:26
>> To: roller-userincubator.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:76
8)
>> 	at
org.apache.naming.NamingContext.lookup(NamingContext.java:15
1)
>> 	at
>>
org.apache.naming.SelectorContext.lookup(SelectorContext.jav
a:136)
>> 	at
javax.naming.InitialContext.lookup(InitialContext.java:347)
>> 	at
>>
>
org.apache.roller.ui.core.RollerContext.upgradeDatabaseIfNee
ded(RollerContex
>> t.java:394)
>> 	at
>>
>
org.apache.roller.ui.core.RollerContext.contextInitialized(R
ollerContext.jav
>> a:169)
>> 	at
>>
>
org.apache.catalina.core.StandardContext.listenerStart(Stand
ardContext.java:
>> 3827)
>> 	at
>>
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4343)
>> 	at
>>
>
org.apache.catalina.core.ContainerBase.addChildInternal(Cont
ainerBase.java:8
>> 23)
>> 	at
>>
org.apache.catalina.core.ContainerBase.addChild(ContainerBas
e.java:807)
>> 	at
>>
org.apache.catalina.core.StandardHost.addChild(StandardHost.
java:595)
>> 	at
>>
>
org.apache.catalina.core.StandardHostDeployer.addChild(Stand
ardHostDeployer.
>> java:903)
>> 	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:39
>> )
>> 	at
>>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl
>> .java:25)
>> 	at
java.lang.reflect.Method.invoke(Method.java:324)
>> 	at
>>
>
org.apache.commons.beanutils.MethodUtils.invokeMethod(Method
Utils.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.jav
a:1058)
>> 	at
>>
>
org.apache.catalina.util.CatalinaDigester.endElement(Catalin
aDigester.java:7
>> 6)
>> 	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unkno
wn
>> Source)
>> 	at
>>
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEn
dElement(Unknown
>> Source)
>> 	at
>>
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme
ntContentDispatc
>> her.dispatch(Unknown
>> Source)
>> 	at
>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo
cument(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:156
7)
>> 	at
>>
>
org.apache.catalina.core.StandardHostDeployer.install(Standa
rdHostDeployer.j
>> ava:488)
>> 	at
>>
org.apache.catalina.core.StandardHost.install(StandardHost.j
ava:863)
>> 	at
>>
>
org.apache.catalina.startup.HostConfig.deployDescriptors(Hos
tConfig.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(HostCo
nfig.java:349)
>> 	at
>>
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSuppor
>> t.java:119)
>> 	at
>>
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1091)
>> 	at
>>
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:789)
>> 	at
>>
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1083)
>> 	at
>>
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:478)
>> 	at
>>
org.apache.catalina.core.StandardService.start(StandardServi
ce.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(NativeMethodAcce
ssorImpl.java:39
>> )
>> 	at
>>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl
>> .java:25)
>> 	at
java.lang.reflect.Method.invoke(Method.java:324)
>> 	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
87)
>> 	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42
5)
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/Roller3.0-inst
allation-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-inst
allation-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://tmn
et.jati.net.my/signmusicraya.jpg 
>
</td></tr></table></p></body>&
lt;/html>
> 
> 
> 

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

Roller3.0 installation problem
user name
2006-11-30 06:37:16
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&
quot; 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&
lt;/value>
> </parameter>
> <parameter>
> <name>driverClassName</name>
> <value>com.mysql.jdbc.Driver</value>
> </parameter>
> <parameter>
> <name>url</name>
>
<value>jdbc:mysql://localhost:3308/roller?autoReconnec
t=true&amp;useUnicode=true&amp;characterEncoding=utf
-8&amp;mysqlEncoding=utf8</value>
> </parameter>
>
<parameter><name>username</name><value&
gt;root</value></parameter>
>
<parameter><name>password</name><value&
gt;roller1</value></parameter>
>
<parameter><name>maxActive</name><value
>20</value></parameter>
>
<parameter><name>maxIdle</name><value&g
t;3</value></parameter>
>
<parameter><name>removeAbandoned</name><
;value>true</value></parameter>
>
<parameter><name>maxWait</name><value&g
t;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&am
p;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.zalpurihcl.in] 
>> Sent: Wednesday, November 29, 2006 8:49 PM
>> To: roller-userincubator.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: shaunfriendsabroad.com
>>> 
>>> 
>>> -----Original Message-----
>>> From: nzal [mailto:nivedita.zalpurihcl.in] 
>>> Sent: 29 November 2006 12:26
>>> To: roller-userincubator.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:76
8)
>>> 	at
org.apache.naming.NamingContext.lookup(NamingContext.java:15
1)
>>> 	at
>>>
org.apache.naming.SelectorContext.lookup(SelectorContext.jav
a:136)
>>> 	at
javax.naming.InitialContext.lookup(InitialContext.java:347)
>>> 	at
>>>
>>
org.apache.roller.ui.core.RollerContext.upgradeDatabaseIfNee
ded(RollerContex
>>> t.java:394)
>>> 	at
>>>
>>
org.apache.roller.ui.core.RollerContext.contextInitialized(R
ollerContext.jav
>>> a:169)
>>> 	at
>>>
>>
org.apache.catalina.core.StandardContext.listenerStart(Stand
ardContext.java:
>>> 3827)
>>> 	at
>>>
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4343)
>>> 	at
>>>
>>
org.apache.catalina.core.ContainerBase.addChildInternal(Cont
ainerBase.java:8
>>> 23)
>>> 	at
>>>
org.apache.catalina.core.ContainerBase.addChild(ContainerBas
e.java:807)
>>> 	at
>>>
org.apache.catalina.core.StandardHost.addChild(StandardHost.
java:595)
>>> 	at
>>>
>>
org.apache.catalina.core.StandardHostDeployer.addChild(Stand
ardHostDeployer.
>>> java:903)
>>> 	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> 	at
>>>
>>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:39
>>> )
>>> 	at
>>>
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl
>>> .java:25)
>>> 	at
java.lang.reflect.Method.invoke(Method.java:324)
>>> 	at
>>>
>>
org.apache.commons.beanutils.MethodUtils.invokeMethod(Method
Utils.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.jav
a:1058)
>>> 	at
>>>
>>
org.apache.catalina.util.CatalinaDigester.endElement(Catalin
aDigester.java:7
>>> 6)
>>> 	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unkno
wn
>>> Source)
>>> 	at
>>>
>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEn
dElement(Unknown
>>> Source)
>>> 	at
>>>
>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme
ntContentDispatc
>>> her.dispatch(Unknown
>>> Source)
>>> 	at
>>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo
cument(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:156
7)
>>> 	at
>>>
>>
org.apache.catalina.core.StandardHostDeployer.install(Standa
rdHostDeployer.j
>>> ava:488)
>>> 	at
>>>
org.apache.catalina.core.StandardHost.install(StandardHost.j
ava:863)
>>> 	at
>>>
>>
org.apache.catalina.startup.HostConfig.deployDescriptors(Hos
tConfig.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(HostCo
nfig.java:349)
>>> 	at
>>>
>>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSuppor
>>> t.java:119)
>>> 	at
>>>
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1091)
>>> 	at
>>>
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:789)
>>> 	at
>>>
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1083)
>>> 	at
>>>
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:478)
>>> 	at
>>>
org.apache.catalina.core.StandardService.start(StandardServi
ce.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(NativeMethodAcce
ssorImpl.java:39
>>> )
>>> 	at
>>>
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl
>>> .java:25)
>>> 	at
java.lang.reflect.Method.invoke(Method.java:324)
>>> 	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
87)
>>> 	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42
5)
>>> -- 
>>> View this message in context:
>>>
>> http://www.nabble.com/Roller3.0-inst
allation-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-inst
allation-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://tmn
et.jati.net.my/signmusicraya.jpg 
>>
</td></tr></table></p></body>&
lt;/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.

Roller3.0 installation problem
user name
2006-11-30 12:29:14
If you like, let's talk in gtalk: zhoushuqungmail.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 <nivedita.zalpurihcl.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&
quot; 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&
lt;/value>
> > </parameter>
> > <parameter>
> > <name>driverClassName</name>
> > <value>com.mysql.jdbc.Driver</value>
> > </parameter>
> > <parameter>
> > <name>url</name>
> >
>
<value>jdbc:mysql://localhost:3308/roller?autoReconnec
t=true&amp;useUnicode=true&amp;characterEncoding=utf
-8&amp;mysqlEncoding=utf8</value>
> > </parameter>
> >
<parameter><name>username</name><value&
gt;root</value></parameter>
> >
<parameter><name>password</name><value&
gt;roller1</value></parameter>
> >
<parameter><name>maxActive</name><value
>20</value></parameter>
> >
<parameter><name>maxIdle</name><value&g
t;3</value></parameter>
> >
<parameter><name>removeAbandoned</name><
;value>true</value></parameter>
> >
<parameter><name>maxWait</name><value&g
t;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&am
p;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.zalpurihcl.in]
> >> Sent: Wednesday, November 29, 2006 8:49 PM
> >> To: roller-userincubator.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: shaunfriendsabroad.com
> >>>
> >>>
> >>> -----Original Message-----
> >>> From: nzal [mailto:nivedita.zalpurihcl.in]
> >>> Sent: 29 November 2006 12:26
> >>> To: roller-userincubator.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:76
8)
> >>>     at
org.apache.naming.NamingContext.lookup(NamingContext.java:15
1)
> >>>     at
> >>>
org.apache.naming.SelectorContext.lookup(SelectorContext.jav
a:136)
> >>>     at
javax.naming.InitialContext.lookup(InitialContext.java:347)
> >>>     at
> >>>
> >>
org.apache.roller.ui.core.RollerContext.upgradeDatabaseIfNee
ded
> (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(StandardConte
xt.java
> :4343)
> >>>     at
> >>>
> >>
org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:8
> >>> 23)
> >>>     at
> >>>
org.apache.catalina.core.ContainerBase.addChild(ContainerBas
e.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(Method
Utils.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.jav
a:1058)
> >>>     at
> >>>
> >>
org.apache.catalina.util.CatalinaDigester.endElement(
> CatalinaDigester.java:7
> >>> 6)
> >>>     at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unkno
wn
> >>> Source)
> >>>     at
> >>>
> >>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEn
dElement
> (Unknown
> >>> Source)
> >>>     at
> >>>
> >>
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme
ntContentDispatc
> >>> her.dispatch(Unknown
> >>> Source)
> >>>     at
> >>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo
cument
> (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:156
7)
> >>>     at
> >>>
> >>
org.apache.catalina.core.StandardHostDeployer.install(
> StandardHostDeployer.j
> >>> ava:488)
> >>>     at
> >>>
org.apache.catalina.core.StandardHost.install(StandardHost.j
ava: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(HostCo
nfig.java
> :349)
> >>>     at
> >>>
> >>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSuppor
> >>> t.java:119)
> >>>     at
> >>>
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1091)
> >>>     at
> >>>
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:789)
> >>>     at
> >>>
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1083)
> >>>     at
> >>>
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:478)
> >>>     at
> >>>
org.apache.catalina.core.StandardService.start(StandardServi
ce.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:2
87)
> >>>     at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42
5)
> >>> --
> >>> View this message in context:
> >>>
> >>
> http://www.nabble.com/Roller3.0-inst
allation-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-inst
allation-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://tmn
et.jati.net.my/signmusicraya.jpg
> >>
</td></tr></table></p></body>&
lt;/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.
>
>
Roller3.0 installation problem
user name
2006-12-03 17:35:14
I've installed on:
D:jakarta-tomcat-5.0.28bin>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.28temp
Using JAVA_HOME:       C:j2sdk1.4.2_01

The MySQL's version is:
C:Program FilesMySQLMySQL Server 5.0
It wokrs ok.

2006/11/30, Shutra Zhou <zhoushuqungmail.com>:
>
> If you like, let's talk in gtalk: zhoushuqungmail.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 <nivedita.zalpurihcl.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&
quot; 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&
lt;/value>
> > > </parameter>
> > > <parameter>
> > > <name>driverClassName</name>
> > >
<value>com.mysql.jdbc.Driver</value>
> > > </parameter>
> > > <parameter>
> > > <name>url</name>
> > >
> >
<value>jdbc:mysql://localhost:3308/roller?autoReconnec
t=true&amp;useUnicode=true&amp;characterEncoding=utf
-8&amp;mysqlEncoding=utf8</value>
> >
> > > </parameter>
> > >
<parameter><name>username</name><value&
gt;root</value></parameter>
> > >
<parameter><name>password</name><value&
gt;roller1</value></parameter>
> > >
<parameter><name>maxActive</name><value
>20</value></parameter>
> > >
<parameter><name>maxIdle</name><value&g
t;3</value></parameter>
> > >
<parameter><name>removeAbandoned</name><
;value>true</value></parameter>
> >
> > >
<parameter><name>maxWait</name><value&g
t;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&am
p;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.zalpurihcl.in]
> > >> Sent: Wednesday, November 29, 2006 8:49
PM
> > >> To: roller-userincubator.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: shaunfriendsabroad.com
> > >>>
> > >>>
> > >>> -----Original Message-----
> > >>> From: nzal
[mailto:nivedita.zalpurihcl.in]
> > >>> Sent: 29 November 2006 12:26
> > >>> To: roller-userincubator.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:76
8)
> > >>>     at
org.apache.naming.NamingContext.lookup(NamingContext.java
> > :151)
> > >>>     at
> > >>>
org.apache.naming.SelectorContext.lookup(SelectorContext.jav
a:136)
> > >>>     at
javax.naming.InitialContext.lookup(InitialContext.java:347)
> > >>>     at
> > >>>
> > >>
org.apache.roller.ui.core.RollerContext.upgradeDatabaseIfNee
ded(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(StandardConte
xt.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(Stand
ardHostDeployer.
> > >>> 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.jav
a: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.scanEn
dElement
> > (Unknown
> > >>> Source)
> > >>>     at
> > >>>
> > >>
> >
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme
ntContentDispatc
> > >>> her.dispatch(Unknown
> > >>> Source)
> > >>>     at
> > >>>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo
cument
> > (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.j
ava: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.jav
a:789)
> > >>>     at
> > >>>
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1083)
> > >>>     at
> > >>>
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java
> > :478)
> > >>>     at
> > >>>
org.apache.catalina.core.StandardService.start(StandardServi
ce.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-inst
allation-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-inst
allation-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://tmn
et.jati.net.my/signmusicraya.jpg
> > >>
</td></tr></table></p></body>&
lt;/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.
> >
> >
>
Roller3.0 installation problem
user name
2006-12-05 05:35:24

My Installation:

Using CATALINA_BASE: &nbsp; D:Tomcatjakarta-tomcat-5.0.28

Using CATALINA_HOME: &nbsp; D:Tomcatjakarta-tomcat-5.0.28

Using CATALINA_TMPDIR: D:Tomcatjakarta-tomcat-5.0.28temp

Using JAVA_HOME:  ; &nbsp; &nbsp; 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:zhoushuqungmail.com]
Sent: Sunday, December 03, 2006 11:05 PM
To: roller-userincubator.apache.org
Subject: Re: Roller3.0 installation problem

 

I've installed on:

D:jakarta-tomcat-5.0.28bin>startup.bat

Using CATALINA_BASE: &nbsp; D:jakarta-tomcat-5.0.28

Using CATALINA_HOME: &nbsp; D:jakarta-tomcat-5.0.28

Using CATALINA_TMPDIR: D:jakarta-tomcat-5.0.28temp

Using JAVA_HOME:  ; &nbsp; &nbsp; C:j2sdk1.4.2_01

 

The MySQL's version is:

C:Program FilesMySQLMySQL Server 5.0

It wokrs ok.

 

2006/11/30, Shutra Zhou <zhoushuqungmail.com&gt;:

> ;

> If you like, let's talk in gtalk: zhoushuqungmail.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 <nivedita.zalpurihcl.in>:

> >

> >

> > hey guys.....plz help me with this

> >

> > nzal wrote:

> > >

> > > yes i have already created roller.xml

> > >

> > > <Context path=";/roller&quot;

> > > docBase="C:/apache-roller-3.0-incubating/webapp/roller&quot; debug="0&quot;>

> > > <Resource name=";jdbc/rollerdb" auth="Container&quot;

> > > type=";javax.sql.DataSource&quot; />

> > > <ResourceParams name=";jdbc/rollerdb"&gt;

> > > <parameter>

> > > <name&gt;factory&lt;/name>

> > > <value>org.apache.commons.dbcp.BasicDataSourceFactory&lt;/value&gt;

> > > </parameter>

> > > <parameter>

> > > <name&gt;driverClassName</name>

> > > <value&gt;com.mysql.jdbc.Driver</value>

> > > </parameter>

> > > <parameter>

> > > <name&gt;url</name>

> > >

> > <value&gt;jdbc:mysql://localhost:3308/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8</value>

> >

> > > </parameter>

> > > <parameter>;<name&gt;username&lt;/name>;<value&gt;root</value>&lt;/parameter>

> > > <parameter><name>password</name><value>roller1</value><;/parameter>

> > > <parameter>;<name&gt;maxActive</name&gt;<value>20</value>&lt;/parameter>

> > > <parameter>;<name&gt;maxIdle&lt;/name><value&gt;3</value></parameter&gt;

> > > <parameter>;<name&gt;removeAbandoned</name><;value>true</value></parameter&gt;

> >

> > > <parameter>;<name&gt;maxWait&lt;/name><value&gt;3000</value>&lt;/parameter>

> > > </ResourceParams&gt;

> > > <!-- If you want e-mail features, un-comment the section below -->

> > > <!--

> > > <Resource name=";mail/Session" auth="Container&quot; type=";

> > javax.mail.Session&quot;/>

> > > <ResourceParams name=";mail/Session">;

> > > <parameter>

> > > <name&gt;mail.smtp.host</name>

> > > <value&gt;mailhost.example.com</value>

> > > </parameter>

> > > </ResourceParams&gt;

> > > -->

> > > </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&quot; docBase="some_path" debug=&quot;0"&gt;

> > >> <Resource name=";jdbc/rollerdb" auth="Container&quot;

> > >> type=";javax.sql.DataSource&quot;

> > >> driverClassName=";com.mysql.jdbc.Driver"

> > >>

> > url=&quot;jdbc:mysql://url:3306/dbname?autoReconnect=true&amp;amp;useUnicode=true&amp;amp

> > >> ;characterEncoding=utf-8&amp;mysqlEncoding=utf8";

> > >> username=&quot;username"

> > >> password=&quot;password"

> > >> maxActive="20&quot;

> > >> maxIdle=&quot;3"

> > >> removeAbandoned=";true"

> > >> maxWait=&quot;3000&quot; />

> > >>

> > >> Regards,

> > >> Amin

> > >>

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

> > >> From: nzal [mailto:nivedita.zalpurihcl.in]

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

> > >> To: roller-userincubator.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:

> > >>&gt;

> > >>&gt; Have you granted privileges to the roller database on MySql? I am at

> > >>&gt; work

> > >>&gt; at

> > >>&gt; the moment, I will try and have a look a bit closer tonight to see,

> > as I

> > >>&gt; know I had the same issues for a bit. I was using tomcat 5.5 though.

> > >>&gt;

> > >>&gt;

> > >>&gt;

> > >>&gt;

> > >>&gt; Kind Regards

> > >>&gt;

> > >>&gt; Shaun Longhurst

> > >>&gt; Infrastructure Engineer

> > >>&gt;

> > >>&gt; Tel: 0870 224 6307  Email: shaunfriendsabroad.com

> > >>&gt;

> > >>&gt;

> > >>&gt; -----Original Message-----

> > >>&gt; From: nzal [mailto:nivedita.zalpurihcl.in]

> > >>&gt; Sent: 29 November 2006 12:26

> > >>&gt; To: roller-userincubator.apache.org

> > >>&gt; Subject: RE: Roller3.0 installation problem

> > >>&gt;

> > >>&gt;

> > >>&gt; this is the first error i am getting:

> > >>&gt; WARN  2006-11-29 09:48:16,774 RollerContext:upgradeDatabaseIfNeeded

> > -

> > >>&gt; Unable

> > >>&gt; to access DataSource

> > >>&gt; javax.naming.NameNotFoundException: Name java:comp is not bound in

> > this

> > >>&gt; Context&nbsp; &nbsp;  at

> > >> org.apache.naming.NamingContext.lookup(NamingContext.java:768)

> > >>&gt; &nbsp; &nbsp; at org.apache.naming.NamingContext.lookup(NamingContext.java

> > :151)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)

> > >>&gt; &nbsp; &nbsp; at javax.naming.InitialContext.lookup(InitialContext.java:347)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.roller.ui.core.RollerContext.upgradeDatabaseIfNeeded(RollerContex

> > >>&gt; t.java:394)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.roller.ui.core.RollerContext.contextInitialized(

> > RollerContext.jav

> > >>&gt; a:169)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.catalina.core.StandardContext.listenerStart(

> > StandardContext.java:

> > >>&gt; 3827)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)

> >

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.catalina.core.ContainerBase.addChildInternal(

> > ContainerBase.java:8

> > >>&gt; 23)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java

> > :807)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.StandardHost.addChild(StandardHost.java

> > :595)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer

> > >>&gt; java:903)

> > >>&gt; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> sun.reflect.NativeMethodAccessorImpl.invoke (

> > NativeMethodAccessorImpl.java:39

> > >>&gt; )

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke

> > (DelegatingMethodAccessorImpl

> > >>&gt; .java:25)

> > >>&gt; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Method.java:324)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.commons.beanutils.MethodUtils.invokeMethod(

> > MethodUtils.java:216)

> > >>&gt; &nbsp; &nbsp; at org.apache.commons.digester.SetNextRule.end (SetNextRule.java

> > :256)

> > >>&gt; &nbsp; &nbsp; at org.apache.commons.digester.Rule.end(Rule.java:276)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.commons.digester.Digester.endElement(Digester.java:1058)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.catalina.util.CatalinaDigester.endElement(

> > CatalinaDigester.java:7

> > >>&gt; 6)

> > >>&gt; &nbsp; &nbsp; at org.apache.xerces.parsers.AbstractSAXParser.endElement

> > (Unknown

> > >>&gt; Source)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement

> > (Unknown

> > >>&gt; Source)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >>

> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc

> > >>&gt; her.dispatch(Unknown

> > >>&gt; Source)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument

> > (Unknown

> > >>&gt; Source)

> > >>&gt; &nbsp; &nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown

> > >>&gt; Source)

> > >>&gt; &nbsp; &nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown

> > >>&gt; Source)

> > >>&gt; &nbsp; &nbsp; at org.apache.xerces.parsers.XMLParser.parse (Unknown Source)

> > >>&gt; &nbsp; &nbsp; at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown

> > Source)

> > >>&gt; &nbsp; &nbsp; at org.apache.commons.digester.Digester.parse(Digester.java

> > :1567)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.catalina.core.StandardHostDeployer.install(

> > StandardHostDeployer.j

> > >>&gt; ava:488)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.StandardHost.install(StandardHost.java:863)

> >

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.catalina.startup.HostConfig.deployDescriptors(

> > HostConfig.java:483

> > >>&gt; )

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java

> > :427)

> > >>&gt; &nbsp; &nbsp; at org.apache.catalina.startup.HostConfig.start(HostConfig.java

> > :983)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.startup.HostConfig.lifecycleEvent(

> > HostConfig.java:349)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent

> > (LifecycleSuppor

> > >>&gt; t.java:119)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.ContainerBase.start (ContainerBase.java

> > :1091)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.StandardHost.start(StandardHost.java:789)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.StandardEngine.start(StandardEngine.java

> > :478)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.StandardService.start(StandardService.java:480)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt; org.apache.catalina.core.StandardServer.start(StandardServer.java

> > :2313)

> > >>&gt; &nbsp; &nbsp; at org.apache.catalina.startup.Catalina.start(Catalina.java:556)

> > >>&gt; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> sun.reflect.NativeMethodAccessorImpl.invoke(

> > NativeMethodAccessorImpl.java:39

> > >>&gt; )

> > >>&gt; &nbsp; &nbsp; at

> > >>&gt;

> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke

> > (DelegatingMethodAccessorImpl

> > >>&gt; .java:25)

> > >>&gt; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Method.java:324)

> > >>&gt; &nbsp; &nbsp; at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java

> > :287)

> > >>&gt; &nbsp; &nbsp; at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java

> > :425)

> > >>&gt; --

> > >>&gt; View this message in context:

> > >>&gt;

> > >>

> > http://www.nabble.com/Roller3.0-installation-problem-tf2722845s12275.html#a7

> > >>&gt; 598390

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

> > >>&gt;

> > >>&gt;

> > >>&gt;

> > >>&gt;

> > >>

> > >> --

> > >> 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&gt;<body&gt;<p>;<table align=";center&quot;><tr><td>

> > >>&nbsp; http://www.tm.net.my&nbsp; http://tmnet.jati.net.my/shock.jpg

> > >> </td>;</tr>;</table><table align=&quot;center&quot;>&lt;tr><;td>

> > >>&nbsp; http://www.bluehyppo.com &nbsp; http://tmnet.jati.net.my/bundle.jpg

> > >> </td>;</tr>;</table><table align=&quot;center&quot;>&lt;tr><;td>

> > >>&nbsp; http://www.bluehyppo.com

> > http://tmnet.jati.net.my/signmusicraya.jpg

> > >> &lt;/td>&lt;/tr>&lt;/table&gt;</p>;</body&gt;</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.

> >

> >

> ;

Roller3.0 installation problem
user name
2006-12-05 10:56:07


nzal wrote:
> 
> 
> My Installation:
> 
> Using CATALINA_BASE:   D:Tomcatjakarta-tomcat-5.0.28
> 
> Using CATALINA_HOME:   D:Tomcatjakarta-tomcat-5.0.28
> 
> Using CATALINA_TMPDIR:
D:Tomcatjakarta-tomcat-5.0.28temp
> 
> 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:zhoushuqungmail.com] 
> Sent: Sunday, December 03, 2006 11:05 PM
> To: roller-userincubator.apache.org
> Subject: Re: Roller3.0 installation problem
> 
>  
> 
> I've installed on:
> 
> D:jakarta-tomcat-5.0.28bin>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.28temp
> 
> Using JAVA_HOME:       C:j2sdk1.4.2_01
> 
>  
> 
> The MySQL's version is:
> 
> C:Program FilesMySQLMySQL Server 5.0
> 
> It wokrs ok.
> 
>  
> 
> 2006/11/30, Shutra Zhou <zhoushuqungmail.com>:
> 
>> 
> 
>> If you like, let's talk in gtalk: zhoushuqungmail.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 <nivedita.zalpurihcl.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&
quot; 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&
lt;/value>
> 
>> > > </parameter>
> 
>> > > <parameter>
> 
>> > > <name>driverClassName</name>
> 
>> > >
<value>com.mysql.jdbc.Driver</value>
> 
>> > > </parameter>
> 
>> > > <parameter>
> 
>> > > <name>url</name>
> 
>> > >
> 
>> >
>
<value>jdbc:mysql://localhost:3308/roller?autoReconnec
t=true&amp;useUnic
>
ode=true&amp;characterEncoding=utf-8&amp;mysqlEncodi
ng=utf8</value>
> 
>> >
> 
>> > > </parameter>
> 
>> > >
<parameter><name>username</name><value&
gt;root</value></parameter>
> 
>> > >
<parameter><name>password</name><value&
gt;roller1</value></parameter>
> 
>> > >
<parameter><name>maxActive</name><value
>20</value></parameter>
> 
>> > >
<parameter><name>maxIdle</name><value&g
t;3</value></parameter>
> 
>> > >
>
<parameter><name>removeAbandoned</name><
;value>true</value></parameter>
> 
>> >
> 
>> > >
<parameter><name>maxWait</name><value&g
t;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">
> 
>> > > <paramete