HelloWorld example problem...
something seems to be wrong when i try to run the HelloWorld example as if it doesnt echo anything back...
1)i am building all the necessary files
2)i edit the script file and add powerup powerdown and select applet (just as durangova explained in a previous message!)
3) i run cref -o demoee
4)in different window i run apdutool HelloWorld.scr and this output comes out:
C:\test\helloworld\javacard>apdutool HelloWorld.scr
Java Card ApduTool (version 0.15)
Copyright (c) 2001 Sun Microsystems, Inc. All rights reserved.
Opening connection to localhost on port 9025.
Connected.
Received ATR = 0x3b 0xf0 0x11 0x00 0xff 0x00
Select the installer applet
CLA: 00, INS: a4, P1: 04, P2: 00, Lc: 09, a0, 00, 00, 00, 62, 03, 01, 08, 01, Le
: 00, SW1: 90, SW2: 00
CLA: 80, INS: b0, P1: 00, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 01, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 01, P2: 00, Lc: 16, 01, 00, 13, de, ca, ff, ed, 01, 02, 04
, 00, 01, 09, a0, 00, 00, 00, 62, 03, 01, 0c, 01, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 01, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 02, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 02, P2: 00, Lc: 20, 02, 00, 1f, 00, 13, 00, 1f, 00, 0e, 00
, 0b, 00, 36, 00, 0c, 00, 67, 00, 0a, 00, 13, 00, 00, 00, 6c, 00, 00, 00, 00, 00
, 00, 01, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 02, P2: 00, Lc: 02, 01, 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 02, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 04, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 04, P2: 00, Lc: 0e, 04, 00, 0b, 01, 00, 01, 07, a0, 00, 00
, 00, 62, 01, 01, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 04, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 03, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 03, P2: 00, Lc: 11, 03, 00, 0e, 01, 0a, a0, 00, 00, 00, 62
, 03, 01, 0c, 01, 01, 00, 14, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 03, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 06, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 06, P2: 00, Lc: 0f, 06, 00, 0c, 00, 80, 03, 01, 00, 01, 07
, 01, 00, 00, 00, 1f, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 06, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 07, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 20, 07, 00, 67, 00, 02, 10, 18, 8c, 00, 01
, 18, 11, 01, 00, 90, 0b, 87, 00, 18, 8b, 00, 02, 7a, 02, 30, 8f, 00, 03, 3d, 8c
, 00, 04, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 20, 3b, 7a, 05, 23, 19, 8b, 00, 05, 2d, 19
, 8b, 00, 06, 32, 03, 29, 04, 70, 19, 1a, 08, ad, 00, 16, 04, 1f, 8d, 00, 0b, 3b
, 16, 04, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 20, 1f, 41, 29, 04, 19, 08, 8b, 00, 0c, 32
, 1f, 64, e8, 19, 8b, 00, 07, 3b, 19, 16, 04, 08, 41, 8b, 00, 08, 19, 03, 08, 8b
, 00, 09, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 0a, 19, ad, 00, 03, 16, 04, 8b, 00, 0a, 7a
, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 07, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 08, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 08, P2: 00, Lc: 0d, 08, 00, 0a, 00, 00, 00, 00, 00, 00, 00
, 00, 00, 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 08, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 05, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 05, P2: 00, Lc: 20, 05, 00, 36, 00, 0d, 02, 00, 00, 00, 06
, 80, 03, 00, 03, 80, 03, 01, 01, 00, 00, 00, 06, 00, 00, 01, 03, 80, 0a, 01, 03
, 80, 0a, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 05, P2: 00, Lc: 19, 06, 03, 80, 0a, 07, 03, 80, 0a, 09, 03
, 80, 0a, 04, 03, 80, 0a, 05, 06, 80, 10, 02, 03, 80, 0a, 03, Le: 00, SW1: 90, S
W2: 00
CLA: 80, INS: bc, P1: 05, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b2, P1: 09, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: b4, P1: 09, P2: 00, Lc: 16, 09, 00, 13, 00, 03, 0e, 25, 2c, 00, 0c
, 05, 0c, 06, 04, 08, 05, 10, 0c, 08, 09, 06, 09, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: bc, P1: 09, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
CLA: 80, INS: ba, P1: 00, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
C:\test\helloworld\javacard>
i can see that some Lc fields have data but all the Le fields have 00..
does this mean that the response apdus carry no data??
if so why this happen??
shouldnt it echo back something?
can anybody clear this to me?
thanks a lot in advance!!!!!
In the previous u have replied "You now have to issue apdu commands for the hello world applet"
here what ur meant to say, hope it is command apdu to the card if so pls tell us how to supply command apdu to the card. Do we write the seperate host application that includes ctlistener classes, service classes etc., ?
Similar Messages
-
IDLJ - HelloWorld example code problem
Hello,
i have a problem to get the CORBA HelloWorld example code
running.
compiling worked well, but as i started the HelloServer class
the java.lang.UnsupportedClassVersionError Exception is thrown
with Unsupported major.minor version 50.0.
i've compiled the code with jdk 1.6.0,
classpath is set to
/usr/local/jdk1.6.0/jre/lib/:.
any help would be great,
thx in advance,i think i did as i set the classpath to
/usr/local/jdk1.6.0/jre/lib/:.
i did also try to set it directly to the rt.jar in the subdirectory /jre but
it didn't work .
could you please add more detail?
there's no /usr/local/jre1.6.0 in /usr/local so i thought
the jre must be the one in the jdk directory.
Thx -
JWSDP 2.0 JAX-RPC example problem Fast Infoset
Hi,
I installed JWSDP 2.0 and and Tomcat 5.0 for JWSDP. The server runs fine and the example HelloWorld is accessible (I can see the WSDL file in my browser: http://localhost:8080/jaxrpc-HelloWorld/hello?WSDL).
The Problem is that I can not run the client: I tried "ant run-client". The error occurs while trying to create a stub in the file "HelloClient.java" with the following line of code:
stub = (HelloIF_Stub) (helloWorldService.getHelloIFPort());
This is the error I get:
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/fastinfoset/FastInfosetSource
[java] at hello.HelloWorldService_Impl.getHelloIFPort(HelloWorldService_Impl.java:59)
[java] at hello.HelloClient.setUp(HelloClient.java:68)
[java] at hello.HelloClient.main(HelloClient.java:45)
[java] Java Result: 1
I am not sure about the structure of the application, so I don't know where to look for the "FastInfosetSurce" file.
Thanks for any help.
Best regards.Hi,
I reselved the problem by just copying the FastInfoset to the jaxrpc\lib directory (I am sure this should work in a different way).
Well, the next problem I am getting is that the "XMLStreamWriter" class cannot be found. This class is contained in jsr173_api.jar.
I guess my main question is the following:
Which projects are necessary to get this simple helloWorld example to work?
I did set the JWSDP_HOME varible. Is there another setting I have to make to have all necessary jar-files available and to be able to run the samples?
Could anybody point me to a tutorial that does not only show a few lines of code (as the HelloWorld sample in the JWSDP-Tutorial) but that would instead lead me through a step-by-step sample application that I write by myself and actually runs at the end? The example in the JWSDP-Tutorial uses all kinds of existing config files which are not explained.
Thanks for your help. -
Error in Running Synchronous HelloWorld Example
Hi All,
I am new to Oracle business process manager so I am facing problem in running simple Synchronous HelloWorld example.When I build in an eclipse BPEL designer I got the following error :
Buildfile: C:\Documents and Settings\dcb\workspace\SyncHelloWorld\build.xml
main:
[bpelc] BPEL validation failed.
[bpelc] BPEL source validation failed, the errors are:
[bpelc]
[bpelc] [Error ORABPEL-10071]: unresolved xpath function
[bpelc] [Description]: in line 37 of "C:\Documents%20and%20Settings\dcb\workspace\SyncHelloWorld\SyncHelloWorld.bpel", could not resolve xpath function "", because function "bpws:getVariableData" not registered.
[bpelc] [Potential fix]: please make sure to register this function in xpath-functions.xml file located under domain config directory and make sure that function prefix is mapped to correct namespace in <process> activity.
[bpelc] .
BUILD FAILED
C:\Documents and Settings\dcb\workspace\SyncHelloWorld\build.xml:28: Validation error
Total time: 2 seconds
I would appreciate if someone could tell me the cause of this error.Thanks.
KashifHi,
I copied my project into the non whitespaced directory i.e C:\OraBPELPM_1\workspace\SyncHelloWorld
and I checked the xpath-functions.xml file at location $BPEL_HOME/\integration\orabpel\domains\default\config,getVariableData function and it is there.
But still I am getting the following error:
Buildfile: C:\OraBPELPM_1\workspace\SyncHelloWorld\build.xml
main:
[bpelc] BPEL validation failed.
[bpelc] BPEL source validation failed, the errors are:
[bpelc]
[bpelc] [Error ORABPEL-10071]: unresolved xpath function
[bpelc] [Description]: in line 36 of "C:\OraBPELPM_1\workspace\SyncHelloWorld\SyncHelloWorld.bpel", could not resolve xpath function "", because function "bpws:getVariableData" not registered.
[bpelc] [Potential fix]: please make sure to register this function in xpath-functions.xml file located under domain config directory and make sure that function prefix is mapped to correct namespace in <process> activity.
[bpelc] .
BUILD FAILED
C:\OraBPELPM_1\workspace\SyncHelloWorld\build.xml:28: Validation error
Any suggestions would be appreciated.
Kashif -
StringIndexOutOfBoundsException on HelloWorld example
Hi,
I've built the OpenMQ system on Centos 5.2 (64 bit), as described in the build/install instructions, and I'm trying to run the HelloWorld example.
I'm getting a StringIndexOutOfBoundsException and have no idea where to start... the exception tree follows:
15-Jun-2009 11:59:44 com.sun.messaging.jmq.jmsclient.ExceptionHandler logCaughtException
WARNING: [I500]: Caught JVM Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Exception occurred : com.sun.messaging.jms.JMSException: [C4038]: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
com.sun.messaging.jms.JMSException: [C4038]: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSException(ExceptionHandler.java:380)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.openConnection(ConnectionInitiator.java:421)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(ConnectionInitiator.java:362)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:210)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:158)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:816)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1529)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:2327)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:1024)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:418)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:60)
at com.sun.messaging.BasicConnectionFactory.createConnection(BasicConnectionFactory.java:147)
at com.sun.messaging.BasicConnectionFactory.createConnection(BasicConnectionFactory.java:132)
at HelloWorldMessage.main(HelloWorldMessage.java:130)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.charAt(String.java:687)
at com.sun.messaging.jmq.Version.stripTrailingLetters(Version.java:923)
at com.sun.messaging.jmq.Version.getIntVersion(Version.java:831)
at com.sun.messaging.jmq.Version.compareVersions(Version.java:967)
at com.sun.messaging.jmq.Version.compareVersions(Version.java:949)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.checkBrokerVersion(PortMapperClient.java:167)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:152)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:84)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:123)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:130)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.openConnection(ConnectionInitiator.java:412)
... 12 more
Any suggestions?
DK.If you do telnet <broker-host> <broker-port> what do you get ?
Could you please provide the broker version information at the beginning of the broker log ?
Can you reproduce this with MQ build from OpenMQ website binary download ? -
Is anybody has the example problem for AD/DA converter controled by PIC16F84?
In my circuit( Multisim 9), I use PIC16F84 as the
MCU to control the DAC and ADC. I want to ask if anyone has the example
problem for the controlling?
Further more, the I/O port of
PIC16F84 seems can not be connected with the digital output of DAC, so
I asked myself, is it right that for PIC16F84, the I/O port can only
connected with the serial port of DAC and ADC? Or it needs a converter
to adapt to the input port of DAC?
Looking for any help! Thanks!You can test the new Design Circuit Suite (includes Multisim10 with MCU10 and Ultiboard 10 with Ultiroute10). When you open Samples you find the folder MCU with PIC folder. In these you can find some examples to PIC16F84. With that as pattern you should solve the problem.
I attached you here the MCU examples in the *.zip
For downloading the 30 days free test version you can use the link:
http://www.ni.com/academic/multisim/ and click to evaluation software
or these link:
https://sine.ni.com/apps/utf8/nigb.confirm?p_gb_prof_id=7350&p_lang=US&p_dl_url=&p_dwnld=N&p_code=GB...
Attachments:
MCUPicScreenshot.zip 964 KB -
JSAPI : Problems with the speech recognition HelloWorld example
I just started off with JSAPI. And I immediately ran into problems. These are the configurations and the stuff I did:
My system:
OS: WinXP
JDK: JDK 6 Update 10
IDE: Netbeans 6.0
I downloaded the FreeTTS.zip from the FreeTTS site [http://freetts.sourceforge.net/docs/index.php] . I expanded it and in the lib folder I ran the jsapi.exe and as a result jsapi.jar war generated.
I included this jar in my project lib as jar.
Then I copy pasted HelloWorld speech recognition example code given in the site : [http://java.sun.com/products/java-media/speech/forDevelopers/jsapi-guide/Recognition.html#11644]
First it gave a compile time error that
rec.deallocate();throws an exception which needs to be handled. Accordingly I surrounded it with a try catch block and caught the exceptions in the manner given below:
try{
rec.deallocate();
System.exit(0);
} catch (EngineException ex) {
Logger.getLogger(HelloWorld.class.getName()).log(Level.SEVERE, null, ex);
} catch (EngineStateError ex) {
Logger.getLogger(HelloWorld.class.getName()).log(Level.SEVERE, null, ex);
Now the code was compiling without problems.
When I executed the code a runtime exception (NullPointerException) was thrown at the line
rec.allocate(); in the psvm(String args[])
Can anybody please explain to me where I am going wrong? Or is there something more that needs to be added in the code?
Anxiously waiting to hear from your end.
Thanks and regards,Hi All,
I am using following code
import javax.speech.*;
import javax.speech.synthesis.*;
import java.util.Locale;
public class HelloWorld {
public static void main(String args[]) {
try {
// Create a synthesizer for English
Synthesizer synth = Central.createSynthesizer(
new SynthesizerModeDesc(Locale.ENGLISH));
synth.waitEngineState(Synthesizer.ALLOCATED);
//Synthesizer synth = Central.createSynthesizer (null);
// Get it ready to speak
synth.allocate();
synth.resume();
// Speak the "Hello world" string
synth.speakPlainText("Hello, world!", null);
// Wait till speaking is done
synth.waitEngineState(Synthesizer.QUEUE_EMPTY);
// Clean up
synth.deallocate();
} catch (Exception e) {
e.printStackTrace();
}and i am also getting following error
java.lang.NullPointerException
at HelloWorld.main(HelloWorld.java:18)My class path is set to
jsapi.jar (extracted from freetts 1.2.1)
freetts.jar
Please i didn't find any solution from past replies so please do help me someone to solve this...
Thanking You.... -
I started an common example of stateless bean HelloWorld on JBoss 2.4 server and it works,but when I tried to start the identical example on JBoss 3.0 following problem has occurred. During the deploy process there was no any error messages on JBoss console.
Here is console output after running the example:
D:\Users\maja\klase>java -classpath "d:/users/maja/jbossDeploy/j2ee.jar;d:/users
/maja/jbossDeploy/log4j.jar;d:/users/maja/jbossDeploy/jboss-common-client.jar;d:
/users/maja/jbossDeploy/jnp-system-client.jar;d:/users/maja/jbossDeploy/jnp-clie
nt.jar;d:/users/maja/jbossDeploy/jboss-client.jar;d:/users/maja/jbossDeploy/jbos
ssx-client.jar;C:\jdk1.3.1_01\jre\lib\rt.jar;.;HelloWorld.jar" HelloWorldClient
javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalExcept
ion: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.jnp.interfaces.MarshalledValuePair
(no security manager: RMI class loader disabled)
java.lang.ClassNotFoundException: org.jnp.interfaces.MarshalledValuePair (no sec
urity manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at javax.naming.InitialContext.lookup(Unknown Source)
at HelloWorldClient.main(HelloWorldClient.java:20)
Exception: null
I don't know how to solve this problem and I will be very thankful if you help me.Hi,
Where is the jboss.jar mentioned?The error is due to unavialibility of the class,the classloader is not able to find(load) the class.So please set jboss.jar,it is avialable at Jboss3.0.2/server/all/lib/jboss.jar.
I used to try this way long back but I found the ant tool to be better utility to work with.Why dont you check the Orielly Workbook at the google and download it.
Regards
Vicky -
Error while running helloworld example
Hi Every one!
I am getting the following error while running the helloworld page....can some one help me please....
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
G:\OAF1\jdevbin\jdk\bin\javaw.exe -hotspot -classpath G:\OAF1\jdevbin\j2ee\home\oc4j.jar;G:\OAF1\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Could not canonicalize 'C:\Program Files\Java\jdk1.5.0_08\libC:\Program Files\Apache Software Foundation\Tomcat 6.0\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Could not canonicalize '"C:\Program Files\NetBeans 6.5\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\xml.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /G:/OAF1/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /G:/OAF1/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 21093 ms.
Target URL -- http://bloom.bspl.com:8988/OA_HTML/runregion.jsp
12/04/16 17:27:14 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
12/04/16 17:27:19 TIME: runregion: initialization [16 ms]
oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at _runregion._jspService(_runregion.java:136)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)Hi,
Goto Project Properties:
Search for the following in left pane:
Oracle Applications -> Runtime Connection
DBC file : Choose the correct dbc file from your local machine. You have to get it from your dba and paste it in this path: jdevhome\jdev\dbc_files\secure\*.dbc
User Name: Application User Name
Password : Application password
Responsibilty Key:
Goto Application Developer --> Responsibility --> Define -- >
Query for the available responsibility for the given user. Say for example: "Order Management Super User"
Application: Order Management
Responsibilty Key: ORDER_MGMT_SUPER_USER
Application Short Name:
Goto Application Developer --> Application --> Register -- >
Query for the given application " Order Management"
Short Name: ONT
Responsibility Key and Application Short Name depends upon the object you are developing.
Regards. -
HelloWorld Example Not Working
Hi,
I am using JCDK 2.2.2.
Converter and scriptgen run without errors from C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples (which is the existing samples directory):
converter -classdir "C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples\classes" -exportpath "C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\api_export_files\;C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples\classes\com\sun\javacard\samples\HelloWorld\javacard" -applet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1:0x1 com.sun.javacard.samples.HelloWorld.HelloWorld com.sun.javacard.samples.HelloWorld 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1 1.0
scriptgen -o HelloWorld.scr ./classes/com/sun/javacard/samples/HelloWorld/javacard/HelloWorld.capI run cref from C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\bin:
cref.exe -o HelloWorld.eepromAnd then in another command prompt from C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\bin:
apdutool C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples\HelloWorld.scrThe app installs fine. So now I want to test the code. I added a line to the script at the end to selecct the application:
// Select HelloWorld
0x00 0xA4 0x04 0x00 0x09 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x7F;Which is not working (6d00 error)
Any suggestions why this could be happening? Nothing throws errors except the line to select the app. It can't be a problem with the code, because I am running the sample files that came with the JCDK.
P.S. I tried 'creating Helloworld' using the line
0x80 0xB8 0x00 0x00 0x0b 0x09 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x00 0x7F;But this gave a 6443 error.
Edited by: Candice on Jul 11, 2011 2:14 AMP.S. I tried 'creating Helloworld' using the line
0x80 0xB8 0x00 0x00 0x0b 0x09 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x00 0x7F;But this gave a 6443 error.Applet not found for installation.
• Cause: An attempt was made to create an applet instance, but the applet code was not installed on the card.
• Solution: Verify that the applet package has been downloaded to the card.
Remeber that after the first time you launch cref, you need to tell it where to load the EEPROM file from the last run with -i <file>. You can use the same file for -i and -o to be able to reuse the mask and store new state.
Cheers,
Shane -
Oracle BPM - Expense Management Example problem
Hi,
I have just started to explore Oracle BPM Version 10.3.2 and I am trying to execute the Expense Management Project as given in the starters documentation.
http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/tutorial/index.html
After deploying the process and going into the workspace using
http://localhost:8585/workspace
I am not getting anything listed in the Applications tab. It is showing the following error:-
Could not retrievePrincipal applications for process '/ExpenseReporting'.
I searched in this same forum and came across this post:-
Re: Why there is no application in workspace?
which says that it may be due to version conflicts or some error coming up in the problems tab.
I checked my problems tab but it is not showing anything.
Eliminating this I thought it may be due to version conflicts (as i am following the post) so I uninstalled all my JDK's and just installed jdk 1.6 update 21 but still I got the same problem - i think this solved the issue for some users (Satya Anareddy)
Then in one comment in the same post given by Dan (Daniel Atwood ) i tried using the default 1.5 JM.
But still I am getting the same error.
I am completely confused as to what the problem could be.
Please could anyone give me some directions.
Thanks,
Rohit
Edited by: 801493 on Oct 11, 2010 6:02 AM
Edited by: 801493 on Oct 11, 2010 6:03 AMPlease follow this step may this solve your problem.
please modify any thing in process "ExpenseReporting" for example any transition or any activity to place some where else or any other modification and then save that process. Then clean the project and build and deploy it.
if this also not solve the problem then export that project to and import it again in your workspace (Create new workspace or change the project name in same workspace ) and then again clean, build and deploy the application then test in work space.
Thanks,
Brijesh Kumar Singh -
i have install labview 7.1 development software with driver , on windows xp
i am not able to open example . it shows following errors "CAN NOT FIND LabVIEW SERVICE PORT FROM SERVICE LOCATER YOU WILL BOT BE ABLE TO BROWS DIRECTRY STRUCTRY" while when i make any programme it works
please help to solve this problem
thanks
R.R.YADAV
[email protected]Hi,
LabVIEW Example Finder uses NI Service Locator in the background. Try to restart the Service Locator and see if that helps. More information on this can be found at the following link.
http://digital.ni.com/public.nsf/websearch/8C00F1144B2CD73E86256DEF00698AC3?OpenDocument
Also, make sure that there is no antivirus or firewall application running in the background when you try to open the example.
Regards,
Ankita A. -
PI Demo Examples problems with executing CTC template for client setup
Dear SAP community,
I use PI 7.30 SP 4 and get the following exception if I use the CTC template to set up the PI demo examples in client 105
and 106
Web Services Configuration
Description
Exception in step "SRT_TECHNICAL_SETUP"
Exception details : java.lang.Exception: BAPIRET2 SRT_ADMIN 050 Could not create service destination
State
Step was skipped
In client 107, the template works after I delete the SAP_WSRT user. In clients 105 and 106, this leads to the exception above,
If the SAP_WSRT user exists, I get the exception that this user alreadz exists if I run the template.
What should I do to fix this problem and properly implement the template on all clients?
PS: I use admin users with SAP_ALL rights. Maybe I use the wrong master password, because I use the one of my SAP_ALL user. This works at least for using the template within client107.
AndreasHi Mark,
in my case the workaround of deleting the service user works only in Client 107.
The additional problem with a missing service destination occurs already after deleting the service user in Clients 105 and 106. Will this additional problem also be treated in the new note?
Joerg-Joachim Klossika already added the workaround to this note for the existing service user I proposed to him.
I still cannot resolve the problem with the missing service destination.
regards
Andreas -
Hello, I am new to JSP and I was wondering if I could get some help from some people that know what they are doing. I'm trying to run a simple JSP example that I got out of a book. But I've modified it a bit to just play around with it. But it doesn't want to run. I'm starting to think it's something wrong with the way I'm building/installing the stuff. I'm running IBM WebSphere 4 and JBuilder 8. I was just wondering if you could look at my code just to make sure I'm doing this right.
It's a pretty simple example. A JSP calls a class to get a message to print out.
Here's the code for the class: (HelloWorld.java)
package helloworld;
public class HelloWorld
private String message = "No message specified";
public String getMessage()
return(message);
public void setMessage(String message)
this.message = message;
=================================================================
Here's the code for the JSP: (HelloWorld.jsp)
<html>
<head>
<title>Using JavaBeans with JSP</title>
</head>
<body>
<jsp:useBean id="helloWorld" class = "helloworld.HelloWorld" />
<ol>
<li>Initial Value (JSP Expression):
<%= helloWorld.getMessage() %></li>
<li><jsp:setProperty name="helloWorld"
property="message"
value="Hello World" />
Value after setting property with setProperty:
<jsp:getProperty name="helloWorld"
property="message" /></li>
</ol>
</body>
</html>
I just wanted to be able to test out a JSP hitting a class file. Does someone have a better/easier way to do this? Or do you see anything wrong with my example? Thanks in advance.The 1 thing missing in your example is the import directive for the helloworld.HelloWorld class.
Add the following line somewhere around the start of your jsp and things should be fine
<%@ page import="helloworld.HelloWorld" %>
Cheers -
Printing/ printing example problems
i needed to print something in a program i'm writing for a school assignment, so i searched the java site i found a example:
"http://java.sun.com/docs/books/tutorial/2d/printing/example-1dot2/ShapesPrint.java"
i picked the code parts that i needed and tried printing to a file, this didn't work, but no exceptions where thrown, so i tried printing to a different file type (i tried jpg/gif and bmp) non worked, so i tried printing for real, no effect. So i figured i was doing something wrong thus i copied the intire code, the code didn't print jack.
so i tried other examples which where very similar, same fx: no content what so ever, yet the file sizes differd depening on what needed to be drawn, so it did something.
now my question how do i print something?
i would be greatfull if someone would provide me with a working code example which can print to a file/paperif i'm correct the example prints the contents of a file to a specified file using the dialog.
i copied the example and specified a gif image to be printed, i gave the argument print to file in the dialog.
i also changed
DocFlavor flavor = DocFlavor.INPUT_STREAM.PNG; to
DocFlavor flavor = DocFlavor.INPUT_STREAM.GIF;
now the file dialog give a out.prn file in the textfield, i changed this to out.gif, which didn't work at all. i created a black gif file. without contents and it didn't match the originals file size.
so basically this didn't work.
also this is part of my problem i forgot to specify that i need to print contents of the program (in example a jtable / drawn strings etc, proberly a whole panel). this example doesn;t include that
i really need to get this working, so plz help me out here (btw remove the example from my first post from the java site it doesn't work)
Maybe you are looking for
-
Convert delimited list of numbers from function to use in SELECT IN () quer
Hey guys, I have to create a view based on some conditions. I have to get only the rows with specific IDs. I do the calculations for the logic using a function which returns a delimited list of the IDs. When I use this string in the query, it gives m
-
I just bought an Apple TV and i have a bose sounddock with a mini jack in the back and and optical cord with a mini adapter on it (so optical cord going into the Apple TV and the mini adapter on the other end going into my bose dock but i dont get so
-
Issues during F110 - Payment of invoice posted last year
Hi gurus, Last month we had some problems during the payment of several invoices because they have been posted last year. When the user is trying to pay it, the system shows the following message: u201CFI234 u2013 Different FM fiscal years: Invoice X
-
How do I calculate days from two different dates?
Hi all, How do I calculate days from two different dates? my requirement is to pass the number of days to target field from two dates. Current date : 14/04/2010 Standard date: 01/01/1957 is the standard = day 0 Is it possible in graphical mapping wi
-
Rates load(handling From & To fields to BPC-INPUTCURRENCY)
Hi Friends, I'm loading exchange rates information from BW cube(ZECURR) to Rate applicaton(BPC NW7.5 ). BW cube have below fields. From Currency(ZFCURR) To Currency(ZTCURR) Exchange Rate Type (ZKURST) Exchange Rate (ZUKURS) Rate application: R_ACCT(A