[JBossWS] - Re: NullPointerException with jbossws 2.0.1
by koganty
jbossws-framework.jar is deployed under jboss/server//lib.
This is how the ServerConfigFactory shows up in the log :
2007-08-23 13:34:29,019 DEBUG [main][DeploymentAspectManagerImpl]: WebAppGeneratorDeploymentAspect:Create
2007-08-23 13:34:29,191 DEBUG [main][DefaultSPIProvider]: provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory'
2007-08-23 13:34:29,206 DEBUG [main][DefaultSPIProvider]: class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl@93727d
2007-08-23 13:34:29,222 ERROR [main][MainDeployer]: Could not start deployment: file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/epicenter.ear/epicenter.jar
java.lang.NullPointerException
at org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.generatWebDeployment(WebAppGeneratorDeploymentAspect.java:105)
at org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.create(WebAppGeneratorDeploymentAspect.java:84)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
But the real problem is I think is the MANIFEST.MF in the jbossws.sar/META-INF directory.
I see quite a few DeploymentExceptions during startup regards to unreachable jar files 'cos the MANIFEST.MF points to the wrong location.
2007-08-23 13:33:17,948 DEBUG [main][ClassLoaderUtils]: Multiple class loaders found for pkg:
2007-08-23 13:33:17,948 DEBUG [main][MainDeployer]: resolveLibraries: jbossws-spi.jar jbossws-common.jar jbossws-framework.jar jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar activation.jar commons-logging.jar concurrent.jar javassist.jar jaxb-api.jar jaxb-impl.jar mail.jar jboss-remoting.jar jboss-xml-binding.jar policy.jar stax-api.jar wsdl4j.jar
2007-08-23 13:33:17,948 DEBUG [main][MainDeployer]: new manifest entry for sdi at jbossws.sar entry is jbossws-spi.jar
2007-08-23 13:33:17,948 DEBUG [main][MainDeployer]: The manifest entry in file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws.sar/ references URL file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws-spi.jar which could not be opened, entry ignored
2007-08-23 13:33:17,948 DEBUG [main][NestedThrowable]: org.jboss.util.NestedThrowable.parentTraceEnabled=true
2007-08-23 13:33:17,948 DEBUG [main][NestedThrowable]: org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2007-08-23 13:33:17,948 DEBUG [main][NestedThrowable]: org.jboss.util.NestedThrowable.detectDuplicateNesting=true
org.jboss.deployment.DeploymentException: url file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws-spi.jar could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214)
at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884)
2007-08-23 13:33:17,964 DEBUG [main][MainDeployer]: new manifest entry for sdi at jbossws.sar entry is jbossws-common.jar
2007-08-23 13:33:17,964 DEBUG [main][MainDeployer]: The manifest entry in file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws.sar/ references URL file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws-common.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws-common.jar could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214)
at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884)
2007-08-23 13:33:17,964 DEBUG [main][MainDeployer]: new manifest entry for sdi at jbossws.sar entry is jbossws-framework.jar
2007-08-23 13:33:17,964 DEBUG [main][MainDeployer]: The manifest entry in file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws.sar/ references URL file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws-framework.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws-framework.jar could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214)
at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884)
2007-08-23 13:33:17,964 DEBUG [main][MainDeployer]: new manifest entry for sdi at jbossws.sar entry is jboss-jaxrpc.jar
2007-08-23 13:33:17,964 DEBUG [main][MainDeployer]: The manifest entry in file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jbossws.sar/ references URL file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jboss-jaxrpc.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/dev/sources/newport/jboss/server/epicenter/deploy/jboss-jaxrpc.jar could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214)
at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884)
There is more but I think this is the problem...
Thank You.
-Raju
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077573#4077573
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077573
18Â years, 8Â months
[JBoss Seam] - Re: Maven Archetype for Seam?
by anders3
I have been trying to make the dvdstore sample as a maven project.
The project will have 3 subartifacts
1. ejb - containing all classes
2. war - containing the web
3. ear - packaging the stuff
And it is very simple to make the artifacts, but I cannot currently get all dependencies right.
I setup a repository with http://maven.softeu.cz/
I then the ejb by dependencies
<dependencies>
| <dependency>
| <groupId>jboss.seam</groupId>
| <artifactId>jboss-seam</artifactId>
| <version>2.0.0.BETA1</version>
| </dependency>
| <dependency>
| <groupId>javax.ejb</groupId>
| <artifactId>ejb</artifactId>
| <version>3.0-RC8</version>
| </dependency>
| <dependency>
| <groupId>javax.faces</groupId>
| <artifactId>jsf-api</artifactId>
| <version>1.2</version>
| </dependency>
| <dependency>
| <groupId>org.apache.lucene</groupId>
| <artifactId>lucene-core</artifactId>
| <version>2.1.0</version>
| </dependency>
| <dependency>
| <groupId>jboss</groupId>
| <artifactId>jbpm</artifactId>
| <version>3.1.4</version>
| </dependency>
| <dependency>
| <groupId>org.testng</groupId>
| <artifactId>testng</artifactId>
| <version>5.5</version>
| <classifier>jdk15</classifier>
| </dependency>
| </dependencies>
|
But currently I am missing
/dvdstore/ejb/src/main/java/com/jboss/dvd/seam/Product.java:[29,40] cannot find symbol
| symbol : class IndexedEmbedded
| location: package org.hibernate.search.annotations
|
It is an artifact by name hibernate-search.jar ?? I cannot find it at the moment.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077572#4077572
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077572
18Â years, 8Â months