[jboss-jira] [JBoss JIRA] Commented: (JBAS-7862) Servlet can't reach JNDI standard resources

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Thu Aug 26 04:27:12 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-7862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12547077#action_12547077 ] 

Remy Maucherat commented on JBAS-7862:
--------------------------------------

The useful trace is a bit before:
10:19:37,496 INFO  [ReflectionServiceFactoryBean] Creating Service {http://www.jboss.org/test/ws/jaxws/jbws981}EndpointService from class org.jboss.test.ws.jaxws.jbws981.EndpointInterface
10:19:37,614 WARN  [JBossWSResourceResolver] Cannot resolve resource: org.apache.cxf.binding.AbstractBindingFactory/bus
10:19:37,724 INFO  [ServerImpl] Setting the server's publish address to be http://localhost:8080/jaxws-jbws981/EJB3Bean
10:19:37,821 INFO  [WSDLFilePublisher] WSDL published to: file:/home/remm/Work/jbossas-6/build/target/jboss-6.0.0-SNAPSHOT/server/all/data/wsdl/jaxws-jbws981.jar/EndpointService.wsdl
10:19:37,885 WARN  [TomcatDeployment] Failed to map vhost: www.jboss.org
10:19:37,885 INFO  [TomcatDeployment] deploy, ctxPath=/jaxws-jbws981
10:19:37,901 INFO  [TomcatDeployment] deploy, ctxPath=/jaxws-jbws981
10:19:37,905 ERROR [TomcatDeployment] ENC setup failed: javax.naming.NameAlreadyBoundException: TransactionSynchronizationRegistry
	at org.jnp.server.NamingServer.bind(NamingServer.java:209) [:5.0.5.Final]
...

So it does not find that www.jboss.org vhost (which is normal, it's not declared). It warns and creates it. It then deploys one instance of the webapp to each vhost: the default one and www,jboss.org. JNDI then does not like that as it would have only one component/context for the "two" webapps. Don't know how to fix that right now ...

> Servlet can't reach JNDI standard resources
> -------------------------------------------
>
>                 Key: JBAS-7862
>                 URL: https://jira.jboss.org/browse/JBAS-7862
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>            Reporter: Carlo de Wolf
>            Priority: Critical
>             Fix For: TBD-6.x
>
>         Attachments: jaxws-jbws981.jar, JBAS-7862__fix_injection_container.patch, JBAS-7862__use_JavaEEModule.patch
>
>
> Servlet 3.0 15.2.3
> java:global[/<app-name>]/<module-name>!ROOT
> java:app/<module-name>!ROOT
> JavaEE 6 EE.5.15
> java:app/AppName
> java:module/ModuleName

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list