This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Problems on Borland App Server4.5 Version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problems on Borland App Server4.5 Version" Watch "Problems on Borland App Server4.5 Version" New topic
Author

Problems on Borland App Server4.5 Version

venkata saikumar007
Greenhorn

Joined: Jun 04, 2001
Posts: 1
Hi all,
I am new to Borland App Server and currently working on it, I am facing 2 problems
First problem: is when I am deploying the bean from the command prompt I am facing a problem as follows:

G:\Borland\AppServer\examples\ejb\sort>vbj -DEJBDebug com.inprise.ejb.Container ejbcontainer sort_beans.jar
EJB Container
=============
server version : 4.5.1
server build date : Mar 20, 2001
java version : 1.3.0
java vendor : Sun Microsystems Inc.
java VM name : Java HotSpot(TM) Client VM
java VM info : mixed mode
heap size : 1984 Kb
EJB* flags : EJBDebug
javax.* flags : javax.rmi.CORBA.UtilClass: com.inprise.vbroker.rmi.CORBA.UtilImpl
: javax.rmi.CORBA.StubClass: com.inprise.vbroker.rmi.CORBA.StubImpl
: javax.rmi.CORBA.PortableRemoteObjectClass: com.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl
vbroker.* flags : vbroker.orb.admDir: G:\Borland\AppServer\var\servers\saikumar\adm
: vbroker.agent.port: 14000
: vbroker.orb.procId: 229
org.omg.* flags : org.omg.CORBA.ORBSingletonClass: com.inprise.vbroker.orb.ORBSingleton
: org.omg.CORBA.ORBClass: com.inprise.vbroker.orb.ORB
java class path : g:\Tibco\Adapter\SDK\java\Maverick32.jar
: g:\Tibco\Adapter\SDK\java\SdkServices32.jar
: g:\Tibco\Adapter\SDK\java\TIBRepoClient32.jar
: g:\tibco\tibrv\lib\tibrvj.jar
: g:\tibco\tibrv\java\rvjpro.jar
: g:\j2sdkee1.3\lib\j2ee.jar
: g:\borland\appserver\lib\ias.jar
: g:\jdk1.3\lib
: .
: G:\Borland\AppServer\lib\vbsec.jar
: G:\Borland\AppServer\lib\vbssl.jar
: G:\Borland\AppServer\lib\vbejb.jar
: G:\Borland\AppServer\lib\asrt.jar
: G:\Borland\AppServer\lib\jdsserver.jar
: G:\Borland\AppServer\lib\vbjorb.jar
: G:\Borland\AppServer\lib
: G:\Borland\AppServer\bin
: .
: g:\jdk1.3\lib\tools.jar
=====================
Initializing ORB....java.lang.VerifyError: class org.omg.PortableServer.AdapterActivatorPOA overrides final method ?.?
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.inprise.vbroker.orb.ORB.adapterManager(ORB.java:1101)
at com.inprise.vbroker.ds.DSUser.<init>(DSUser.java:282)
at com.inprise.vbroker.ds.Init.init(Init.java:20)
at com.inprise.vbroker.orb.ORB.installServices(ORB.java:922)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:831)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:950)
at org.omg.CORBA.ORB.init(ORB.java:329)
at com.inprise.j2ee.Init.orb(Init.java:70)
at com.inprise.ejb.Container.init(Container.java:718)
at com.inprise.ejb.Container.run(Container.java:637)
at com.inprise.ejb.Container.run(Container.java:629)
at com.inprise.ejb.Container.run(Container.java:1514)
at com.inprise.ejb.Container.main(Container.java:1519)
The Second Problem is comming when the bean is successfully deployed into the default container and when accessing the Bean, and it is as follows:
G:\Borland\AppServer\examples\ejb\sort>vbj SortClient
Exception in thread "main" javax.naming.CommunicationException: Can't find SerialContextProvider
at com.sun.enterprise.naming.SerialContext.getProvider(../../src/share/com/sun/enterprise/naming/SerialContext.java:65)
at com.sun.enterprise.naming.SerialContext.lookup(../../src/share/com/sun/enterprise/naming/SerialContext.java:134)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at SortClient.main(SortClient.java:51)

GUYS, PLEASE IF YOU HAVE ANY LINKS OR ANY SOLUTIONS, PLEASE SEND IT TO MY MAIL ID, Solution Providers are greatly Appriciated.
Expecting your mails and suggestions,
Regards,
Sai
Matt Midcap
Sheriff

Joined: Jan 07, 1999
Posts: 440
"venkata"
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. And no numbers.
Thanks.

Best Regards,<br />Matt Midcap
Chris Wood
Greenhorn

Joined: Jun 17, 2002
Posts: 1
This seems to be a problem with the sun CORBA classes in rt.jar.It does depend on which version of the JDK you are using - 1.3.1 seems to be OK.
Chris
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problems on Borland App Server4.5 Version