Bugs item #952672, was opened at 2004-05-12 11:11 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=952672&group_id=22866
Category: JBossServer Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Patrick Jaromin (pjaromin) Assigned to: Nobody/Anonymous (nobody) Summary: Empty JNDI 'java:' tree w/servlet 2.3 web container first Initial Comment: 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: ---------------------------------------------- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=952672&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
