Creating thread : error
Hi
class NewThread implements runnable {
Thread t;
NewThread(){
t = new Thread(this, "Demo Thread");
System.out.println("Child Thread:" + t);
t.start();
public void run(){
try{
for(int i =5; i>0; i--){
System.out.println("Child Thread:" + i);
Thread.sleep(500);
catch(InterupptedException e) {
System.out.println("Child interuppted.");
System.out.println("Exiting child Thread);
class ThreadDemo{
new NewThread();
try{
for(i=5; i>0; i--) {
System.out.println("Main Thread:" + i);
Thread.sleep(1000);
}catch(InterupptedException e) {
Sytem.out.println("Main thread interuppted.");
System.out.println("Main thread exiting.");
I AM GETTING THIS ERROR IN COMMAND PROMPT
c:\java>javac ThreadDemo.java
ThreadDemo.java:9: illegal start of expression
public void run(){
^
ThreadDemo.java:9: illegal start of expression
public void run(){
^
ThreadDemo.java:9: ';' expected
public void run(){
^
ThreadDemo.java:15: 'catch' without 'try'
catch(InterupptedException e) {
^
ThreadDemo.java:15: ')' expected
catch(InterupptedException e) {
^
ThreadDemo.java:15: not a statement
catch(InterupptedException e) {
^
ThreadDemo.java:15: ';' expected
catch(InterupptedException e) {
^
ThreadDemo.java:18: unclosed string literal
System.out.println("Exiting child Thread);
^
ThreadDemo.java:18: ';' expected
System.out.println("Exiting child Thread);
^
ThreadDemo.java:10: 'try' without 'catch' or 'finally'
try{
^
ThreadDemo.java:23: illegal start of type
new NewThread();
^
ThreadDemo.java:23: ';' expected
new NewThread();
^
ThreadDemo.java:23: illegal start of type
new NewThread();
^
ThreadDemo.java:23: <identifier> expected
new NewThread();
^
ThreadDemo.java:24: illegal start of type
try{
^
ThreadDemo.java:24: ';' expected
try{
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: ';' expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: ';' expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: ';' expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:26: <identifier> expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: illegal start of type
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: ')' expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: ';' expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: illegal start of type
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: <identifier> expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: ';' expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:27: illegal start of type
Thread.sleep(1000);
^
ThreadDemo.java:27: illegal start of type
Thread.sleep(1000);
^
ThreadDemo.java:29: 'catch' without 'try'
}catch(InterupptedException e) {
^
ThreadDemo.java:29: ')' expected
}catch(InterupptedException e) {
^
ThreadDemo.java:29: not a statement
}catch(InterupptedException e) {
^
ThreadDemo.java:29: ';' expected
}catch(InterupptedException e) {
^
41 errors
c:\java>javac ThreadDemo.java
ThreadDemo.java:9: illegal start of expression
public void run(){
^
ThreadDemo.java:9: illegal start of expression
public void run(){
^
ThreadDemo.java:9: ';' expected
public void run(){
^
ThreadDemo.java:15: 'catch' without 'try'
catch(InterupptedException e) {
^
ThreadDemo.java:15: ')' expected
catch(InterupptedException e) {
^
ThreadDemo.java:15: not a statement
catch(InterupptedException e) {
^
ThreadDemo.java:15: ';' expected
catch(InterupptedException e) {
^
ThreadDemo.java:18: unclosed string literal
System.out.println("Exiting child Thread);
^
ThreadDemo.java:18: ';' expected
System.out.println("Exiting child Thread);
^
ThreadDemo.java:10: 'try' without 'catch' or 'finally'
try{
^
ThreadDemo.java:23: illegal start of type
new NewThread();
^
ThreadDemo.java:23: ';' expected
new NewThread();
^
ThreadDemo.java:23: illegal start of type
new NewThread();
^
ThreadDemo.java:23: <identifier> expected
new NewThread();
^
ThreadDemo.java:24: illegal start of type
try{
^
ThreadDemo.java:24: ';' expected
try{
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: ';' expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: ';' expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: illegal start of type
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: <identifier> expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:25: ';' expected
for(i=5; i>0; i--) {
^
ThreadDemo.java:26: <identifier> expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: illegal start of type
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: ')' expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: ';' expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: illegal start of type
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: <identifier> expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:26: ';' expected
System.out.println("Main Thread:" + i);
^
ThreadDemo.java:27: illegal start of type
Thread.sleep(1000);
^
ThreadDemo.java:27: illegal start of type
Thread.sleep(1000);
^
ThreadDemo.java:29: 'catch' without 'try'
}catch(InterupptedException e) {
^
ThreadDemo.java:29: ')' expected
}catch(InterupptedException e) {
^
ThreadDemo.java:29: not a statement
}catch(InterupptedException e) {
^
ThreadDemo.java:29: ';' expected
}catch(InterupptedException e) {
^
41 errors
c:\java>
Can you please tell me where i am wrong.
Regards,
Neha
NehaVerma wrote:
Hi,
See i am getting this error when i try to run the same program that you wrote after corrections
c:\java>javac ThreadDemo.java
c:\java>java ThreadDemo
Exception in thread "main" java.lang.NoClassDefFoundError: ThreadDemo
Caused by: java.lang.ClassNotFoundException: ThreadDemoIf you don't know how to fix that, then you need to go back to the very basics. Learn the fundamentals before getting anywhere near multithreading.
[Javapedia: Classpath|http://wiki.java.net/bin/view/Javapedia/ClassPath]
[How Classes are Found|http://java.sun.com/j2se/1.5.0/docs/tooldocs/findingclasses.html]
[Setting the class path (Windows)|http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html]
[Setting the class path (Solaris/Linux)|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html]
[Understanding the Java ClassLoader|http://www-106.ibm.com/developerworks/edu/j-dw-javaclass-i.html]
java -cp .;<any other directories or jars> YourClassNameYou get a NoClassDefFoundError message because the JVM (Java Virtual Machine) can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.
javac -classpath .;<any additional jar files or directories> YourClassName.javaYou get a "cannot resolve symbol" message because the compiler can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.
= = = = = = = = = = = = = =
Sun's [basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
Sun's [New To Java Center|http://java.sun.com/learning/new2java/index.html].Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
[http://javaalmanac.com|http://javaalmanac.com]. A couple dozen code examples that supplement [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance].
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's [Thinking in Java|http://mindview.net/Books/DownloadSites] (Available online.)
Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683/ref=pd_bbs_1?ie=UTF8&s=books&qid=1214349768&sr=8-1]
Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance].
James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806].
Similar Messages
-
Error Code -17400; Unable to create thread
Running TestStand 4.0. Test sequence calls many sequences that run as new executions and runs fine for up to about 8 units testing simultaneously. After that, I get a run-time error code -17400; Unable to create thread. There are no other details available. The steps that generate the error are able to create the new executions initially, but eventually fail once about 22 executions are running. I am monitoring memory resources and there does not appear to be any issues. Any troubleshooting suggestions? Thanks.
My test sequence has several test groups, each of which contain loops that create new threads (tests) for 48 UUTs. Thus the number of running threads does get very high. I was running into problems with Windows XP GDI Object resources once the number of threads reached about 200. I then modified my program into smaller test groups to keep the number of threads at any time to less than 150. GDI resources are no longer an issue, but the error -17400 unable to create thread happens after the first test group has completed and the second test group is just trying to run. Note that the second test group runs fine if I skip the first test group, so the sequence itself should be okay. I thought it might be a memory issue (even though there are no apparent memory issues seen in Windows Task Manager), so I set the "Unload after step executes" property for each of the new executions created. That did not resolve the issue.
I am trying to create a simple sequence to duplicate the error without using any of the actual test sequences that require test hardware, but have not been successful thus far.
Thanks for your replies and suggestions! -
Receiving Error message Can't create threads
I am using Adobe 6.0 and all of a sudden, when I try to convert any document to a PDF I get the error, "An Error Occured While Creating Threads". This then crashes 6.0.
Any ideas on how I can fix this? I have tried reinstalling several times.
I am running Office 2003 with Windows XP.
Thanks.You are in the wrong forum...this is for Reader...you need to post in the Acrobat forum.
-
BIEE 11.1.1.5.0 install failed: Creating ASInstance Error
hi gurus,
I face a problem when I install BIEE 11.1.1.5.0 , it failed at Creating ASInstance Error . Can anyone help me ? Thanks in advance.
platform info as below:
OS: Linux version 2.6.18-131.el5.custom x86_64
Database : Oracle database 11.2.0.1.0 (installed in the same machine as BIEE )
The error displayedin install log: The oracle instance is not empty.
extract part of install log as below:
[2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Assigning Port: 9503 to: OPMN_LOCAL_PORT
[2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Assigning Port: 9504 to: OPMN_REMOTE_PORT
[2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Assigning Port: 9505 to: OPMN_REQUEST_PORT
[2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Setting valueOf(OPMN_LOCAL_PORT) to:<SECURE>. Value obtained from:USER
[2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Setting valueOf(OPMN_REMOTE_PORT) to:<SECURE>. Value obtained from:USER
[2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Setting valueOf(OPMN_REQUEST_PORT) to:<SECURE>. Value obtained from:USER
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Executing a Jaxb workflow ...
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Begining Oracle Fusion Middleware Configuration ...
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASDomain.connectToAdminServer
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASDomain._connectToAdminServer
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASDomain._getAdminServer
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] RETURN: _getAdminServer
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: ENTRY........
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: eventStatus........oracle.as.provisioning.engine.ConfigEventStatus@5798795f
[2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: 2........
[2012-02-07T20:31:21.084+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Set the Extion Id to START........
[2012-02-07T20:31:21.084+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Did the assignment...
[2012-02-07T20:31:21.084+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: EXIT........
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] RETURN: _connectToAdminServer
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] RETURN: connectToAdminServer
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] The action type for asinstance is CREATE
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASInstanceProv.createInstance
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASInstanceProv._createInstance
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: ENTRY........
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: eventStatus........oracle.as.provisioning.engine.ConfigEventStatus@563803f0
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: 2........
[2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Set the Extion Id to START........
[2012-02-07T20:31:21.093+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Did the assignment...
[2012-02-07T20:31:21.093+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: EXIT........
[2012-02-07T20:31:21.093+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Values of opmn port passed by the Install: opmnLocalPort=9500
[2012-02-07T20:31:21.093+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /home/admin/bea/instances/instance1/diagnostics/logs/OracleBIServerComponent
[2012-02-07T20:31:21.094+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /home/admin/bea/instances/instance1/diagnostics/logs
[2012-02-07T20:31:21.094+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /home/admin/bea/instances/instance1/diagnostics
[2012-02-07T20:31:21.094+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: locateRequiredFiles] Required file is missing: /home/admin/bea/instances/instance1/config/OPMN/opmn/opmn.xml
[2012-02-07T20:31:21.094+08:00] [as] [TRACE:32] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: calcDirectoryStatus] Oracle Instance directory status: POPULATED_NONINSTANCE
[2012-02-07T20:31:21.094+08:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [[
oracle.as.config.exception.LocationAlreadyUsedException: The oracle instance is not empty. Select a different location or remove the instance at this location.
at oracle.as.config.impl.OperationValidator.validateInstanceLocationForCreate(OperationValidator.java:205)
at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:78)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
at oracle.as.install.bi.biconfig.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:81)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
[2012-02-07T20:31:21.095+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Exit code from OPMNAdmin : 0
[2012-02-07T20:31:21.095+08:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [[
oracle.as.provisioning.engine.CfgWorkflowException
at oracle.as.provisioning.engine.Engine.processEventResponse(Engine.java:596)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:178)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
at oracle.as.install.bi.biconfig.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:81)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.as.provisioning.util.ConfigException:
Error creating ASInstance instance1.
Cause:
An internal operation has failed: The oracle instance is not empty. Select a different location or remove the instance at this location.
Action:
See logs for more details.
at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:317)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
... 18 more
Caused by: oracle.as.config.exception.LocationAlreadyUsedException: The oracle instance is not empty. Select a different location or remove the instance at this location.
at oracle.as.config.impl.OperationValidator.validateInstanceLocationForCreate(OperationValidator.java:205)
at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:78)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
... 19 more
Rgs
ChopsunDhar,
Thanks for your reply and advice, but I dont think that is the root cause,since this is the 1st time installation in this machine.(Configure Ports: Auto Port Configuration)
I check the opmn.log file, it says:
[2012-02-11T19:26:55][opmn][NOTIFICATION:1][90][OPMN]ONS server initiated
[2012-02-11T19:26:55][opmn][NOTIFICATION:1][522][OPMN][code:pm-internal]PM state directory exists: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states
[2012-02-11T19:26:55][opmn][TRACE:1][526][OPMN][code:pm-internal]PM state file does not exist: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states/.opmndat
[2012-02-11T19:26:55][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready. Request handling enabled.
[2012-02-11T19:26:55][opmn][ERROR:1][17][OPMN][code:ons-listener]10.20.143.232,9500: BIND (Cannot assign requested address)
I tried for 2nd time and use *Specify Ports Using Configuration File* as Configure Ports option and use Configuration File as below:
[oracle@inc-dw-151-60 ~]$ cat staticports.ini
[WEBLOGIC]
#The Domain port no. This is the listen port of Weblogic Adminserver for the domain.
Domain Port No = 7001
#The "content" port for the BIEE apps. This is the Weblogic Managed Server port on which BIEE applications are deployed.
Oracle WLS BIEE Managed Server Port No = 8080
#The SSL port for the Weblogic Managed Server
Oracle WLS BIEE Managed Server SSL Port No = 9804
[OPMN]
#Process Manager Local port no
Oracle Process Manager Local Port No = 6700
#Process Manager Remote port no
Oracle Process Manager Remote Port No = 6701
#Process Manager Request port no
Oracle Process Manager Request Port No = 6702
[BIFOUNDATION]
#The listen port for OracleBIServer component
Oracle BI Server Port No = 9703
#The monitor port for OracleBIServer component
Oracle BI Server Monitor Port No = 9701
#The listen port for OracleBIPresentationServices component
Oracle BI Presentation Services Port No = 9710
#The listen port for OracleBIScheduler component
Oracle BI Scheduler Port No = 9705
#The monitor port for OracleBIScheduler component
Oracle BI Scheduler Monitor Port No = 9708
#The script RPC port for OracleBIScheduler component
Oracle BI Scheduler Script RPC Port No = 9707
#The listen port for OracleBIClusterController component
Oracle BI ClusterController Port No = 9706
#The monitor port for OracleBIClusterController component
Oracle BI ClusterController Monitor Port No = 9700
#The listen port for OracleBIJavaHost component
Oracle BI JavaHost Port No = 9810
[ESSBASE]
#The listen port for Essbase Agent
Essbase Agent Port No = 1423
For the 2nd time ,I still get the same error: * Creating ASInstance failed*
the opmn.log changed as following:
[oracle@inc-dw-151-60 fmw]$ cat instances/instance1/diagnostics/logs/OPMN/opmn/opmn.log
[2012-02-12T09:44:09][opmn][NOTIFICATION:1][90][OPMN][code:ons-internal]ONS server initiated
[2012-02-12T09:44:09][opmn][NOTIFICATION:1][520][OPMN][code:pm-internal]Create pm state directory: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states
[2012-02-12T09:44:09][opmn][TRACE:1][526][OPMN][code:pm-internal]PM state file does not exist: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states/.opmndat
[2012-02-12T09:44:09][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready. Request handling enabled.
[2012-02-12T09:44:09][opmn][ERROR:1][17][OPMN][code:ons-listener]10.20.143.232,6700: BIND (Cannot assign requested address)
I guess the problem is the opmn. I done know where the 10.20.143.232 comes ,my machine IP is 10.20.151.60..
who can help me on this problem.
Chopsun. -
How to resolve create type error?
Hi all,
I am duplicating the contents of schema1 to schema2 on the same database.
So I used expdp schema1/schema1 .... exporting schema1. Then impdp schema2/schema2 remap_schema=schema1:schema2
These 2 schemas have dba privilege.
Why do I get this error:
ORA-39083: Object type TYPE failed to create with error:
ORA-02304: invalid object identifier literal
Failing sql is:
CREATE TYPE "C1DEVADM"."CMQTNQHT" OID 'AC82C504E18C6A98E044001A4B08907C' AS TABLE OF CMQTNQHF;Thanks a lot,Hi;
I already done exporting the data :(
I guess it will be ok if I create the object types manually after impdp right?Yes.
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
Create Thread on Photoshop Plug-in
Dear All,
Right now, I am developing a demo Photoshop plug-in software to understand the way to implement Photoshop plug-in. However, I meet a issues that I can not create a Thread on Photoshop plug-in by CreateThread() API. I implement as below:
Main function:
CreateThread( NULL, 0, Test1Thread, NULL, 0, NULL);
Thread function:
DWORD WINAPI Test1Thread(LPVOID pParam)
/*Do something*/
return 0;
When I compile and load plug-in on Photoshop, it show an error message like this:
The instruction at "0x09fd100a" referenced memory at "0x09fd100a". The memory could not be "read"
Click on OK to terminate the program
Click on CANCEL to debug the program
Can you give me some suggestions that I can create a Thread by CreateThread() API on Photoshop plug-in or not? And how can I create Thread?
I am looking forward your answer.
Thanks for your help,
Hieu Nguyen.
PS: I am developing on Window OS and Visual C++ development tool.Thanks Aandi Inston and Marcus Phillips for your answer.
In thread I just use Named Pipe inter-process communication mechanism to send signal to the other application. So I do not use any Photoshop API.
However, it is strange that I can not put my Thread in begin of PluginMain function:
DLLExport SPAPI SPErr PluginMain
( char* caller, char* selector, void* message)
SPErr error = kSPNoError;
SPMessageData *basicMessage = NULL;
SPPluginRef plugInRef = NULL;
SPErr err = 0;
basicMessage = (SPMessageData *) message;
sSPBasic = basicMessage->basic;
gPlugInRef = basicMessage->self;
MyThread();/*CAN NOT RUN THE THREAD!!!!*/
I must change my Thread function to position after checking caller parameter
Please show me the reason why?
Thanks, -
Creating threads in init for servlet (advanced)
Hello
we have a servlet ..in servlets init method we are creating new threads by calling the Timer class like this
BGMSchedul = new Timer(true);
BGM = new BackManager();
BGMSchedul.scheduleAtFixedRate(BGM, 10000, 30000); //every 30 secondsProblem is that during our stress testing on IBM WSAD we've noticed errors like J2CA0075W: An active transaction should be present
Upon researching this issue further i found this link http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg21231761
which i think suggests that the servlet shouldnt be creating threads which make J2C connections. Our thread is making the DB connection.
does nay one have experince with this sort of problem? is it a bad programming construct to create threds in a servlet? if so..where should we be creating our threads? we want this thread to run every 30 seconds and this is a web appliction.
I'd appreciate any helpI've created a POJO class that implements servletcontextlistener and took out the time thread from servlet and placed it in pojo's contextInitialized method. however, i still get the same warning.
-
Debugging on linux - strange thread error?
Hi,
I'm having problems debugging on Red Hat EL 3 linux with the 1.4.2_09 JVM. I start the JVM like so:
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n
About 1 out of every 2 or 3 times I start the JVM like this, it fails right away with this error:
FATAL ERROR in native method: JDWP "threadControl.c" (Jul 26 2005), line 1551: Unable to create thread table entry
And even when the JVM does manage to come up, when I try to attach with a debugger it just hangs.
I suspect that this might be a JVM bug because if I switch to the 1.5.0 JVM , everything works fine.
Anybody have any suggestions?
Thanks!Hi,
change your display value to 1.0
DISPLAY=localhost.localdomain:1.0
export DISPLAY
this should work
Jyothi. -
Unable to create thread from startup class
Hi,
We are trying to create thread from our scheduler class. This scheduler class
is called from a Startup class configured in WebLogic 7. But we failed to create
thread. It does not showing any error also. Can anyone plz suggest what could
be the problem.
Thanks & Regards,
SiddharthaHi,
We are trying to create thread from our scheduler class. This scheduler class
is called from a Startup class configured in WebLogic 7. But we failed to create
thread. It does not showing any error also. Can anyone plz suggest what could
be the problem.
Thanks & Regards,
Siddhartha -
Hi,
I'm trying to make a LabView application that creates threads, which set and
unset digital lines. For some reason I can't include attachments to my posts,
but I'll try to explain what I have done so far.
I have a one VI that runs forever in a while loop and sets a digital line to 1 or 0
every 500 ms. This VI is defined to be reentrant. From this VI I would like to have
numerous of instances with different digital lines. This VI is supposed to be the
base from the threads. The digital port is the only thing that is different in each
thread.
I use another VI to create these threads with Invoke Method. First this VI uses
Open VI Reference. Then I use Invoke Method to get the type descriptor of the
control I want to change in the VI. Next I call Invoke Method to set the digital port
to be used with parameters gotten from the previous Invoke Method. And finally
I call Invoke Method: Run VI.
I get an error that states "Memory or data structure corrupt". The source is in the
set value.
Hopefully this makes at least some sense and someone can give me some tips
on how to do this.
Thanks.
P.S. I'm trying add files to my posts from the "Browse..." button that is located at
the bottom of this message writing page, but for some reason the attachments
does not show. Am I doing something wrong?Thank you LV_Pro and altenbach for your replies.
I will try to explain this matter more clearly. First of all I'm using the evaluation
version of LabView 8.2 on Windows 2000. I also have LV 6.2 which I have tried
this, but we're propably going to use a 8.x version, so 8.2 will be my main
environment now.
I need to make a DLL that will be called from another application. In the library
the functions/VIs should run in threads for parallel execution and the application
using the DLL can't wait for the execution to end. I'm trying to make the functions
inside the library as general purpose as possible, because those same functions
are needed for different things.
If there's some other way to create threads in LabView, please let me know, since
this is the only way I know, and it's not even working.
Hope this explains it better. If not let me know and I will draw a diagram or something.
Thanks.
Attachments:
BlinkerThreadRunner.vi 15 KB
DOutBlinkerThread.vi 11 KB -
I modified the numguess example that comes with tomcat but I get a "can't create bean" error message when I call my jsp file. If anyone can see what I'm doing wrong or suggest ways to discover the problem I'd appreciate it.
My modified jsp:
<!--
Copyright (c) 1999 The Apache Software Foundation. All rights
reserved.
Number Guess Game
Written by Jason Hunter, CTO, K&A Software
http://www.servlets.com
-->
<%@ page import = "num.NumberGuessBean" %>
<jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session"/>
<jsp:setProperty name="numguess" property="*"/>
<html>
<head><title>Number Guess</title></head>
<body bgcolor="white">
<font size=4>
<% if (numguess.getSuccess()) { %>
Congratulations! You got it.
And after just <%= numguess.getNumGuesses() %> tries.<p>
<% numguess.reset(); %>
Care to try again?
<% } else if (numguess.getNumGuesses() == 0) { %>
Welcome to the Number Guess game.<p>
Play with default limits ( a number between 0 and 100)<p>
or enter upper and lower limits.<p>
<form method=get>
Play with defaults?: <input type=radio name=default value="yes">Yes
<input type=radio name=default value="no">No
<\form>
<% if (numguess.getRadio().equals("no")) { %>
<form method=get>
Enter upper limit:<input type=text name=upperLimit>
Enter lower limit:<input type=text name=lowerLimit>
<\form>
<% numguess.reset(); %>
<% } %>
<form method=get>
What's your guess? <input type=text name=guess>
<input type=submit value="Submit">
</form>
<% } else { %>
Good guess, but nope. Try <b><%= numguess.getHint() %></b>.
You have made <%= numguess.getNumGuesses() %> guesses.<p>
I'm thinking of a number between <jsp:getProperty name="numguess" property="lowerLimit"/> and <jsp:getProperty name="numguess" property="upperLimit"/>.<p>
<form method=get>
What's your guess? <input type=text name=guess>
<input type=submit value="Submit">
</form>
<% } %>
</font>
</body>
</html>
and the modified bean:
* ====================================================================
* The Apache Software License, Version 1.1
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. The end-user documentation included with the redistribution, if
* any, must include the following acknowlegement:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
* 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
* from this software without prior written permission. For written
* permission, please contact [email protected].
* 5. Products derived from this software may not be called "Apache"
* nor may "Apache" appear in their names without prior written
* permission of the Apache Group.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
* Originally written by Jason Hunter, http://www.servlets.com.
package num;
import java.util.*;
public class NumberGuessBean {
int answer;
boolean success;
String hint;
int numGuesses;
String radiochoice;
int lowerLimit=0;
int upperLimit=100;
String error;
public NumberGuessBean() {
reset();
public void setGuess(String guess) {
numGuesses++;
int g;
try {
g = Integer.parseInt(guess);
catch (NumberFormatException e) {
g = -1;
if (g == answer) {
success = true;
else if (g == -1) {
hint = "a number next time";
else if (g < answer) {
hint = "higher";
else if (g > answer) {
hint = "lower";
public void setRadio(String s) {
radiochoice=s;
public String getRadio() {
return radiochoice;
public void setLowerLimit( int lowerLimit) {
this.lowerLimit=lowerLimit;
public int getLowerLimit() {
return lowerLimit;
public void setUpperLimit(int upperLimit) {
this.upperLimit=upperLimit;
public int getUpperLimit() {
return upperLimit;
public boolean getSuccess() {
return success;
public String getHint() {
return "" + hint;
public String getError() {
return ""+error;
public int getNumGuesses() {
return numGuesses;
public void reset() {
if (getRadio().equals("yes")) {
answer = (int)(Math.random()*100);
else {
int i;
i=(int)(Math.random()*upperLimit);
if (i<lowerLimit) {
i=i+lowerLimit;
answer=i;
success = false;
numGuesses = 0;implement synchronizable and createa constructor, then check it once again.
-
How to create Custom error message in SharePoint 2013
Hi,
I have created one document library.On uploading the same file SharePoint throws error as"server error.The same file exit".
But my requirement is not to show the SharePoint default message.I wanted to create custom message and show the pop up for the same file upload.
Is there any way to create any custom error page or can I manipulate SharePoint default error page?
Any help?
Thank youHi,
You can create an event receiver to set the validation error messages. One such post to redirect the custom error page is as follows
https://social.msdn.microsoft.com/Forums/office/en-US/2bc851f6-e04b-4550-b87f-9b874a290482/sharepoint-event-receivers-and-custom-error-messages?forum=sharepointdevelopmentlegacy
Create custom error page for SharePoint event receiver
Please mark it answered, if your problem resolved or helpful. -
Why does iTunes create disk errors when deleting movie files?
I use a Macbook Pro, OSX 10.7.5. When I delete movie file from my iTunes library I get disk errors. I need to option boot select the recovery disk and repair the disk. Deleting a movie file I have placed on my desktop with finder does not create any errors. Most of the movie files are created as .m4v movies. They all play just fine with my Apple TV. I have tried turning off the Apple TV and rebooting before I delee files but nothing seems to work.
Any ideas?
LanceIf you let iTunes organise your media folders then that is the way it is. An option would be to change the Media Kind to TV Show which would gather them togther in one folder, but in a different part of the library.
tt2 -
Purchased a Macbook for my Mother as I do not want to use another windows product. I need to delete a newly created Apple Id I created in error forgetting she already had a apple ID, any suggestions?
This link may help:
https://www.apple.com/support/appleid/manage/
What I would do is reinstall the OSX and then use the intended apple ID so that it is associated with that Macbook.
Ciao. -
How to create an error message which doesn't allow submitting form ?
Hi,
is there a way to create an error message so that the user can't submit the form until the error is solved?
On my form I am doing some validation checks when the user hits the button to submit the form via e-mail.
So if something on the form isn't filleld out correctly the user gets an error message. But after the user has clicked ok on the error message he can still send the form.
So I am searching for a way that he can only submit the form if he has resolved the problems.
I tried with
xfa.host.messageBox("material is not valid!" , "error", 0);
but this only shows the error messagen and doesn't prevent the next step.
Can I solve this with using a different type of error message, or user different parameters at the messageBox?
Thanks for your help.
Martinhi Martin Beyer
try like this.
in submit button CLICK event u have to right validation for fields which u want to check.
example : here iam validating two varibles.
var sub=0;
if(sub==0)
if(fields2.item(i).rawValue == null && fields.item(i).rawValue != null)
sub++;
xfa.host.messageBox("Status of Achievement is Mandatory");
xfa.host.setFocus(fields2.item(i));
break;
if(sub==0)
var Repe = xfa.host.messageBox("Do you want to Submit now???", "Warning", 2, 2);
if (Repe == 4)
sub=0;
else
sub++;
hope it will help you.
Maybe you are looking for
-
Last Page Header and Footer in XML Report
Hi I have one requirement , where except last page for an invoice, all other pages should have one header. Last page should have nothing header and in Body some information(Total details) should be displayed and in footer terms and conditions should
-
Hello Experts, I am trying to invoke the other platform encrypted service. I imported the public key given by the other platform so that i would be able to encrypt the request. In the receiver agreement I encrypted the request and decrypted the respo
-
Socket Problem, Problem about printing the response from server
Or even I am not sure if there is a response from server. My code is like that //Connection between, httpProxy and target adress Socket clientSocket= new Socket("some host", 80); DataOutputStream outToServ
-
I have 2 issues. #1 - Bridge crash's upon launch #2 - I cannot install Camera Raw 7.1. I get an "Update Failed" saying "Unable to write at this location: '/Users/MediaServics?library/Application Supposrt/Adobe' Please provide write permissions to thi
-
SELECT IN query using ormExecuteQuery()
I'm trying to do a SELECT IN query using ormExecuteQuery(). Following is the code I have: Categories = ormExecuteQuery("from Category where Id IN (?)",[CategoryList]); It only works when there is 1 value in the CategoryList. i.e. This works: Catego