roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiago Galbiatti Vespa <thiag...@gmail.com>
Subject Re: JBoss installation
Date Wed, 03 Jun 2009 15:26:19 GMT
Same as you

On Sat, May 30, 2009 at 2:00 PM, Harihara Vinayakaram <hvram1@gmail.com>wrote:

> Hi
>  I tried about 4 - 5 months back and the conclusion I reached was that it
> was not possible to run Roller 4.0 with jboss 4.2 . I am not sure if the
> situation has changed in the interim
>
> Regards
> Hari
>
> On Wed, May 27, 2009 at 11:57 AM, priyaramadoss
> <Priya_ramadoss@satyam.com>wrote:
>
> >
> > hi,
> >
> > I have one small clarification in this roller installation in jboss.
> >
> > Can this be done with roller 4.0 in jboss-4.2.2.GA server.
> >
> > Can anyone help on this?
> >
> > Thanks in advance.
> >
> > Regards,
> > Priya.
> >
> >
> >
> > Krishna Revadigar wrote:
> > >
> > >
> > >
> > > Krishna Revadigar wrote:
> > >>
> > >>
> > >> Hi,
> > >>    It looks like there is some issue in DAO layer loading. So please
> re
> > >> structure your jboss-web.xml as
> > >>
> > >> <?xml version='1.0' encoding='UTF-8' ?>
> > >> <!DOCTYPE jboss-web
> > >>     PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
> > >>     "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
> > >>
> > >> <jboss-web>
> > >>
> > >>   <context-root>/roller</context-root>
> > >>
> > >>   <class-loading>
> > >>     <loader-repository>
> > >>      roller:archive=roller.war
> > >>     </loader-repository>
> > >>   </class-loading>
> > >>
> > >>   <resource-ref>
> > >>     <res-ref-name>jdbc/rollerdb</res-ref-name>
> > >>     <jndi-name>java:/jdbc/rollerdb</jndi-name>
> > >>   </resource-ref>
> > >>
> > >>   <resource-ref>
> > >>       <res-ref-name>mail/Session</res-ref-name>
> > >>       <jndi-name>java:/mail/Session</jndi-name>
> > >>   </resource-ref>
> > >>
> > >> </jboss-web>
> > >>
> > >> Hi,
> > >>   I could run roller 4.0 on jboss-eap-4.2.
> > >> 1. I used mysql as backend
> > >> i.e mysql-ds.xml
> > >>
> > >> <?xml version="1.0" encoding="UTF-8"?>
> > >>
> > >> <!--
> > >> =====================================================================
> > -->
> > >> <!--
> > >> -->
> > >> <!--  JBoss Server DataBase Configuration
> > >> -->
> > >> <!--
> > >> -->
> > >> <!--
> > >> =====================================================================
> > -->
> > >>
> > >> <datasources>
> > >>
> > >>
> > >>   <local-tx-datasource>
> > >>     <jndi-name>jdbc/rollerdb</jndi-name>
> > >>
> > >>
> >
> <connection-url>jdbc:mysql://localhost:3306/rollerdb?autoReconnect=true</connection-url>
> > >>     <driver-class>com.mysql.jdbc.Driver</driver-class>
> > >>     <user-name>root</user-name>
> > >>     <password>auram</password>
> > >>     <min-pool-size>5</min-pool-size>
> > >>     <max-pool-size>20</max-pool-size>
> > >>
> > >>      <metadata>
> > >>              <type-mapping>MySQL</type-mapping>
> > >>      </metadata>
> > >>
> > >>     </local-tx-datasource>
> > >>
> > >> </datasources>
> > >>
> > >> 2. I have created roller-custom.properties under
> > >> <jboss>\deploy\roller.war\WEB-INF\classes
> > >> # Backend Guice module
> > >>
> >
> #guice.backend.module=org.apache.roller.weblogger.business.jpa.JPAWebloggerModule
> > >>
> > >> # Backend Provider
> > >>
> >
> #weblogger.provider.class=org.apache.roller.weblogger.business.GuiceWebloggerProvider
> > >>
> > >> installation.type=auto
> > >> database.configurationType=jndi
> > >> database.jndi.name=jdbc/rollerdb
> > >> mail.configurationType=jndi
> > >> mail.jndi.name=mail/Session
> > >>
> > >> 3. I have placed mysql-connector-java-5.1.6-bin.jar under
> > >> <dir>\jboss-eap-4.2\jboss-as\server\default\lib
> > >>
> > >> 4. Finally I have restarted server....
> > >>
> > >>
> > >> Christopher M. Logan wrote:
> > >>>
> > >>> Can you run Roller 4 in JBoss as 4.2.2 ?  If you can please help me?
> > >>> I'm getting the following error:
> > >>>
> > >>> INFO  2008-03-13 20:11:39,765 JPAPersistenceStrategy:<init> -
> > >>> openjpa.Log: commons
> > >>> ERROR 2008-03-13 20:11:39,781 JPAPersistenceStrategy:<init> -
ERROR:
> > >>> creating entity manager
> > >>> javax.persistence.PersistenceException: Provider error. Provider:
> > >>> org.hibernate.ejb.HibernatePersistence
> > >>>     at
> > javax.persistence.Persistence.createFactory(Persistence.java:175)
> > >>>     at
> > >>>
> >
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:111)
> > >>>
> > >>>
> > >>> Thank you
> > >>>
> > >>>
> > >>>
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/JBoss-installation-tp16044106s12275p23736691.html
> > Sent from the Roller - User mailing list archive at Nabble.com.
> >
> >
>



-- 
Thiago Galbiatti Vespa
http://www.thiagovespa.com.br
SCEA I - SCDJWS - SCSNI - SCJP - SCJA
MSc Computer Science - USP
BSc Computer Science - UNESP

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message