Bugs item #588248, was opened at 2002-07-29 17:00
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=588248&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Joe Simone (jsimone)
Assigned to: Nobody/Anonymous (nobody)
Summary: J2EE.jar in classpath causes exception

Initial Comment:
OS:  WinXP Pro
JDK 1.3.1_04-b02
 Either JBoss 3.0 or 3.0.1RC1.


putting J2EE.jar from the 1.3.1 J2EE distribution causes 
a runtime file not found exception.

If I create a JavaMail method in a session bean, then 
becuase mail.jar, etc. is not in the client lib, I added 
J2ee.jar to the classpath to compile the app.  Doing so 
produces the following;

[java] java.io.FileNotFoundException: C:\java\jboss-
3.0.0_tomcat-4.0.3\config\security.properties (The 
system canno
t find the path specified)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>
(FileInputStream.java:59)
[java] at java.io.FileInputStream.<init>
(FileInputStream.java:90)
[java] at 
com.sun.enterprise.util.Utility.getPropertiesFromFile
(Utility.java:42)
[java] at com.sun.enterprise.iiop.POAEJBORB.<clinit>
(POAEJBORB.java:78)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:190)
[java] at org.omg.CORBA.ORB.create_impl
(ORB.java:279)
[java] at org.omg.CORBA.ORB.init(ORB.java:323)
[java] at 
com.sun.enterprise.util.ORBManager.createORB
(ORBManager.java:138)
[java] at com.sun.enterprise.util.ORBManager.init
(ORBManager.java:65)
[java] at 
com.sun.enterprise.naming.SerialInitContextFactory.<ini
t>(SerialInitContextFactory.java:31)
[java] at java.lang.Class.newInstance0(Native Method)
[java] at java.lang.Class.newInstance(Class.java:232)
[java] at 
javax.naming.spi.NamingManager.getInitialContext
(NamingManager.java:647)
[java] at javax.naming.InitialContext.getDefaultInitCtx
(InitialContext.java:241)
[java] at javax.naming.InitialContext.init
(InitialContext.java:217)
[java] at javax.naming.InitialContext.<init>
(InitialContext.java:173)
[java] at com.highnotes.ebu.client.test.Test_8.main
(Test_8.java:55)
[java] java.io.FileNotFoundException: C:\java\jboss-
3.0.0_tomcat-4.0.3\config\ejb.properties (The system 
cannot fin
d the path specified)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>
(FileInputStream.java:59)
[java] at java.io.FileInputStream.<init>
(FileInputStream.java:90)
[java] at 
com.sun.enterprise.util.Utility.getPropertiesFromFile
(Utility.java:42)
[java] at com.sun.enterprise.iiop.J2EEInitializer.<init>
(J2EEInitializer.java:54)
[java] at java.lang.Class.newInstance0(Native Method)
[java] at java.lang.Class.newInstance(Class.java:232)
[java] at 
com.sun.corba.ee.internal.Interceptors.PIORB.registerO
RBInitializers(PIORB.java:377)
[java] at 
com.sun.corba.ee.internal.Interceptors.PIORB.parsePro
perties(PIORB.java:347)
[java] at 
com.sun.corba.ee.internal.TxPOA.TxPIORB.parseProper
ties(TxPIORB.java:116)
[java] at 
com.sun.corba.ee.internal.corba.ORB.set_parameters
(ORB.java:461)
[java] at 
com.sun.corba.ee.internal.POA.POAORB.set_paramete
rs(POAORB.java:156)
[java] at 
com.sun.corba.ee.internal.Interceptors.PIORB.set_para
meters(PIORB.java:336)
[java] at org.omg.CORBA.ORB.init(ORB.java:324)
[java] at 
com.sun.enterprise.util.ORBManager.createORB
(ORBManager.java:138)
[java] at com.sun.enterprise.util.ORBManager.init
(ORBManager.java:65)
[java] at 
com.sun.enterprise.naming.SerialInitContextFactory.<ini
t>(SerialInitContextFactory.java:31)
[java] at java.lang.Class.newInstance0(Native Method)
[java] at java.lang.Class.newInstance(Class.java:232)
[java] at 
javax.naming.spi.NamingManager.getInitialContext
(NamingManager.java:647)
[java] at javax.naming.InitialContext.getDefaultInitCtx
(InitialContext.java:241)
[java] at javax.naming.InitialContext.init
(InitialContext.java:217)
[java] at javax.naming.InitialContext.<init>
(InitialContext.java:173)
[java] at com.highnotes.ebu.client.test.Test_8.main
(Test_8.java:55)

[java] Warning: unable to read 
transaction.interoperability config property
[java] java.io.FileNotFoundException: C:\java\jboss-
3.0.0_tomcat-4.0.3\config\security.properties (The 
system canno
t find the path specified)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>
(FileInputStream.java:59)
[java] at java.io.FileInputStream.<init>
(FileInputStream.java:90)
[java] at 
com.sun.enterprise.util.Utility.getPropertiesFromFile
(Utility.java:42)
[java] at 
com.sun.enterprise.iiop.security.SecurityMechanismSel
ector.<clinit>(SecurityMechanismSelector.java:10
2)
[java] at 
com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndP
ointInfo(IIOPSSLSocketFactory.java:211)
[java] at 
com.sun.corba.ee.internal.iiop.ConnectionTable.getConn
ection(ConnectionTable.java:73)
[java] at 
com.sun.corba.ee.internal.iiop.ConnectionTable.getConn
ection(ConnectionTable.java:68)
[java] at 
com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection
(GIOPImpl.java:70)
[java] at 
com.sun.corba.ee.internal.corba.InitialNamingClient.loca
teObject(InitialNamingClient.java:769)
[java] at 
com.sun.corba.ee.internal.corba.InitialNamingClient.getI
ORUsingHostInfo(InitialNamingClient.java:597)

[java] at 
com.sun.corba.ee.internal.corba.InitialNamingClient.reso
lveCorbaloc(InitialNamingClient.java:573)
[java] at 
com.sun.corba.ee.internal.corba.InitialNamingClient.reso
lveUsingORBInitRef(InitialNamingClient.java:5
44)
[java] at 
com.sun.corba.ee.internal.corba.InitialNamingClient.cac
hedInitialReferences(InitialNamingClient.java:
1080)
[java] at 
com.sun.corba.ee.internal.corba.InitialNamingClient.reso
lve_initial_references(InitialNamingClient.ja
va:981)
[java] at 
com.sun.corba.ee.internal.corba.ORB.resolve_initial_refe
rences(ORB.java:2425)
[java] at 
com.sun.enterprise.naming.SerialContext.getProvider
(SerialContext.java:52)
[java] at 
com.sun.enterprise.naming.SerialContext.lookup
(SerialContext.java:120)
[java] at javax.naming.InitialContext.lookup
(InitialContext.java:345)
[java] at com.highnotes.ebu.client.test.Test_8.main
(Test_8.java:58)
[java] javax.naming.CommunicationException: Can't find 
SerialContextProvider
[java] at 
com.sun.enterprise.naming.SerialContext.getProvider
(SerialContext.java:63)
[java] at 
com.sun.enterprise.naming.SerialContext.lookup
(SerialContext.java:120)
[java] at javax.naming.InitialContext.lookup
(InitialContext.java:345)
[java] at com.highnotes.ebu.client.test.Test_8.main
(Test_8.java:58)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=588248&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to