[Tomcat, HTTPD, Servlets & JSP] - Deployed error
by Talo_ct
Hello to all,
I am trying to deploy a war file. I have checked that this war file run in Tomcat but I need to do it in JBOSS.
When I did it in jboss I obtained the following error:
| 10:35:32,915 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
| 10:35:32,915 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@111a3a4, cl=org.jboss.mx.loading.UnifiedClassLoader3@9bb457{ url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/ ,addedOrder=0}
| 10:35:32,915 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@111a3a4, cl=org.jboss.mx.loading.UnifiedClassLoader3@9bb457{ url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/ ,addedOrder=0}
| 10:35:32,915 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@9bb457{ url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/ ,addedOrder=0}
| 26 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] resolveLibraries: i5common.jar commons-logging-1.0.4.jar log4j-1.2.11.jar
| 26 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at iuclid.war entry is i5common.jar
| 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/opt/shared/data/resins/IUCLUD/content/iuclid.war references URL file:/opt/shared/data/resins/IUCLUD/content/i5common.jar which could not be opened, entry ignored
| org.jboss.deployment.DeploymentException: url file:/opt/shared/data/resins/IUCLUD/content/i5common.jar could not be opened, does it exist?
| end
| | the war file has the following name: iuclid.war
| | and the following structure:
| | +i5client
| | +i5clientPlugins
| | +images
| | +META-INF
| | +WEB-INF
| | client.properties.jsp
| | config.jsp
| | download.jsp
| | player.jsp
| | style.css
|
| Please I would be very gratefully for any help or suggestion
| Best Regards
| Talo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139027#4139027
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139027
18 years
[JBossWS] - Overriding InvocationHandlerFactory
by zach.mabe@cox.com
Particulars: Jboss AS 4.2.2.GA, JBossWS native 2.0.3.GA with JSE endpoints.
I am trying to implement my own InvocationHandlerFactory so that I can implement my own InvocationHandler instead of the DefaultInvocationHandlerJAXWS.
To do so, I've created my implementations of the factory and the handler. These classes are in WEB-INF/classes directory of the WAR file.
In the base dir of the WAR. I've created the file
META-INF\services\org.jboss.wsf.spi.invocation.InvocationHandlerFactory
with the name of my factory class as the only line.
I also have this same file in the classes directory of the WEB-INF directory so its path looks like
WEB-INF/classes/META-INF/services/org.jboss.wsf.spi.invocation.InvocationHandlerFactory
Regardless, the ServiceLoader keeps finding service file in jboss-4.2.2.GA-Cox-AS/server/default/lib/jbossws-jboss42.jar.
So the question is...am I supposed to be able to override that service definition? If so, can I configure the classloader to find the service file in my war before looking in the lib directory without screwing stuff up?
Thanks
Zach
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139026#4139026
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139026
18 years