Chinaunix首页 | 论坛 | 博客
  • 博客访问: 359397
  • 博文数量: 157
  • 博客积分: 3001
  • 博客等级: 中校
  • 技术积分: 1330
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-06 13:47
文章分类

全部博文(157)

文章存档

2011年(1)

2010年(28)

2009年(124)

2008年(4)

我的朋友

分类: WINDOWS

2009-06-25 16:44:43

    命令行没有问题,但是Jdeveloper编译时却出现问题:
1、在JDeveloper下出现错误。
Buildfile: D:\jdevstudio10134\jdev\mywork\AsyncLoanService\StarLoan\build.xml
     [java] Java Result: 1
validateTask:
     [echo]
--------------------------------------------------------------
| Validating workflow
--------------------------------------------------------------
       
[validateTask] url is file:/D:/jdevstudio10134/integration/bpm/support/files/WorkflowTaskDefinition.xsd
[validateTask] 工作流任务定义的验证已完成, 无错误
deployProcess:
     [echo]
--------------------------------------------------------------
| Deploying bpel process StarLoan on Ailsa-cn.cn.oracle.com, port 7777
--------------------------------------------------------------
       
[deployProcess] Deploying process D:\jdevstudio10134\jdev\mywork\AsyncLoanService\StarLoan\output\bpel_StarLoan_1.0.jar
[deployProcess] 已成功在服务器 "Ailsa-cn.cn.oracle.com" 和端口 "7777" 上部署流程 "StarLoan"
deployTaskForm:
     [echo]
--------------------------------------------------------------
| Deploying workflow form for StarLoan on Ailsa-cn.cn.oracle.com, port 7777
--------------------------------------------------------------
       
[deployTaskForm] 09/06/16 13:57:18 Notification ==>default_StarLoan_1_0_LoanApproval 的 Application Deployer 开始。
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:18 Notification ==>取消以前的部署
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:18 Notification ==>初始化 D:\product\10.1.3.1\OracleAS_2\j2ee\oc4j_soa\applications\default_StarLoan_1_0_LoanApproval.ear 开始...
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>初始化 D:\product\10.1.3.1\OracleAS_2\j2ee\oc4j_soa\applications\default_StarLoan_1_0_LoanApproval.ear 结束...
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>启动应用程序: default_StarLoan_1_0_LoanApproval
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>初始化类加载程序
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>初始化 EJBSS 容器
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>加载连接器
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>启动资源适配器
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>初始化 EJB 会话
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>提交类加载程序
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>初始化 workflowform 开始...
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>初始化 workflowform 结束...
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>已启动的应用程序: default_StarLoan_1_0_LoanApproval
[deployTaskForm]
[deployTaskForm] 09/06/16 13:57:19 Notification ==>default_StarLoan_1_0_LoanApproval 的 Application Deployer 完成。操作时间: 329 msecs
[deployTaskForm]
[deployTaskForm]
[deployTaskForm] BindWebApp 错误: javax.management.ReflectionException
[deployTaskForm]
BUILD FAILED
D:\jdevstudio10134\jdev\mywork\AsyncLoanService\StarLoan\build.xml:98: 在服务器 "Ailsa-cn.cn.oracle.com" 上部署表单时出错  Error message :
java.lang.SecurityException
 at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
 at java.lang.Runtime.exit(Runtime.java:88)
 at java.lang.System.exit(System.java:868)
 at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
 at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:818)
 at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
 at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
 at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:341)
 at org.apache.tools.ant.Target.performTasks(Target.java:369)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
 at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
 at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
 at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
 at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)

Total time: 21 seconds

2、在命令行下能够执行的操作
D:\product\10.1.3.1\OracleAS_2\bpel\samples\utils\AsyncLoanService\StarLoan>CD D
:\jdevstudio10134\jdev\mywork\AsyncLoanService\StarLoan
D:\jdevstudio10134\jdev\mywork\AsyncLoanService\StarLoan>ANT
Buildfile: build.xml
Trying to override old definition of task customize
pre-build:
validateTask:
     [echo]
     [echo] --------------------------------------------------------------
     [echo] | Validating workflow
     [echo] --------------------------------------------------------------
     [echo]
