首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

关于在bes 6.5 版本下,发表一个连接数据库的jndi的有关问题,请帮忙!谢谢

2012-01-19 
关于在bes 6.5 版本下,发表一个连接数据库的jndi的问题,请大虾帮忙!!急,多谢!在bes6.5版本下,发表一个连接

关于在bes 6.5 版本下,发表一个连接数据库的jndi的问题,请大虾帮忙!!急,多谢!
在bes   6.5   版本下,发表一个连接数据库的jndi的问题,启动partition的时候报错,启动错误如下
2007-07-12   15:17:15,136   INFO       -   Starting   service   HTTP

2007-07-12   15:17:15,140   INFO       -   Apache   Tomcat/4.1

2007-07-12   15:17:15,219   INFO       -   Starting   Coyote   HTTP/1.1   on   port   8085

2007-07-12   15:17:15,219   INFO       -   Starting   service   IIOP

2007-07-12   15:17:15,219   INFO       -   Apache   Tomcat/4.1

2007-07-12   15:17:15,219   INFO       -   UserRealm[IIOP]:   Warning:   Could   not   start   BSSRealm.   Is   the   partition   security   enabled?

2007-07-12   15:17:44,824   INFO       -   Service   tomcat4   started

2007-07-12   15:17:44,825   INFO       -   Loading   all   J2EE   modules...

2007-07-12   15:17:45,720   INFO       -   Verified   module   default-resources.dar:   0   errors,   0   warnings.

2007-07-12   15:17:45,850   INFO       -   Loading   J2EE   module   default-resources.dar...

2007-07-12   15:18:35,403   ERROR     -   Failed   to   load   jndi   definitions   from   "/askf/bes/BDP65/var/domains/base/configurations/boss/mos/standard/dars/default-resources.dar "  

org.omg.CORBA.OBJECT_NOT_EXIST:       vmcid:   0x0     minor   code:   0     completed:   No

                at   sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native   Method)

                at   sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)

                at   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)

                at   java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled   Code))

                at   java.lang.Class.newInstance3(Class.java:367)

                at   java.lang.Class.newInstance(Class.java:305)

                at   com.inprise.vbroker.orb.SE.read(SE.java:28)

                at   com.inprise.vbroker.orb.DelegateImpl.handleReply(DelegateImpl.java:936)

                at   com.inprise.vbroker.orb.DelegateImpl.invoke(DelegateImpl.java:813)

                at   org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:486)

                at   org.omg.CosNaming._NamingContextExtStub.unbind(_NamingContextExtStub.java:449)

                at   com.sun.jndi.cosnaming.CNCtx.callUnbind(CNCtx.java:727)

                at   com.sun.jndi.cosnaming.CNCtx.unbind(CNCtx.java:783)


                at   javax.naming.InitialContext.unbind(InitialContext.java:389)

                at   javax.naming.InitialContext.unbind(InitialContext.java:389)

                at   com.inprise.j2ee.utils.JndiUtils.putJavaObjectUnderCosNaming(JndiUtils.java:806)

                at   com.inprise.j2ee.utils.JndiUtils.rebindObject(JndiUtils.java:189)

                at   com.inprise.j2ee.jndi.Deployer.bindAllInJndi(Deployer.java:220)

                at   com.inprise.j2ee.jndi.Deployer.deployAll(Deployer.java:301)

                at   com.inprise.j2ee.jndi.JndiPartitionService.deployJndiModule(JndiPartitionService.java:167)

                at   com.inprise.j2ee.jndi.JndiPartitionService.load(JndiPartitionService.java:151)

                at   com.borland.enterprise.server.services.naming.NamingService.load(NamingService.java:255)

                at   com.sun.server.ServiceManager.loadModule(ServiceManager.java:1684)

                at   com.borland.enterprise.server.PartitionModules.loadAll(PartitionModules.java:156)

                at   com.sun.server.ServiceManager.autostartAllModules(ServiceManager.java:1647)

                at   com.sun.server.ServiceManager.autoStartServices(ServiceManager.java:784)

                at   com.sun.server.ServiceManager.startPartitionServices(ServiceManager.java:628)

                at   com.borland.enterprise.server.PartitionServer.run(PartitionServer.java:467)

                at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)

                at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

                at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

                at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

                at   java.lang.reflect.Method.invoke(Method.java:391)

                at   com.borland.enterprise.server.Partition.main(Partition.java:194)

2007-07-12   15:18:35,410   INFO       -   Undoing   effects   of   a   partial   deployment   ...

2007-07-12   15:18:35,411   ERROR     -   Load   of   J2EE   module   /askf/bes/BDP65/var/domains/base/configurations/boss/mos/standard/dars/default-resources.dar   to   service   visinaming   failed:   com.borland.enterprise.server.partition.service.DeploymentException:   Failed   to   deploy   jndi   definitions   from     "/askf/bes/BDP65/var/domains/base/configurations/boss/mos/standard/dars/default-resources.dar ".   Please   look   at   the   error   log   for   details....



com.borland.enterprise.server.partition.service.DeploymentException:   Failed   to   deploy   jndi   definitions   from     "/askf/bes/BDP65/var/domains/base/configurations/boss/mos/standard/dars/default-resources.dar ".   Please   look   at   the   error   log   for   details...

                at   com.inprise.j2ee.jndi.JndiPartitionService.deployJndiModule(JndiPartitionService.java:187)

                at   com.inprise.j2ee.jndi.JndiPartitionService.load(JndiPartitionService.java:151)

                at   com.borland.enterprise.server.services.naming.NamingService.load(NamingService.java:255)

                at   com.sun.server.ServiceManager.loadModule(ServiceManager.java:1684)

                at   com.borland.enterprise.server.PartitionModules.loadAll(PartitionModules.java:156)

                at   com.sun.server.ServiceManager.autostartAllModules(ServiceManager.java:1647)

                at   com.sun.server.ServiceManager.autoStartServices(ServiceManager.java:784)

                at   com.sun.server.ServiceManager.startPartitionServices(ServiceManager.java:628)

                at   com.borland.enterprise.server.PartitionServer.run(PartitionServer.java:467)

                at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)

                at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

                at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

                at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

                at   java.lang.reflect.Method.invoke(Method.java:391)

                at   com.borland.enterprise.server.Partition.main(Partition.java:194)

2007-07-12   15:18:35,412   INFO       -   Loaded   all   J2EE   modules.

2007-07-12   15:18:35,412   INFO       -   Partition   [standard]   started

jndi是新建一个partiton的时候自动添加的也启动不了,怀疑是bes环境的问题!
我换了一个机子就可以了,请问各位大虾是怎么回事?


[解决办法]
求助!求助!

热点排行