|
List Info
Thread: Roller3.0 installation problem
|
|
| Roller3.0 installation problem |

|
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&useUnicode=true&characterEncoding=utf
-8&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&
>
;characterEncoding=utf-8&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: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 |

|
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&useUnicode=true&characterEncoding=utf
-8&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&
>>
;characterEncoding=utf-8&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: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 |

|
2006-11-30 12:29:14 |
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 <nivedita.zalpuri 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&
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&useUnicode=true&characterEncoding=utf
-8&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&
> >>
;characterEncoding=utf-8&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: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 |

|
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 <zhoushuqun 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 <nivedita.zalpuri 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&
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&useUnicode=true&characterEncoding=utf
-8&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&
> > >>
;characterEncoding=utf-8&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: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 |

|
2006-12-05 05:35:24 |
|
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: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.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 <zhoushuqun 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 <nivedita.zalpuri 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&useUnicode=true&characterEncoding=utf-8&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&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.
> >
> >
>
|
| Roller3.0 installation problem |

|
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: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.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 <zhoushuqun 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 <nivedita.zalpuri 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&
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&useUnic
>
ode=true&characterEncoding=utf-8&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 | |