roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Roller 4.0 and JBoss 5.1 GA
Date Tue, 14 Dec 2010 02:34:32 GMT
Hi Eric,

It appears that JBoss is trying to open a WAR file and failing because
you are providing a directory rather than a real WAR file. I believe
what you need to do is create that real WAR file. For example:

   cd roller
   jar cvf ../roller.war .

Then deploy that roller.war file to JBoss.

However, I would be surprised if that worked because I ran into so
many problems getting Roller 5 (unreleased)  to work on JBoss 6
(unreleased).

- Dave


On Sat, Dec 11, 2010 at 7:51 PM, Eric Wittle <ericw@wittle.net> wrote:
> P.S. forgot to include the stack trace:
>
> 19:46:45,178 ERROR [ProfileDeployAction] Failed to add deployment: roller.war
> org.jboss.deployers.spi.DeploymentException: Error determining structure: roller.war
>        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
>        at org.jboss.web.deployers.WARStructure.determineStructure(WARStructure.java:248)
>        at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
>        at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
>        at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
>        at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
>        at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004)
>        at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
>        at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
>        at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
>        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86)
>        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61)
>        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
>        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
>        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
>        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
>        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
>        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
>        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
>        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
>        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
>        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
>        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
>        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
>        at org.jboss.Main.boot(Main.java:221)
>        at org.jboss.Main$1.run(Main.java:556)
>        at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip
file
>        at org.jboss.virtual.plugins.context.AbstractExceptionHandler.handleZipEntriesInitException(AbstractExceptionHandler.java:39)
>        at org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler.handleZipEntriesInitException(NamesExceptionHandler.java:63)
>        at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:626)
>        at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:773)
>        at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:817)
>        at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:191)
>        at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:684)
>        at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165)
>        at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:107)
>        at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:689)
>        at org.jboss.virtual.plugins.context.file.FileHandler.getChild(FileHandler.java:303)
>        at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481)
>        at org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer.applyMetadataPaths(AbstractStructureDeployer.java:481)
>        at org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer.createContext(AbstractStructureDeployer.java:455)
>        at org.jboss.web.deployers.WARStructure.determineStructure(WARStructure.java:204)
>        ... 25 more
> Caused by: java.util.zip.ZipException: error in opening zip file
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>        at java.util.zip.ZipFile.<init>(ZipFile.java:131)
>        at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:175)
>        at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:245)
>        at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:484)
>        at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:619)
>        ... 37 more
> 19:47:10,188 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6865528{vfsfile:/opt/bw/quickstart-3.6/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
>
>
> On Dec 11, 2010, at 7:48 PM, Eric Wittle wrote:
>
>> OK, i've tried finding a successful recipe for running Roller on JBoss via Google
for the last few days, with no luck. I had a 4.0 instance running successfully on apache,
but am moving to Jboss to meet the requirement of another app I want to run.
>>
>> Anyone have pointers on how to get Roller 4.0 running on JBoss 5.1 GA?
>>
>> I copied the roller directory from the webapps dir on my tomcat instance, and put
the jbdc & mail jars in the jboss endorsed lib. Initially I was getting error in the jboss
log about not being able to read the web.xml file, but google pointed me to the JBoss docs
that I needed to rename the exploded roller directory to roller.war in the JBoss deploy directory.
Now I'm getting an exception that the war directory can't be recognized, triggered by an exception
that is zip file related. I thought this might be missing classes/jar files, and tried turning
on classloader logging to check this, with no luck.
>>
>> Any help you can provide would be appreciated.
>>
>> -Eric
>>
>
>

Mime
View raw message