You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by david <da...@davidwbrown.name> on 2007/09/28 02:53:59 UTC

expected one jndi-name tag on startup JBOSS et. al.

Hello all roller gurus and users, I have recently given up on compilation and I am settling for a binary install. I have so-far a single shortcoming (included below). I am deperately in need of resurrecting my Blog. All rants, raves, opinions, caveats and ideas welcomed. Particulars follow and thanks in advance. David.

OS: Linux 2.6.8-2-686-smp #1 SMP Tue Aug 16 12:08:30 UTC 2005 i686 GNU/Linux
App server: JBOSS.4.2.1.GA
HD: Proliant ML dual cpu 3.0 ghz


************************server.log**************************
2007-09-27 19:20:08,576 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/
2007-09-27 19:20:08,576 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/
2007-09-27 19:20:08,576 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
2007-09-27 19:20:08,577 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Begin init
2007-09-27 19:20:08,577 DEBUG [org.jboss.web.tomcat.service.JBossWeb] webContext: null
2007-09-27 19:20:08,577 DEBUG [org.jboss.web.tomcat.service.JBossWeb] warURL: file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/
2007-09-27 19:20:08,833 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
2007-09-27 19:20:08,833 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2007-09-27 19:20:08,833 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2007-09-27 19:20:08,833 WARN  [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
2007-09-27 19:20:08,862 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Problem in init
org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/jboss-web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one jndi-name tag)


2007-09-27 19:20:09,777 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@33293ee8{ url=file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/jboss-web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one jndi-name tag)

Re: expected one jndi-name tag on startup JBOSS et. al.

Posted by Phillip Rhodes <mi...@cpphacker.co.uk>.
Dave wrote:
> I see "Failed to parse WEB-INF/jboss-web.xml" but Roller does not
> include a jboss-web.xml file.  What is a jboss-web.xml file?
> 

You'll need a jboss-web.xml to deploy Roller on JBoss.  It's the
container specific configuration file that maps resource
entries in web.xml into the "real" JNDI names.  Here's
an example of the jboss-web.xml I use for deploying
Roller on JBoss.

<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
    <resource-ref>
        <res-ref-name>jdbc/rollerdb</res-ref-name> <!-- this matches
what's in web.xml -->
        <res-type>javax.sql.DataSource</res-type>
        <jndi-name>java:/rollerdb</jndi-name> <!-- the part after the
java:/ matches the jndi-name specified in roller-postgresql-ds.xml -->
    </resource-ref>
</jboss-web>


There's some info on installing Roller on JBoss here that might
help:

<http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuideJBoss4>

and I wrote a blog post (which may be a bit outdated now, since it was
written for 3.0) about this
as well:

<www.jroller.com/mindcrime/entry/installing_roller_weblogger_on_jboss>


HTH, YMMV, IANAL, WTFBBQ, etc...


Phil

Re: expected one jndi-name tag on startup JBOSS et. al.

Posted by Dave <sn...@gmail.com>.
I see "Failed to parse WEB-INF/jboss-web.xml" but Roller does not
include a jboss-web.xml file.  What is a jboss-web.xml file?

And which version of Roller are you deploying again?

- Dave


On 9/27/07, david <da...@davidwbrown.name> wrote:
> Hello all roller gurus and users, I have recently given up on compilation and I am settling for a binary install. I have so-far a single shortcoming (included below). I am deperately in need of resurrecting my Blog. All rants, raves, opinions, caveats and ideas welcomed. Particulars follow and thanks in advance. David.
>
> OS: Linux 2.6.8-2-686-smp #1 SMP Tue Aug 16 12:08:30 UTC 2005 i686 GNU/Linux
> App server: JBOSS.4.2.1.GA
> HD: Proliant ML dual cpu 3.0 ghz
>
>
> ************************server.log**************************
> 2007-09-27 19:20:08,576 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/
> 2007-09-27 19:20:08,576 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/
> 2007-09-27 19:20:08,576 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
> 2007-09-27 19:20:08,577 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Begin init
> 2007-09-27 19:20:08,577 DEBUG [org.jboss.web.tomcat.service.JBossWeb] webContext: null
> 2007-09-27 19:20:08,577 DEBUG [org.jboss.web.tomcat.service.JBossWeb] warURL: file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/
> 2007-09-27 19:20:08,833 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
> 2007-09-27 19:20:08,833 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
> 2007-09-27 19:20:08,833 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
> 2007-09-27 19:20:08,833 WARN  [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
> 2007-09-27 19:20:08,862 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Problem in init
> org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/jboss-web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one jndi-name tag)
>
>
> 2007-09-27 19:20:09,777 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@33293ee8{ url=file:/usr/local/jboss-4.2.1.GA/server/davidwbrown/deploy/roller.war/, deployedLastModified=0 }
> org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/jboss-web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one jndi-name tag)
>