[ http://jira.jboss.com/jira/browse/JBAS-944?page=history ]
     
Scott M Stark closed JBAS-944:
------------------------------

    Resolution: Out of Date

> Empty JNDI 'java:' tree w/servlet 2.3 web container first
> ---------------------------------------------------------
>
>          Key: JBAS-944
>          URL: http://jira.jboss.com/jira/browse/JBAS-944
>      Project: JBoss Application Server
>         Type: Bug
>     Versions: JBossAS-3.2.6 Final
>     Reporter: SourceForge User
>     Assignee: Scott M Stark

>
>
> SourceForge Submitter: pjaromin .
> OS: Solaris 9
> JDK: HotSpot 1.4.2 SE (build 1.4.2-b28, mixed mode)
> Using a "clean" install of JBoss 3.2.3 (November 2003),
> install both webapps - test1.war and test2.war - in the
> 'deploy' directory.
> Visit test1 - http://localhost:8080/test1/jndi.do
> The web page output should look like:
> ----------------------------------------------
> CHILDREN of java:
> NAME: XAConnectionFactory TYPE:
> org.jboss.mq.SpyXAConnectionFactory
> NAME: DefaultDS TYPE:
> org.jboss.resource.adapter.jdbc.WrapperDataSource
> NAME: SecurityProxyFactory TYPE:
> org.jboss.security.SubjectSecurityProxyFactory
> NAME: DefaultJMSProvider TYPE:
> org.jboss.jms.jndi.JBossMQProvider
> NAME: comp TYPE: javax.naming.Context
> NAME: ConnectionFactory TYPE:
> org.jboss.mq.SpyConnectionFactory
> NAME: JmsXA TYPE:
> org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl
> NAME: jaas TYPE: javax.naming.Context
> NAME: timedCacheFactory TYPE: javax.naming.Context
> NAME: TransactionPropagationContextExporter TYPE:
> org.jboss.tm.TransactionPropagationContextFactory
> NAME: Mail TYPE: javax.mail.Session
> NAME: StdJMSPool TYPE:
> org.jboss.jms.asf.StdServerSessionPoolFactory
> NAME: TransactionPropagationContextImporter TYPE:
> org.jboss.tm.TransactionPropagationContextImporter
> NAME: TransactionManager TYPE: org.jboss.tm.TxManager
> ----------------------------------------------
> Next, visit http://localhost:8080/test2/index.do
> By default, using the JBoss Classloader and Java2
> compliance in tomcat, you will receive an error -
> 'java.lang.NoSuchMethodError:
> test.webui.actions.UserInfo.getCount2()I'  - when
> attempting to view "test2/index.do" since there is an
> incompatible version of the same class loaded in "test1". 
> Edit the file
> default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml
> and change the following attributes to "false":
> <attribute
> name="Java2ClassLoadingCompliance">true</attribute>
> <attribute name="UseJBossWebLoader">true</attribute>  
> ...next, either remove the management app or edit
> web-console.war/WEB-INF/jboss-web.xml and add 
> <class-loading java2ClassLoadingCompliance='true'/>
> Now, restart the app server. (run.sh -c default).
> You should be able to visit both web apps without error
> this time, however, the output will list no children of
> "java:"  in the InitialContext:
> http://localhost:8080/test1/jndi.do
> http://localhost:8080/test2/index.do
> OUTPUT of http://localhost:8080/test1/jndi.do
> ----------------------------------------------
> CHILDREN of java:
> ----------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to