What
happened when you deployed? Did you get any error messages? It looks like your
datasource jndi name is wrong in the offending app....almost like it isn't even
deployed.
Check
out the name of your datasource in your resource tag. This is where it is
blowing up. For example, if this is in a servlet, there should be a resource tag
in the web.xml file. If this is in an ejb, then there is a resource tag in the
ejb-jar.xml file.
We
need a little more to go on, though.
You
can go to www.elephantwalker.com,
and post a request. After you post a request, you can actually attach files to
your request...
regards,
the
elephantwalker
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Curt Smith
Sent: Wednesday, October 03, 2001 1:21 PM
To: Orion-Interest
Subject: I've screwed up a component DD???? NamingException: Cannot lookup java:comp/env attributes, not in a valid componentI've got two apps deployed as expaned directories. XML files are similar since they'resimilar apps.But one does not allow any context lookups and one does????? orionconsole can'taccess the context and EJB's in the broken app but can in the other. It gets thesenaming exceptions in the orion console log.What could be off in my deployment descriptors ???Thanks!!curtjavax.naming.NamingException: Cannot lookup java:comp/env attributes, not in a valid component
at com.evermind.server.Application.getEnvironmentContext(Application.java:1669)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:104)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:63)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at gov.ga.gdc.bm.security.dao.ValidateLoginManager.getDatasource(ValidateLoginManager.java:365)
at gov.ga.gdc.bm.security.dao.ValidateLoginManager.getDBConnection(ValidateLoginManager.java:400)
at gov.ga.gdc.bm.security.dao.ValidateLoginManager.checkPassword(ValidateLoginManager.java:227)
at gov.ga.gdc.bm.security.dao.ValidateLoginManager$UserWrapper.authenticate(ValidateLoginManager.java:305)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:346)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)