What
happened when you deployed? Did you get any error messages? It looks like your
datasource jndi name is wrong in the offending appalmost 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
www.elephantwalker.com
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Curt
SmithSent: Wednesday, October 03, 2001 1:21 PMTo:
Orion-InterestSubject: I've screwed up a component DD
NamingException: Cannot lookup java:comp/env attributes, not in a valid
component
I've
got two apps deployed as expaned directories. XML files are similar
since they're
similar apps.
But
one does not allow any context lookups and one does?
orionconsole can't
access the context and EJB's in the broken app but
can in the other. It gets these
naming exceptions in the orion console
log.
What
could be off in my deployment descriptors ???
Thanks!!
curt
javax.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)