在jbuilder2005中编译EJB时提示 "xx.jar": Spaces in the temporary directory path may caus

J2EE 码拜 9年前 (2015-05-11) 655次浏览 0个评论
 

在jbuilder2005中编译EJB时提示
“xx.jar”: Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.
是什么意思?
怎么才能解决. 
后来我想发布一下,结果出错了
Unable to connect to server t3://idcwest-007:7001 as user root.
 Reason: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://idcwest-007:7001: Destination unreachable; nested exception is: 
java.net.ConnectException: Connection refused: connect; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:47)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:618)

 Check option -adminurl, -username and -password.

请大侠们全为一帮,谢谢!

classpath,java 等路径中有空格…
后来我改了下 weblogic-ejb-jar.xml
本来是这样
   <weblogic-enterprise-bean>
    <ejb-name>UserManager</ejb-name>
    <local-jndi-name>UserManagerLocal</local-jndi-name>
  </weblogic-enterprise-bean>
后来我发现我的程序里用的JNDI_UserManagerLocal,于是就改成了这样
    <local-jndi-name>JNDI_UserManagerLocal</local-jndi-name>
再后来,我发布了一下, 在web  console中测试一下它告诉我说
“未成功测试 EJB UserManager。确定给定 Bean 的 JNDI 名称时出现问题。 ”
这是怎么回事
服务器还没启动吧。
启动了!
发布的问题还需要自己调一下,第一个问题是因为你的Windows临时目录的路径中有空格
把系统的TEMP环境变脸修改为不带空格的就可以了!
Windows临时目录的路径中有空格,

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明在jbuilder2005中编译EJB时提示 "xx.jar": Spaces in the temporary directory path may caus
喜欢 (0)
[1034331897@qq.com]
分享 (0)

文章评论已关闭!