[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] FileNotFoundException: /usr/local/config/security.properties
From:       "Frank Morton" <fmorton () base2inc ! com>
Date:       2002-10-31 2:37:53
[Download RAW message or body]

I have a bunch of session beans with remote interfaces acting
as a facade for many entity beans accessible only with local interfaces.
Within the jboss container, everything is fine. But, if I try to
access a bean from a standalone application running on the
same machine, I get the exception below. Only thing I can
find is a reference to not having a j2ee.jar file in the classpath,
but I need some of the classes it provides, so I must be missing
something.

There is also an exception referencing ejb.properties file in the
same directory structure.

Do I really need these files? If so, where can I find some examples
(I have all the docs)? If not, what else do I have to configure to
allow access to the beans?

Thanks.

Here is the lookup exception:

java.io.FileNotFoundException: /usr/local/config/security.properties  
(No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:59)
         at java.io.FileInputStream.<init>(FileInputStream.java:90)
         at  
com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:56)
         at com.sun.enterprise.iiop.POAEJBORB.<clinit>(POAEJBORB.java:83)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:190)
         at org.omg.CORBA.ORB.create_impl(ORB.java:279)
         at org.omg.CORBA.ORB.init(ORB.java:323)
         at  
com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:140)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:69)
         at  
com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitCont 
extFactory.java:35)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Class.java:232)
         at  
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:647)
         at  
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
         at javax.naming.InitialContext.init(InitialContext.java:217)
         at javax.naming.InitialContext.<init>(InitialContext.java:173)
         at com.base2inc.bean.util.Factory.getContext(Factory.java:52)
         at  
com.base2inc.bean.util.Factory.getProfileValue(Factory.java:181)
         at  
org.city.app.mint.ConvertMintSpreadsheet.run(ConvertMintSpreadsh 
eet.java:43)
         at  
org.city.app.mint.ConvertMintSpreadsheet.main(ConvertMintSpreads 
heet.java:26)




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic