Jython scripts fails from cmd line Error: no domain or domain template...
--------------script---------------
connect('weblogic','welcome1','t3://obi5.mnapps.state.mn.us:7101',adminServerName='AdminServer');
print 'Connecting to Domain ...'
try:
domainCustom()
except:
print 'Already in domainCustom'
cd('..\..')
print 'Go to biee admin domain'
cd('oracle.biee.admin')
print 'Go to coreapplication_obips1 Mbean'
cd('oracle.biee.admin:oracleInstance=EPM91TD,type=BIDomain.BIInstanceDeployment.BIComponent,biInstance=coreapplication,process=coreapplication_obis1,group=Service')
------------script end---------------------
---works fine if it start wlst and type commands
when runing "java weblogic.WLST RestartOBI.py"
-----------------------------output from command line execution--------------------------
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Error: No domain or domain template has been read.
Connecting to Domain ...
You will need to be connected to a running server to execute this command
Go to biee admin domain
Error: No domain or domain template has been read.
Go to coreapplication_obips1 Mbean
Thanks
Also, you must put the parameters of the net use command in the correct order.
C:\>net help localgroup
The syntax of this command is:
NET LOCALGROUP
[groupname [/COMMENT:"text"]] [/DOMAIN]
groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
groupname name [...] {/ADD | /DELETE} [/DOMAIN]
This help information tells you that you put the group name first after the words
net localgroup. As Forest brook pointed out, if the group name contains spaces, you must enclose it in quotes.
After the group name, put the name of the user or group you want to add to (or remove from) the local group. If the user or group name contains spaces, as noted, you must enclose it in quotes. After this group name, put the parameter
/ADD to add to the local group, or put /DELETE to remove.
For example, suppose you want to add the domain group FABRIKAM\Account Operators to the local Administrators group. This is the command you would enter:
C:\> net localgroup Administrators "FABRIKAM\Account Operators" /add
This command adds FABRIKAM\Account Operators to the local Administrators group.
In your specific case, it looks like the command would be:
C:\> net localgroup Administrators "XYZ\Desktop Administrator" /delete
Bill
Similar Messages
-
Error while running ant build script from cmd line -ORABPEL-01005
Hi to all,
I am newbie to BPEL, I did a sample application SyncHelloWorldBPEL application in Jdev and I deployed it application server everything looks good.
When I ran the same ant build script from command line it throw me bunch of complation error.
Anyone please help me out
bpel.init:
[echo]
[echo] --------------------------------------------------------------
[echo] | Intializing BPEL Process....
[echo] --------------------------------------------------------------
[echo]
[echo] ----------------------------------------
[echo] | Loading Dependency Jar Files : C:\Oracle\JDeveloper\integration\lib\orabpel-ant.jar;C:\Oracle\JDeveloper\integration\lib\orabpel.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-thirdparty.jar;C:\Oracle\JDeveloper\integration\lib\oracle_http_client.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-common.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-exts.jar;C:\Oracle\JDeveloper\integration\lib\connector15.jar;C:\Oracle\JDeveloper\integration\lib\commons-codec-1.3.jar;C:\Oracle\JDeveloper\lib\xmlparserv2.jar;C:\Oracle\JDeveloper\lib\xml.jar;C:\Oracle\JDeveloper\webservices\lib\orawsdl.jar
[echo] ----------------------------------------
validateTask:
[echo]
[echo] --------------------------------------------------------------
[echo] | Validating BPEL workflow
[echo] --------------------------------------------------------------
[echo]
[validateTask] Validation of workflow task definitions is completed without errors
compile.bpel:
[echo]
[echo] --------------------------------------------------------------
[echo] | Compiling bpel process SyncHelloWorld, revision 2.0
[echo] | Class Path : C:\Oracle\JDeveloper\integration\lib\orabpel-ant.jar;C:\Oracle\JDeveloper\integration\lib\orabpel.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-thirdparty.jar;C:\Oracle\JDeveloper\integration\lib\oracle_http_client.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-common.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-exts.jar;C:\Oracle\JDeveloper\integration\lib\connector15.jar;C:\Oracle\JDeveloper\integration\lib\commons-codec-1.3.jar;C:\Oracle\JDeveloper\lib\xmlparserv2.jar;C:\Oracle\JDeveloper\lib\xml.jar;C:\Oracle\JDeveloper\webservices\lib\orawsdl.jar
[echo] --------------------------------------------------------------
[echo]
[bpelc] validating "C:\AMG\CI_Project\SyncHelloWorldBPEL\.\bpel\SyncHelloWorld.bpel" ...
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
[bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
[bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
[bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
[bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
[bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
[bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
[bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
[bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
[bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
[bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
[bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
[bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
[bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
[bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
[bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
[bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
[bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
[bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
[bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
[bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
[bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
[bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
[bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
[bpelc] ^
[bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
[bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
[bpelc] ^
[bpelc] Too many errors. (The limit on reported errors is 100.)
[bpelc] 126 errors
[bpelc] ORABPEL-01005
[bpelc]
[bpelc] Failed to compile classes.
[bpelc] Failed to compile the generated BPEL classes for "SyncHelloWorld".
[bpelc] at com.collaxa.cube.lang.compiler.CubeProcessor.compileGeneratedClasses(CubeProcessor.java:972)
[bpelc] at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:572)
[bpelc] at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:457)
[bpelc] at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
[bpelc] at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
[bpelc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[bpelc] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[bpelc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[bpelc] at java.lang.reflect.Method.invoke(Method.java:585)
[bpelc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[bpelc] at org.apache.tools.ant.Task.perform(Task.java:348)
[bpelc] at org.apache.tools.ant.Target.execute(Target.java:357)
[bpelc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[bpelc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[bpelc] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[bpelc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[bpelc] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[bpelc] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[bpelc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[bpelc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
C:\AMG\CI_Project\SyncHelloWorldBPEL\build.xml:127: ORABPEL-01005More precisely its porblem with commons-lang package
I am using commons-lang 2.4.jar file due to this it generated above error.
I reverted it back to earlier version now its working with apache ant 1.7.0 -
Calling this simple servlet from command line -- ERRORS!
Below is my servlet. I call from command line via:
java BatchServlet
and I get:
Exception in thread "main" java.lang.NoClassDefFoundError: BatchServlet
IS there a reason for this
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class BatchServlet extends HttpServlet implements Runnable{
static Thread t = null;
public void init(ServletConfig c) throws ServletException{
super.init(c);
if (t==null){
t = new Thread(this);
t.start();
public void run(){
while (true){
try{
Thread.sleep(5000);
}catch (InterruptedException ie){
ie.printStackTrace();
System.out.println("Wake up");Same error with this little prog.....
Notice main method
package wch.util;
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class test {
public void main(){
System.out.println("test"); -
*Please*, how do i run from cmd line??
I've written a program using swing, on JBuilder6 Personal, and when i run it under JBuilder it runs perfectly. But, how do i run the program from command line? I've tried adding those PATHs and CLASSPATHs but still i can't run the program. I've tried copying the java.exe program to the directory where my classes are, and tried running it from there, but still i had problems. It always says something like "Exception in thread "main", and a lot of other msgs.
Also, i can't find any swing.jar file in my disk. Shouldn't i have it? On some sites people tells you to put the swing directory on your autoexec, but i don't seem find this directory. (Well, having it or not, the program runs *perfectly* under JBuilder, like i said before).
Please, this is driving me crazy, i'm tired of searching on the internet for help with this problem!
Just some extra notes:
- I got Windows 98 SE on my computer
- Here's how i'm trying to run the program: java PainelPrincipal (where "PainelPrincipal" is a .class file and it's got a main method)
I'd appreciate *any* help,
Victor.Here are the error msgs i get:
Exception in thread "main" java.lang.NoClassDefFoundError: PainelPrincipal (wrong name: chat/PainelPrincipal)
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)
... (more +- 6 lines like these...)
These are the msgs i get when i execute:
java PainelPrincipal
and "java.exe" is on the same directory as PainelPrincipal.class and all my other classes.
When i tri to run java.exe not from the same directory where my classes are i get this one line msg error:
Exception in thread "main" java.lang.NoClassDefFoundError: PainelPrincipal
Well, that's it, hope it'll help you to help me.
Victor. -
DBcheck get failed from db13 with error BR0301E SQL error -1031
Hi,
I am executing DBcheck from db13 but it gets failed with error "BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement".
Here is the job logs:
Job started
Step 001 started (program RSDBAJOB, variant &0000000000424, user ID SVKM_BASIS2)
Execute logical command BRCONNECT On host svkmeccdbci
Parameters: -u / -jid CHECK20110930103211 -c -f check
BR0801I BRCONNECT 7.00 (40)
BR0477I Oracle pfile /oracle/SEP/102_64/dbs/initSEP.ora created from spfile /oracle/SEP/102_64/dbs/spfileSEP.ora
BR0805I Start of BRCONNECT processing: cegwudvg.chk 2011-09-30 10.32.12
BR0484I BRCONNECT log file: /oracle/SEP/sapcheck/cegwudvg.chk
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.12
BR0813I Schema owners found in database SEP:
DBSNMP, DIP, OPS$ORASEP, OPS$SAPSERVICESEP, OPS$SEPADM, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
TSMSYS
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.20
BR0814I Number of tables in schema of owner SAPSR3: 77207
BR0836I Number of info cube tables found for owner SAPSR3: 49
BR0814I Number of tables/partitions in schema of owner SYS: 625/189
BR0814I Number of tables/partitions in schema of owner SYSTEM: 134/27
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.29
BR0815I Number of indexes in schema of owner SAPSR3: 92099
BR0815I Number of indexes/partitions in schema ofowner SYS: 678/199
BR0815I Number of indexes/partitions in schema ofowner SYSTEM: 175/32
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0816I Number of segments in schema of owner DBSNMP: 25
BR0816I Number of segments in schema of owner OPS$SEPADM: 1
BR0816I Number of segments in schema of owner OUTLN: 9
BR0816I Number of segments/LOBs in schema of owner SAPSR3: 174072/2383
BR0816I Number of segments/LOBs in schema of owner SYS: 1838/87
BR0816I Number of segments/LOBs in schema of owner SYSTEM: 353/22
BR0816I Number of segments in schema of owner TSMSYS: 4
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0961I Number of conditions found in DBCHECKORA:118
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
'PREPARE stmt_5 STATEMENT FROM'
'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDE
ORA-01031: insufficient privileges
BR0806I End of BRCONNECT processing: cegwudvg.chk2011-09-30 10.32.52
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Please help.
Thanks in advanced.
OceanDear,
Thanks for the reply.
I have checked the note you have mention, but it show it is for SAP Release 6.20 or lower.
we have ECC6 EHP4 release 700.
So, please advise, should i go for that note and perform the required action ?
Thanks. -
Need help compiling external jar files into my one jar file from cmd line
Here is my problem, let me see if I can explain it right:
I am making a jar file on my development computer that will run my java project. In this java project, it references a couple Java3D jar files. On my development computer, I create the jar file and it runs correctly, but when I move that jar file over to the test computer, the parts of the application needing those Java3D jars are not found in my jar I created. I isolated the problem and it is because those Java3D jar files I needed are not on my test machine. But that is the way I need it to be. I need it so that when I compile all my code on the development machine, I need it to also compile those two Java3D files into my one jar that I move to the test machine. You get what I'm saying? I must do all the compiling from the command line and have only one jar file to put on the test machine that contains all my compiled code and the two Java3D files needed to run some of the applications in the project.
Here a brief sample of what I'm doing:
To compile my java files in my project, I simply to this for all my files:
javac file.java
javac file2.java... and so on for all my java files.
Then I create my jar file:
jar -cfm MyJar.jar manifest.mf file.class
jar -fmu MyJar.jar manifest.mf file2.class... and so on for all my class files.
Also when compiling my jar file, I do this thinking that it would include the two Java3D jars into my one jar file:
jar -fmu MyJar.jar manifest.mf jars/j3d-org-images.jar
jar -fmu MyJar.jar manifest.mf jars/j3d-org.jar
My manifest file looks something like this:
Manifest-Version: 1.0
Main-Class: Main
Class-Path: jars/j3d-org.jar jars/j3d-org-images.jar
Do I have to have that Class-Path in there pointing to those jar files? Those jar files will not exist on my test machine because the directory structure will not be the same. I've tried a manifest without specifying my Class-Path to those jar files, but I get the same problem when I run my application on the part that needs the Java3D files.
The error I am getting is that there is a RasterTextLabel class inside one of those Java3D jar files that my application cannot access because those jar files are not on my test machine.
So basically what I really need to know is how I get those two Java3D jar files compiled into my one jar file that I move to a test machine and run with the following command:
java -jar MyJar.jar
Can anyone help me??
Thanks.Here what you need is to have all the files present in a single jar file, and the classpath is set properly to the required jar files.
Do the following in steps:
1)
Create a custom manifest file,say mymanifest.mf, with the following contenets, put it in current directory:
Manifest-Version: 1.0
Created-By: 1.4.0_01 (Sun Microsystems Inc.)
main-Class: Main
Class-Path: jars/j3d-org.jar jars/j3d-org-images.jar <press ENTER key>
2)
jar -cfm MyJar.jar manifest.mf file.class
jar -fmu MyJar.jar manifest.mf file2.class... and so on for all class files.
3)
jar -fmu MyJar.jar manifest.mf jars/j3d-org.jar
jar -fmu MyJar.jar manifest.mf jars/j3d-org-images.jar
(Make sure that j3d-org-images.jar and j3d-org.jar are present in a subdirectory called 'jars')
Now you would be able to run,
java -jar myjar.jar -
Invoking main method from cmd line (deployed as web app)
I have a application deployed as a web application (war file).
I want to create a regular java class with main method so that main can invoked
on a command line.
The main method wishes to share resources (DB connection pool etc) with the rest
of the web application.
Is it possible ? and how to invoke the main method inside the war(not jar) ?Hi,
if you deployed this to OC4J, open EM
http://server:port/em
and get to the Web service. You can execute it from here to see if generally this is working, or if you have a proxy problem only
Frank -
Stopping, Refreshing deployments, Re-starting managed server from cmd line
I'm trying to put together an automatic redeployment batch script that will basically stop my managed weblogic 9 server, delete the deployed on the file system, move new ones in there (with the same names and structure), tell weblogic to refresh and pickup the changes, and restart it.
Does anyone have a script that can do this or something similar?Jared Blitz <> wrote:
I'm trying to put together an automatic redeployment batch script that
will basically stop my managed weblogic 9 server, delete the deployed on
the file system, move new ones in there (with the same names and
structure), tell weblogic to refresh and pickup the changes, and restart
it.
Does anyone have a script that can do this or something similar?Which operating system?
Bart
Schelstraete Bart
[email protected]
http://www.schelstraete.org -
Can "netca" delete and remove a listener from a cluster from cmd line?
We are trying to automate the shutdown, deletion and removal of a clustered listener. To date all we have been able to do is to remove it with "netca" interactively.
Does anyone know if "netca" can use a response file or some other method to programatically remove a listener and remove it from the cluster?oes anyone know if "netca" can use a response file or some other method to programatically remove a listener and remove it from the cluster? I am not sure, but this is the way we followed to un-register the Listener from the cluster, and create a new one!
1) Ensure Nodeapps is stopped on all Nodes
2) Use the crs_unregister to remove all Listener Entries =
crs_unregister ora.acmord1p.LISTENER_DBPROD_ORD1P.lsnr
crs_unregister ora.acmord2p.LISTENER_DBPROD_ORD2P.lsnr
The below command should not reflect any entry for Listener after "crs_unregister"
command. ==
$ srvctl config listener -n aXXXXXX2p
$ srvctl config listener -n aXXXXXX1p
$ crs_stat -v
3) Once the Listener entries are removed, invoke NETCA to configure the Listeners
4) Start the Nodeapps on all Nodes
Check the new Listener status.
$ srvctl config listener -n aXXXXX2p
$ srvctl config listener -n aXXXXX1p
$ crs_stat -v << This should show LISTENER ONLINE >> -
I have a SEND TO set up in win7pro 64bit. This works fine for Photoshop css 5, but with Elements 11. the editor starts but the image is not loaded.
OPEN WITH works fine.
What do I need to do do to correct this?
CharlieEnsure you are pointing to the application and not a shortcut.
-
Running ant build scripts from cmd fails on Windows Server
Hi all!
I'm trying to build and package ME on a Windows Server calling the ant build script targets from cmd. This works fine on a Windows XP machine. On a Windows Server machine however the ant internal calls to nwcetool.bat are failing because -files are not found in DEPLOYARCHIVES. And these files are really not there although they should have been created by nwcetool.
Does anyone have a clue why calling ant build script in cmd on a Windows XP machine will work but fails on Window Server?
Thanks a lot!And this is part 2 :
package.sca.impl:
delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\package.sca
mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca
mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES
mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES
delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\create.application.xml
mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\create.application.xml
echo 2011-04-07 09:33:45 Creating application descriptor.
xslt Processing C:\SAP\SAPME\SDK\extension\META-INF\application.xml to C:\SAP\SAPME\SDK\build\results\server\create.application.xml\application.xml
xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\create-application-xml.xslt
xslt ejbModule=
xslt webModule=salt-webservice
copy Copying 1 file to C:\SAP\SAPME\SDK\extension\META-INF
delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
echo 2011-04-07 09:33:45 Merging application descriptor "C:\SAP\SAPME\SDK\extension\META-INF/application.xml" with "C:\SAP\SAPME\SDK\build\results\server\master\resources\xml/application.xml".
xslt Processing C:\SAP\SAPME\SDK\build\results\server\master\resources\xml\application.xml to C:\SAP\SAPME\SDK\build\results\server\merge.application.xml\merged.xml
xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\jee-application-merge.xslt
xslt jee-application-merge: file to merge is C:\SAP\SAPME\SDK\extension\META-INF/application.xml
xslt jee-application-merge: checking for module conflicts...
xslt jee-application-merge: Base EJBs=me.activity.ejb-5.2.5.3-Base.jar m
e.alarm.ejb-5.2.5.3-Base.jar me.appconfig.ejb-5.2.5.3-Base.jar me.backgroundproc
ess.ejb-5.2.5.3-Base.jar me.browse.ejb-5.2.5.3-Base.jar me.common.frame.ejb-5.2.
5.3-Base.jar me.container.ejb-5.2.5.3-Base.jar me.correctiveaction.ejb-5.2.5.3-B
ase.jar me.customdata.ejb-5.2.5.3-Base.jar me.datacollection.ejb-5.2.5.3-Base.ja
r me.dbsequence.ejb-5.2.5.3-Base.jar me.defaultvalue.ejb-5.2.5.3-Base.jar me.dem
and.ejb-5.2.5.3-Base.jar me.integration.xml.ejb-5.2.5.3-Base.jar me.inventory.ej
b-5.2.5.3-Base.jar me.nonconformance.ejb-5.2.5.3-Base.jar me.productdefinition.e
jb-5.2.5.3-Base.jar me.production.ejb-5.2.5.3-Base.jar me.status.ejb-5.2.5.3-Bas
e.jar me.numbering.ejb-5.2.5.3-Base.jar me.diagnostics.ejb-5.2.5.3-Base.jar me.d
ocument.ejb-5.2.5.3-Base.jar me.httpserver.ejb-5.2.5.3-Base.jar me.integration.c
nc.ejb-5.2.5.3-Base.jar me.integration.collaboration.ejb-5.2.5.3-Base.jar me.int
egration.sap.ejb-5.2.5.3-Base.jar me.labor.ejb-5.2.5.3-Base.jar me.user.ejb-5.2.
5.3-Base.jar me.ods.ejb-5.2.5.3-Base.jar me.plant.ejb-5.2.5.3-Base.jar me.produc
tiondate.ejb-5.2.5.3-Base.jar me.reasoncode.ejb-5.2.5.3-Base.jar me.reporting.ej
b-5.2.5.3-Base.jar me.rtw.ejb-5.2.5.3-Base.jar me.script.ejb-5.2.5.3-Base.jar me
.security.ejb-5.2.5.3-Base.jar me.solutionverification.ejb-5.2.5.3-Base.jar me.t
imegranularity.ejb-5.2.5.3-Base.jar me.tooling.ejb-5.2.5.3-Base.jar
xslt jee-application-merge: SSP EJBs=
copy Copying 1 file to C:\SAP\SAPME\SDK\build\results\server\sda\META-INF
copy Copying 163 files to C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
jar Building jar: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES\me.ear
echo 2011-04-07 09:33:45 nwce.tool=C:\SAP\SAPME\SDK\build\tools\ceclt\nwcetool\nwcetool.bat, nwce.tool.lib=C:\SAP\SAPME\SDK\build\tools\ceclt\lib, CECLT JDK=C:Program Files (x86)Javajdk1.5.0_22
echo 2011-04-07 09:33:45 Executing CECLT with the following arguments:
-c "createsda -n me/ear -v sap.com -l local -type J2EE -counter 5.2.5.3.330 -scn
ME -scv sap.com -deps sap.com:me/security/loginmodule BUILDARCHIVES\me.ear DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base" -e
exec The filename, directory name, or volume label syntax is incorrect.
exec Result: 1
BUILD FAILED
C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1665: The following error occurred while executing this line:
C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1723: Warning: Could not find file C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base.ear to copy. -
Need a sample file for IDQ parameter file and a Shell script to execute it from command line
Hello,The parameter file itself is generated from cmd line using infacmd command and it automatically creates the parameters inside it based on the parameters created inside the mapping and the workflow. So, even if one provides you a paramtere file for IDQ, it might fail as your workflow definition and its paramters would be different. Thanks,K
Hi all My project migrated from Power Center to IDQ developer and I had to move all my mappings to IDQ developer. I was able to migrate everything except for the parameter files. It seems that the layout and syntax for parameter file is different from Power Center. Is there anyone who can help me out or send me a sample of a parameter file for IDQ? As well as a sample shell script to run the mapping or application from the Command line.This is an urgent need and It will be greatly appreciated. ThanksNaveen Medisetti
-
Execution of perl based script failed on Windows
Hi!
is there anything special I should do on Windows to be able to execute perl script?
The problem is that by default %perl_bin% variable is extended to a value without slashes... When I'm executing the same script manually from cmd.exe everything is as expected.
Thanks,
Ryszard
------ Script being executed on Windows based Agent:
echo hello!
echo %perlbin%
set
------ output (with removed non relevant lines):
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
D:\oem\agent_base\agent_inst\sysman\emd>echo hello!
hello!
D:\oem\agent_base\agent_inst\sysman\emd>echo D:oemagent_basecore12.1.0.2.0perlbin
D:oemagent_basecore12.1.0.2.0perlbin
D:\oem\agent_base\agent_inst\sysman\emd>set
AGENT_SERVICE_NAME=Oracleagent12c1Agent
EMAGENT_DHTML_PORT=54000
EMAGENT_PERL_TRACE_FILESIZE=5
EMAGENT_PERL_TRACE_LEVEL=2
EMDROOT=D:\oem\agent_base\core\12.1.0.2.0
EMHOME=D:\oem\agent_base\agent_inst
EMPERLOHBIN=\perl\bin
EMPERLVER=5.10.0.0.0
EMPRODVER=11.1.0.1.0
EMSTATE=D:\oem\agent_base\agent_inst
SBINDIR=D:\oem\agent_base\sbin
PERL5LIB=D:\oem\agent_base\core\12.1.0.2.0\\perl\bin;D:\oem\agent_base\core\12.1.0.2.0\perl\lib;D:\oem\agent_base\core\12.1.0.2.0\perl\lib\site_perl;D:\oem\agent_base\core\12.1.0.2.0\perl\site\lib;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts\Net-DNS-0.48\lib;D:\oem\agent_base\core\12.1.0.2.0\bin;D:\oem\agent_base\core\12.1.0.2.0\bin;D:\oem\agent_base\core\12.1.0.2.0\sysman\admin\scripts\libnet-1.19
PERL_BIN=D:\oem\agent_base\core\12.1.0.2.0\\perl\bin
PERL_HOME=D:\oem\agent_base\core\12.1.0.2.0\perlCheck out MOS note 1515609.1.
Regards,
- Loc -
CodedUI script fails in MTM will pass in VSTS
Coded UI scripts fail when running on agent Machine but passes when running on Local System. Need help to identify the root cause
Hi yellesh,
Based on your issue, please you provide the detail error message and the Test Run log to me after you run coded UI test script fail from MTM.
I suggest you could refer the following MSDN document to check about how to run a automated test case from MTM.
https://msdn.microsoft.com/en-us/library/dd380741.aspx
Since I know that when MTM run the Coded UI test on test agent machine, the test agents are set up in the lab environment. Please do not lock or have an active screen saver on the test agent. For more information, you can refer to
http://msdn.microsoft.com/en-us/library/ee291332.aspx
Therefore, please you refer the above document to check if you set up your agent to run as a process instead of a service.
If the above suggestion could not help you, please share me more message about your issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Wlst obiee restart .py script errors when cmd line; ok if type cmds
I pulled the scripts that are posted at http://obiee101.blogspot.com/2011/08/obiee-wlst-useful-scripts.html to automate some admin tasks. I downloaded and installed the zip version of wl s106_dev on my desktop. When I start wlst from command line and type commands they work just fine. When I try to run them from the cmd line as "java weblogic.WLST RestartOBI.py" I get error message shown below...???
Thanks
------------script start---------------------
connect('weblogic','welcome1','t3://obi5.mnapps.state.mn.us:7101',adminServerName='AdminServer');
print 'Connecting to Domain ...'
try:
domainCustom()
except:
print 'Already in domainCustom'
cd('..\..')
print 'Go to biee admin domain'
cd('oracle.biee.admin')
print 'Go to coreapplication_obips1 Mbean'
cd('oracle.biee.admin:oracleInstance=EPM91TD,type=BIDomain.BIInstanceDeployment.BIComponent,biInstance=coreapplication,process=coreapplication_obis1,group=Service')
------------script end---------------------
---works fine if it start wlst and type commands
when runing "java weblogic.WLST RestartOBI.py"
-----------------------------output from command line execution--------------------------
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Error: No domain or domain template has been read.
Connecting to Domain ...
You will need to be connected to a running server to execute this command
Go to biee admin domain
Error: No domain or domain template has been read.
Go to coreapplication_obips1 Mbean
ThanksFinally found a solution: removing the import of the wlstModule and calling the wlst commands directly works.
When using the wlstModule, I was in the wrong namespace, where there was no theInterpreter.
Maybe you are looking for
-
File content conversion only 100 characters read from source..
Hi, In my case I have a sender channel with file content conversion set as follows; Recordset structure : Record, 1 sequence: ascending Key field type : String (case sensitive) record.fieldseparator : 'nl' record.fieldnames : Data ignorerecordsetname
-
FireWire Audio/MIDI interface suggestions
Hi there, I'm looking to purchase a firewire external audio and MIDI interface but am having trouble finding what I need. I only need stereo audio in and out (much like the Apogee Duet), as well as a MIDI interface. The interfaces I've seen around se
-
{Edited per forum guidelines} Need assistance NOW
Best Buy I am appalled by the lack of empowerment your associates are given. After an hour of being told "no" by your in-store associates about a replacement phone which was approved for junk out replacement, I now have to deal with the product being
-
Concept of Value & Factors of Feasibility..
Hello, I need to choose the right answer for each of these. 1. In the sales process, the concept of value enters the process u2026 (only one answer is right i believe) when you deliver your Value Proposition. when you have proven the value during the
-
Illustrator won't download to a second PC
I have Illustrator CC on my home PC. I cannot get it to download to my work PC. I have tried all of the help suggestions. Removed all traces of anything Adobe and started over....twice. What happens when I try is it opens create cloud desktop and