[validateTask] url is file:/D:/product/10.1.3.1/OracleAS_2/bpel/system/services/
schema/WorkflowTaskDefinition.xsd
[validateTask] 工作流任务定义的验证已完成, 无错误
compile:
     [echo]
     [echo] --------------------------------------------------------------
     [echo] | Compiling bpel process StarLoan, revision 1.0
     [echo] --------------------------------------------------------------
     [echo]
    [bpelc] 正在验证 "D:\jdevstudio10134\jdev\mywork\AsyncLoanService\StarLoan\b
pel\StarLoan.bpel" ...
    [bpelc] BPEL suitcase generated in: D:\jdevstudio10134\jdev\mywork\AsyncLoan
Service\StarLoan\output\bpel_StarLoan_1.0.jar
deployProcess:
     [echo]
     [echo] --------------------------------------------------------------
     [echo] | Deploying bpel process StarLoan on Ailsa-cn.cn.oracle.com, port 77
77
     [echo] --------------------------------------------------------------
     [echo]
[deployProcess] Deploying process D:\jdevstudio10134\jdev\mywork\AsyncLoanServic
e\StarLoan\output\bpel_StarLoan_1.0.jar
[deployProcess] 已成功在服务器 "Ailsa-cn.cn.oracle.com" 和端口 "7777" 上部署流程
 "StarLoan"
deployTaskForm:
     [echo]
     [echo] --------------------------------------------------------------
     [echo] | Deploying workflow form for StarLoan on Ailsa-cn, port 7777
     [echo] --------------------------------------------------------------
     [echo]
[deployTaskForm] 09/06/16 16:27:08 Notification ==>default_StarLoan_1_0_LoanAppr
oval 的 Application Deployer 开始。
[deployTaskForm] 09/06/16 16:27:08 Notification ==>取消以前的部署
[deployTaskForm] 09/06/16 16:27:08 Notification ==>初始化 D:\product\10.1.3.1\Or
acleAS_2\j2ee\oc4j_soa\applications\default_StarLoan_1_0_LoanApproval.ear 开始..
.
[deployTaskForm] 09/06/16 16:27:08 Notification ==>初始化 D:\product\10.1.3.1\Or
acleAS_2\j2ee\oc4j_soa\applications\default_StarLoan_1_0_LoanApproval.ear 结束..
.
[deployTaskForm] 09/06/16 16:27:08 Notification ==>启动应用程序: default_StarLoa
n_1_0_LoanApproval
[deployTaskForm] 09/06/16 16:27:08 Notification ==>初始化类加载程序
[deployTaskForm] 09/06/16 16:27:08 Notification ==>初始化 EJB 容器
[deployTaskForm] 09/06/16 16:27:08 Notification ==>加载连接器
[deployTaskForm] 09/06/16 16:27:08 Notification ==>启动资源适配器
[deployTaskForm] 09/06/16 16:27:08 Notification ==>初始化 EJB 会话
[deployTaskForm] 09/06/16 16:27:08 Notification ==>提交类加载程序
[deployTaskForm] 09/06/16 16:27:08 Notification ==>初始化 workflowform 开始...
[deployTaskForm] 09/06/16 16:27:08 Notification ==>初始化 workflowform 结束...
[deployTaskForm] 09/06/16 16:27:08 Notification ==>已启动的应用程序: default_Sta
rLoan_1_0_LoanApproval
[deployTaskForm] 09/06/16 16:27:09 Notification ==>default_StarLoan_1_0_LoanAppr
oval 的 Application Deployer 完成。操作时间: 657 msecs
[deployTaskForm] 已成功在服务器 "Ailsa-cn" 上部署表单
deployDecisionServices:
     [echo]
     [echo] --------------------------------------------------------------
     [echo] | Deploying decision services for StarLoan on Ailsa-cn, port 7777
     [echo] --------------------------------------------------------------
     [echo]
[deployDecisionServices] 没有要部署的决策服务
process-deploy:
post-build:
deploy:
BUILD SUCCESSFUL
Total time: 25 seconds
D:\jdevstudio10134\jdev\mywork\AsyncLoanService\StarLoan>
 
阅读(1413) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~