JDOM, JDK1.1.8 and Personal Java...

Has anyone succeeded in building a class with JDOM (XML), compiled with JDK 1.1.8 to run on a Personal Java ?
I'm trying to make a class that use JDOM, but I didn't even compile it on a JDK 1.1.8..

Yes. I'm using JDOM extensively on PJava platform. I have recompiled jdom.jar (there were some problems with the version available from the download site for jdk1.1.8), collections.jar (to be in java.uitl package) and crimson.jar.
It works fine.
Stan Berka

Similar Messages

  • Personal Java and Jeode??

    Once there is no Personal Profile available for Windows platforms, one solution I've heard about is using Personal Java and Jeode VM.
    As I can see, Jeode is a very good VM and supports some versions of standards Java versions..and Personal Java is no longer supported by Sun, but it's functional.
    Is there anybody who knows wich versions are usable? Looks like jdk 1.1.8..is there one newer?
    Any help appreciated.
    Thanks
    Ricardo

    There is a certified Win32 (and PocketPC) version of Personal Profile available with IBM's WSDD 5.6 Tech Preview. See:
    http://www-3.ibm.com/software/wireless/wsdd/upgrades_migrations.html

  • How to download Personal Java and how to run the application

    Hi,
    From java.sun.com, which file has to be downloaded for develpoing the application in personal java.
    How to run an application in peraonal java?
    If you give me the steps it will be more helpful to me.
    I couldn't find the samples for personal java anywhere?
    If you give me links for basic samples with source code such as hello world and small games, it will be more helpful to me.
    All of my doubts are very basic one.
    Please help me.
    Thanks in advance.
    Regards,
    Nagaraj.

    Sun has a beta implementation available for download (http://developer.java.sun.com/developer/earlyAccess/personaljava/) which will allow you to run Personal Java on a MIPS/SH3/StrongARM or XScale device running WindowsCE 2.0 or greater. You can also download the Personal Java Emulation environment (http://java.sun.com/products/personaljava/pj-emulation.html) which will allow you to develop and run personal java applications in a Windows or Solaris environment.
    Most JDK1.1.8 compliant applications will run on Personal Java, so a Hello World program would look like the regular.
    public static void main(String[] args) {
    System.out.println("Hello World");
    System.exit(0);
    You can also purchase a full blown commercial implementation of Personal Java for PocketPC at handango.com. Do a search on Insignia Jeode for Dell. You can use this on any PocketPC/XScale pda.
    To run a Personal Java program on Pocket PC. Deploy your jar to the Device and create a shortcut similar to this:
    50#"\program files\Java\bin\pjava.exe" -setcwd "\program files\Java\pjtest" -classpath "\program files\Java\pjtest\pjtest.jar" -file "pjtest.testmain.class"
    The number is arbitrary, but the paths need to point to the directory where you installed Personal java and your jar/application respectively.

  • Personal java and iPAQ

    Hi, I am confuse after reading all these stuff about personal java. I want to know, what do I need to do if I want to download personal java on my ipaq that uses windows CE. do I need to download jeode too or not. I appreciate any help.

    I don't know if I'd go that far exactly...
    I've had the most success with Jeode, but there is also Sun's pjava (beta, and not a full implementation), as well as CrEme: http://www.nsicom.com/products/creme.asp
    -Brad

  • Personal Java and XMLLight

    Hi,
    I've developed an application for a PDA with Windows CE, and the application run correctly in my PC with "pjava", but in my PDA no, because no search the xml file, and this file exist in the same directory that the class files.
    Thanks, Please Help me

    Ok,
    what is the main directory? If I install the xml file in the root directory, I've the same problem, my source is this,
    public void Buscar(int codigo){
         XMLLight.debug=true;
         String doc;
         String inFileName="\\proyecto.xml";/*select the xml file*/
         try{
              File inFile=new File(inFileName);/*Here the program fail*/
              if(!inFile.exists())
                   cod.setText("NFile");
                   return;
              FileInputStream inStream=new FileInputStream(inFile);
              int inBytes=inStream.available();
              byte inBuf[]=new byte[inBytes];
              int bytesRead=inStream.read(inBuf,0,inBytes);
              inStream.close();
              doc=new String(inBuf);
         catch(Exception e)
              cod.setText("E:"+e.getMessage());
              return;
              String clearDoc=XMLLight.clearComments(doc);
              Element elemRoot=XMLLight.getElem(clearDoc,"pfc");
              Element elemPubli=elemRoot.getElem("Publicaciones");
              Element elemRecor=elemPubli.getElem("RECORD");
              while(!elemRecor.isNull() && buscar==1){
                   Element elemCodi=elemRecor.getElem("Codigo");
                   Element elemAsig=elemRecor.getElem("Asignatura");
                   Element elemPre=elemRecor.getElem("Precio");
                   int valor;
                   tac=elemCodi.getText();
                   valor=Integer.valueOf(tac).intValue();
                   if(valor==codigo){
                        buscar=0;
                        des=elemAsig.getText();
                        pre=elemPre.getText();
                   elemRecor=elemPubli.getElem("RECORD");
    Personal Java has installed the classes to work with another files?

  • How to compile my java application for Personal Java??

    i write a simple program and want to run it in PJEE.
    program is:
    import java.awt.*;
    public class TestApp {
    public static void main(String[] args) {
    Frame f = new Frame();
    f.pack();
    f.setSize(300,300);
    f.show();
    and i compiled it using JDK1.4
    javac TestApp.javathen i want to test it by using pjava
    pjava TestAppbut i got a error message:
    Error loading class TestApp: Bad major version numberplease tell me what it is mean and how i can debug it, thanks.

    hi, all
    i have resolved my question by myself.
    because:
    |-> personal java
    |
    jdk1.1 -> jdk1.2 -> jdk1.4
    so, i must compile the java file by using jdk1.1.x
    :)

  • Jdk1.3, Windows98 and packages

    Using jdk1.3 on Windows 98, this is what happens: I make a super class Person packaged in person and two subclasses Boy and Girl also packaged in person. Then I write a class that imports person.* and instantiates Boy and Girl. However, I get a series of 'Cannot resolve symbol' compilation errors - one for each class that has failed to be imported. I've tried javac -classpath; I've tried putting the .java and .class files in the same folder; I've checked and rechecked my classpath settings. The only way to get around it is to write an 'import' for each class in the package one by one (import person.Person; import person.Boy; import person.Girl) - which is fine for now but what happens when there are more than three or four classes? Type out 50+ imports? SURELY there must be a reason the wildcard not being recognized?
    Any ideas?

    Nope. No java files that dont' match their packages and no class files with the same name. But I'll rename everything and try again just in case.
    Funny thing is that other people using 98 don't have this problem.
    I was thinking of zipping everything and putting the .jar file in ..\jre\lib\ext. Maybe that would work. But then while you're testing and debugging, wouldn't you have to keep remaking the .jar file so that it holds the most recent version of the class?
    I went back to the classpath again - just to double check. But I realised if it was a problem with the classpath, it wouldn't create the package and send the classes there in the first place. It definitely seems to be a problem with the '*' wildcard. Maybe I should e-mail Microsoft...
    But, hang on, it seems to be fine with anything imported from what the JDK, like when we did tokenizing and we did import java.util.StringTokenizer. This week we started events and we imported import java.awt.*, import javax.swing.*, import java.awt.event.* - no problem - so maybe it can't be the wildcard.
    Could it be the way the directory is set up? The jdk1.3 directory is straight off c drive: c:\jdk1.3. Then there is a development directory 'development' and a class directory 'classes' - both straight off c:\. So, c:\development and c:\classes. Other people have set up so that 'development' and 'classes' sit in a 'java' directory : c:\java\development and c:\java\classes.
    I don't have access to the machine now, I'll have to look on Monday.
    What do you think?

  • Are there Color issues with Gifs in Personal Java?

    I am using the pjavawince-1_1-beta-arm implementation of Personal Java.(because that's the only one that seems to actually be readily available, but that's a different issue...)
    I have a program that displays gif's, some with and some without transparency.
    The gif's look fine when I run the program in emulation on my laptop, both in JSE JDK1.1.8_009 and in JME PJEE3.1. However when I run the program on my Pocket PC 2002 PDA, the images appear with a lower resolution or number of colors. When I load the same images into PocketIE on the PDA, they appear fine.
    It appears that Personal Java is doing some sort of translation of the palette. For example, if a gif contains thirty shades of red, the personal java renders it with eight. Like the images are being remapped to a more generalized palette.
    It doesn't appear to be a transparency issue, because the same problem occurs with both.
    Does this problem occur for anyone else? Is it an issue of the Personal Java version or does it happen in both Personal Java 1.1.3 and 1.2? Is it an issue specific to Sun's Beta Personal Java VM? Does it happen in the Jeode JVM?

    Could you please tell me where to find pjavawince-1_1-beta-arm? I can't find it on the personal java page.. just the ones for mips and sh3.. Thanks

  • JDK1.2.2 and untrusted server chain and HELP

    Hi,
    I'm using JDK1.2.2 and I've downloaded and installed JSSE1.02. I have also installed the server cert in my own truststore.
    The server to whom I want to connect sends two certificates.
    One is valid and this is the one I need and I have and one that is timed out and of no importance for me...at least I guess it is.
    But my JSSE-application throws an this exception. For more detailled information I've attached the log:
    keyStore is :
    keyStore type is : jks
    init keystore
    init keymanager of type SunX509
    trustStore is: C:/NetDynamics50/java/jre/lib/security/lauerstore
    trustStore type is : jks
    init truststore
    adding as trusted cert: [
    Version: V3
    Subject: CN=inte.myaxa.de, OU=Executive Management, O=@AXA GmbH, L=Koeln, ST=NRW, C=DE
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@31cdcb27
    Validity: [From: Fri Jun 15 16:25:05 GMT+02:00 2001,
                   To: Sun Jun 15 16:25:05 GMT+02:00 2003]
    Issuer: [email protected], CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
    SerialNumber: [    080e20]
    Certificate Extensions: 2
    [1]: ObjectId: 2.5.29.19 Criticality=true
    BasicConstraints:[
    CA:false
    PathLen: undefined
    [2]: ObjectId: 2.5.29.37 Criticality=false
    Extension unknown: DER encoded OCTET string =
    0000: 04 17 30 15 06 08 2B 06 01 05 05 07 03 01 06 09 ..0...+.........
    0010: 60 86 48 01 86 F8 42 04 01 `.H...B..
    Algorithm: [MD5withRSA]
    Signature:
    0000: 32 D8 11 96 F5 66 CE 7A 2C DD 39 03 BB 54 41 66 2....f.z,.9..TAf
    0010: EE B7 6E 7A 95 57 73 C5 66 83 67 9C 35 B7 75 05 ..nz.Ws.f.g.5.u.
    0020: A1 6D 9D 36 A7 7A AA 12 CD AE 64 5B E5 F9 EE EF .m.6.z....d[....
    0030: 7C BB 63 7E 5A E6 9F BA 50 8F 92 A2 C6 FA B5 8B ..c.Z...P.......
    0040: 25 8B 95 37 AA C4 6D 7A C1 E6 DA 35 18 82 24 1A %..7..mz...5..$.
    0050: 9A 0D E3 A2 F1 3B 4D 35 C6 00 B7 E8 6B 14 0B 82 .....;M5....k...
    0060: BC E1 29 6E 24 10 27 B2 86 52 CD 85 C5 A9 CE 69 ..)n$.'..R.....i
    0070: D1 69 79 67 07 9E 8B A2 23 DA 97 36 F5 D8 57 57 .iyg....#..6..WW
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 983585972 bytes = { 41, 169, 119, 141, 169, 223, 159, 184, 182, 97, 133, 56, 227, 20, 209, 115, 225, 62, 106, 169, 106, 250, 37, 25, 45, 7, 25, 215 }
    Session ID: {}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 59
    0000: 01 00 00 37 03 01 3B A0 55 B4 29 A9 77 8D A9 DF ...7..;.U.).w...
    0010: 9F B8 B6 61 85 38 E3 14 D1 73 E1 3E 6A A9 6A FA ...a.8...s.>j.j.
    0020: 25 19 2D 07 19 D7 00 00 10 00 05 00 04 00 09 00 %.-.............
    0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
    Thread-6, WRITE: SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes: len = 77
    0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
    0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
    0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3B A0 55 .............;.U
    0030: B4 29 A9 77 8D A9 DF 9F B8 B6 61 85 38 E3 14 D1 .).w......a.8...
    0040: 73 E1 3E 6A A9 6A FA 25 19 2D 07 19 D7 s.>j.j.%.-...
    Thread-6, WRITE: SSL v2, contentType = 22, translated length = 16310
    Thread-6, READ: SSL v3.0 Handshake, length = 1599
    *** ServerHello, v3.0
    RandomCookie: GMT: 722821779 bytes = { 190, 56, 167, 5, 198, 89, 180, 112, 96, 251, 78, 78, 144, 103, 57, 130, 219, 11, 56, 169, 199, 73, 79, 241, 241, 131, 74, 145 }
    Session ID: {0, 154, 4, 1, 195, 195, 38, 26, 66, 92, 154, 191, 59, 96, 218, 24, 81, 133, 102, 48, 169, 26, 50, 42, 10, 49, 78, 150, 71, 182, 163, 33}
    Cipher Suite: { 0, 4 }
    Compression Method: 0
    %% Created: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
    ** SSL_RSA_WITH_RC4_128_MD5
    [read] MD5 and SHA1 hashes: len = 74
    0000: 02 00 00 46 03 00 2B 15 63 93 BE 38 A7 05 C6 59 ...F..+.c..8...Y
    0010: B4 70 60 FB 4E 4E 90 67 39 82 DB 0B 38 A9 C7 49 .p`.NN.g9...8..I
    0020: 4F F1 F1 83 4A 91 20 00 9A 04 01 C3 C3 26 1A 42 O...J. ......&.B
    0030: 5C 9A BF 3B 60 DA 18 51 85 66 30 A9 1A 32 2A 0A \..;`..Q.f0..2*.
    0040: 31 4E 96 47 B6 A3 21 00 04 00 1N.G..!...
    *** Certificate chain
    chain [0] = [
    Version: V3
    Subject: CN=inte.myaxa.de, OU=Executive Management, O=@AXA GmbH, L=Koeln, ST=NRW, C=DE
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@5f45cb24
    Validity: [From: Fri Jun 15 16:25:05 GMT+02:00 2001,
                   To: Sun Jun 15 16:25:05 GMT+02:00 2003]
    Issuer: [email protected], CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
    SerialNumber: [    080e20]
    Certificate Extensions: 2
    [1]: ObjectId: 2.5.29.19 Criticality=true
    BasicConstraints:[
    CA:false
    PathLen: undefined
    [2]: ObjectId: 2.5.29.37 Criticality=false
    Extension unknown: DER encoded OCTET string =
    0000: 04 17 30 15 06 08 2B 06 01 05 05 07 03 01 06 09 ..0...+.........
    0010: 60 86 48 01 86 F8 42 04 01 `.H...B..
    Algorithm: [MD5withRSA]
    Signature:
    0000: 32 D8 11 96 F5 66 CE 7A 2C DD 39 03 BB 54 41 66 2....f.z,.9..TAf
    0010: EE B7 6E 7A 95 57 73 C5 66 83 67 9C 35 B7 75 05 ..nz.Ws.f.g.5.u.
    0020: A1 6D 9D 36 A7 7A AA 12 CD AE 64 5B E5 F9 EE EF .m.6.z....d[....
    0030: 7C BB 63 7E 5A E6 9F BA 50 8F 92 A2 C6 FA B5 8B ..c.Z...P.......
    0040: 25 8B 95 37 AA C4 6D 7A C1 E6 DA 35 18 82 24 1A %..7..mz...5..$.
    0050: 9A 0D E3 A2 F1 3B 4D 35 C6 00 B7 E8 6B 14 0B 82 .....;M5....k...
    0060: BC E1 29 6E 24 10 27 B2 86 52 CD 85 C5 A9 CE 69 ..)n$.'..R.....i
    0070: D1 69 79 67 07 9E 8B A2 23 DA 97 36 F5 D8 57 57 .iyg....#..6..WW
    chain [1] = [
    Version: V1
    Subject: [email protected], CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@96e1cb27
    Validity: [From: Sat Jul 27 20:07:57 GMT+02:00 1996,
                   To: Mon Jul 27 20:07:57 GMT+02:00 1998]
    Issuer: [email protected], CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
    SerialNumber: [  0  ]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 8B 2F 9F B8 9F 5F 74 54 22 BB D8 5E DA 48 E0 33 ./..._tT"..^.H.3
    0010: 9F 01 19 13 A2 0C 26 EA 8E CE C1 57 65 F7 7C 85 ......&....We...
    0020: 84 37 17 EE 1E 6D D1 76 75 D4 C5 00 33 38 8A 75 .7...m.vu...38.u
    0030: D7 B7 AE 64 EF CD 46 08 50 26 28 63 96 F4 DF 62 ...d..F.P&(c...b
    0040: 30 18 C4 EF 76 27 25 2B E4 93 37 A3 4F DA 6E 67 0...v'%+..7.O.ng
    0050: BC 50 0C A8 94 F9 80 2E 4E FA 3F E3 06 E6 51 43 .P......N.?...QC
    0060: 88 B4 00 C6 10 AF 91 78 95 3F 28 04 99 E1 81 A7 .......x.?(.....
    0070: F0 E8 F2 FC 68 36 36 BC C1 C6 48 F9 7D FB BB 9F ....h66...H.....
    out of date cert: [
    Version: V1
    Subject: [email protected], CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@96e1cb27
    Validity: [From: Sat Jul 27 20:07:57 GMT+02:00 1996,
                   To: Mon Jul 27 20:07:57 GMT+02:00 1998]
    Issuer: [email protected], CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
    SerialNumber: [  0  ]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 8B 2F 9F B8 9F 5F 74 54 22 BB D8 5E DA 48 E0 33 ./..._tT"..^.H.3
    0010: 9F 01 19 13 A2 0C 26 EA 8E CE C1 57 65 F7 7C 85 ......&....We...
    0020: 84 37 17 EE 1E 6D D1 76 75 D4 C5 00 33 38 8A 75 .7...m.vu...38.u
    0030: D7 B7 AE 64 EF CD 46 08 50 26 28 63 96 F4 DF 62 ...d..F.P&(c...b
    0040: 30 18 C4 EF 76 27 25 2B E4 93 37 A3 4F DA 6E 67 0...v'%+..7.O.ng
    0050: BC 50 0C A8 94 F9 80 2E 4E FA 3F E3 06 E6 51 43 .P......N.?...QC
    0060: 88 B4 00 C6 10 AF 91 78 95 3F 28 04 99 E1 81 A7 .......x.?(.....
    0070: F0 E8 F2 FC 68 36 36 BC C1 C6 48 F9 7D FB BB 9F ....h66...H.....
    Thread-6, SEND SSL v3.0 ALERT: fatal, description = certificate_unknown
    Thread-6, WRITE: SSL v3.0 Alert, length = 2
    javax.net.ssl.SSLException: untrusted server cert chain
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Compiled Code)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Compiled Code)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Compiled Code)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Compiled Code)
         at java.io.OutputStream.write(OutputStream.java:65)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
         at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([DashoPro-V1.2-120198])
         at de.myaxa.application.adapter.SessionController.hitSession(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at de.myaxa.application.adapter.Command.execute(Compiled Code)
         at de.myaxa.application.adapter.MyAxaInterfaceServlet.doPost(MyAxaInterfaceServlet.java:117)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
         at netdyn.servlet.CNdServletRequestHandler.handleRequest(CNdServletRequestHandler.java:132)
         at netdyn.servlet.env.CNdRequestEnvironment.executeRequest(Compiled Code)
         at netdyn.servlet.env.CNdRequestEnvironment.executeRequest(CNdRequestEnvironment.java:427)
         at netdyn.servlet.env.CNdRequestEnvironment.executeRequest(CNdRequestEnvironment.java:376)
         at netdyn.servlet.CNdServletManager.handleRequest(CNdServletManager.java:347)
         at netdyn.services.cp.worker.CNdCPWorkerOperations.webEventMessage(CNdCPWorkerOperations.java:530)
         at netdyn.services.cp.worker.CNdCPWorkerImpl.webEventMessage(CNdCPWorkerImpl.java:82)
         at netdyn.services.cp.stubs._tie_INdCPWorker.webEventMessage(_tie_INdCPWorker.java:23)
         at netdyn.services.cp.stubs._INdCPWorkerImplBase._execute(_INdCPWorkerImplBase.java:73)
         at netdyn.services.cp.stubs._INdCPWorkerImplBase._execute(_INdCPWorkerImplBase.java:48)
         at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(Compiled Code)
         at com.visigenic.vbroker.orb.GiopProtocolAdapter.doRequest(Compiled Code)
         at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(Compiled Code)
         at com.visigenic.vbroker.orb.ThreadPoolDispatcher.run(Compiled Code)
         at com.visigenic.vbroker.orb.WorkerThread.run(Compiled Code)
    de.myaxa.application.adapter.SessionController@89c5cb25 : javax.net.ssl.SSLException: untrusted server cert chain :

    [ O66183],
    This exception occurs because of an invalid or expired certificate within a public key certificate chain that causes the JSSE to terminate abnormally.
    If you look at your log file, you can see an 'out of date cert' message. I have extracted that part of the log with this statement:
              <SNIPPED>
    out of date cert: [
    Version: V1
    Subject: EmailAddress=[email protected],
    , CN=Thawte Server CA, OU=Certification Services
    Division, O=Thawte Consulting cc, L=Cape Town,
    ST=Western Cape, C=ZA
    Signature Algorithm: MD5withRSA, OID =
    = 1.2.840.113549.1.1.4
    Key:
    com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@96e1cb27
    Validity: [From: Sat Jul 27 20:07:57 GMT+02:00
    0 1996,
    To: Mon Jul 27 20:07:57 GMT+02:00
    7:57 GMT+02:00 1998]
    Issuer: EmailAddress=[email protected],
    , CN=Thawte Server CA, OU=Certification Services
    Division, O=Thawte Consulting cc, L=Cape Town,
    ST=Western Cape, C=ZA
    SerialNumber: [  0  ]          <SNIPPED>
    HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • How to Set up the  variables and others to compile and Run Java Programs

    Hello,
    I have just downloaded the jdk1.6.0_07 and jre1.6.0_07 and installed it in C:\Program files\Java in my Windows XP ,So please tell me how to sett up the enviroment variables etc to compile and run Java Programs from Command Prompt.
    thanks

    To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable. Typically this full path looks something like C:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:
    1. Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System on Windows 2000.
    2. Click Advanced > Environment Variables.
    3. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
    C:\Program Files\Java\jdk1.6.0_<version>\bin

  • How Can I get personal java example source?

    i want to know how to program with p-java.
    How Can I get personal java example source?
    and where can i get them?

    pjava is pretty much the same as regular java 1.1.x, so you could just look at any java examples. www.javasoft.com has a learning center with tutorials if that's what you're looking for

  • Date - difference between JDK1.3.1 and 1.4.2 ???

    I tried running this piece of code on JDK1.3.1_08 and JDK1.4.2 - and the output i different! Why???
    import java.util.Date;
    import java.util.TimeZone;
    public class Test {
         public static void main(String[] args) {
              long longDate = Long.parseLong("-883620000000");
              Date date = new Date(longDate);
              TimeZone zone = TimeZone.getDefault();
              System.out.println("Zone : " + zone.getID());
              System.out.println("Date value : " + date.getTime());
              System.out.println("Date string: " + date.toString());
    Output with JDK1.3.1_08:
    Zone : Europe/Berlin
    Date value : -883620000000
    Date string: Wed Dec 31 23:00:00 CET 1941
    Output with JDK1.4.2
    Zone : Europe/Berlin
    Date value : -883620000000
    Date string: Thu Jan 01 00:00:00 CEST 1942
    This is pretty troublesome while my Swing Client is running on 1.4+ and the appserver on 1.3.1.

    It looks more like a timezone difference between the
    two. SDK 1.4 supports a much larger set of timezones than earlier versions of the language, and it looks like they are more historically correct too. No doubt there were changes in the daylight saving rules in Germany between 1941 and 1970 (you'll recall there were a lot of things going on back then), and my guess is that 1.4 is more likely to be correct.
    As limeybrit9 suggests, you may want to set a specific timezone to make your applications consistent.

  • Problems with JDBC on personal Java

    Hi,
    I am a PhD student in Napier University and work with PDAs and Java. I have installed Jeode 1.9 Runtime Environment which is a certified implementation of 1.2 Personal Java on my HP IPAQ PDA.
    I have the following code that works fine on my desktop, however produces an exception on my PDA (ERROR: java.lang.ClassNotFoundException: sun/jdbc/odbc/JdbcOdbcDriver)
    Thanks for your help!!!
    The code:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    public class WhoAmI2
    public static void main (String[] args)
    String LocalIP = new String();
    String LocalHome = new String();
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    /* the next 3 lines are Step 2 method 2 from above - you could use the direct
    access method (Step 2 method 1) istead if you wanted */
    String filename = "c:/CompInfo.mdb";
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database+= filename.trim() + ";DriverID=22;READONLY=true}"; // add on to the end
    // now we can get the connection from the DriverManager
    Connection con = DriverManager.getConnection( database ,"","");
    Statement s = con.createStatement();
    s.execute("create table Details ( OSName String, OSArch String, OSVer String, JavRunNam String, JavVMVer String, UserName String, UserCountry String, UserLang String, JavVMSpec String, JavRunVer String, JavVer String, Graphics String, SunArchDat String, SunCPUEnd String, SunUni String, SunCPUISA String, MainIP String, MainHost String, LocalIP String, LocalHost String )"); // create a table
    try
    // Properties p = new Properties(System.getProperties());
    // System.getProperties().list(System.out);
    InetAddress localaddr = InetAddress.getLocalHost () ;
    System.out.println ("OS Name : \t\t" + System.getProperty("os.name")) ;
    System.out.println ("OS Architecture : \t" + System.getProperty("os.arch")) ;
    System.out.println ("OS Version : \t\t" + System.getProperty("os.version")) ;
    System.out.println () ;
    System.out.println ("Java Runtime Name : \t" + System.getProperty("java.runtime.name")) ;
    System.out.println ("Java VM Version : \t" + System.getProperty("java.vm.version")) ;
    System.out.println () ;
    System.out.println ("Username : \t\t" + System.getProperty("user.name")) ;
    System.out.println ("User Country : \t\t" + System.getProperty("user.country")) ;
    System.out.println ("User Language : \t" + System.getProperty("user.language")) ;
    System.out.println () ;
    System.out.println ("Java VM Spec : \t\t" + System.getProperty("java.vm.specification.name")) ;
    System.out.println ("Java Runtime Version : \t" + System.getProperty("java.runtime.version")) ;
    System.out.println ("Java Version : \t\t" + System.getProperty("java.version")) ;
    System.out.println ("Graphics : \t\t" + System.getProperty("java.awt.graphicsenv")) ;
    System.out.println () ;
    System.out.println ("Sun Arch Datamodel : \t" + System.getProperty("sun.arch.data.model")) ;
    System.out.println ("Sun CPU Endian : \t" + System.getProperty("sun.cpu.endian")) ;
    System.out.println ("Sun Unicode : \t\t" + System.getProperty("sun.io.unicode.encoding")) ;
    System.out.println ("Sun CPU ISA : \t\t" + System.getProperty("sun.cpu.isalist")) ;
    System.out.println () ;
    System.out.println ( "main Local IP Address : " + localaddr.getHostAddress () );
    System.out.println ( "main Local hostname : " + localaddr.getHostName () );
    System.out.println () ;
    InetAddress[] localaddrs = InetAddress.getAllByName ( "localhost" ) ;
    for ( int i=0 ; i<localaddrs.length ; i++ )
    if ( ! localaddrs[ i ].equals( localaddr ) )
    System.out.println ( "alt Local IP Address : " + localaddrs[ i].getHostAddress () );
    System.out.println ( "alt Local hostname : " + localaddrs[ i].getHostName () );
    System.out.println () ;
    LocalIP=localaddrs[ i].getHostAddress ();

    I have the following code that works fine on my
    desktop, however produces an exception on my PDA
    (ERROR: java.lang.ClassNotFoundException:
    sun/jdbc/odbc/JdbcOdbcDriver)It looks as though Jeode doesn't come with the JDBC/ODBC bridge JDBC driver. You'll need to find another JDBC driver to use.

  • How to deploy and debug java web service in eclipes or using any other soft

    Hai,
    can any one tell me how to deploy and debug java web service in eclipes or using any other software.
    i have used tomcat web server and jdk1.4.0 to develop web service.
    we have used web service to interact with MS outlook .
    bye
    sudhakar.m

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • Problems with porting to Personal Java

    Hi all,
    I'm currently trying to port a java application to Personal Java to run on the jeode jvm. The application needs certain packages from Java standard Edition, packages like java.util.Properties.class etc. However when I add this package to the core jar of classes for jeode, my program still cannot see it. I keep getting a NoSuchMethod Error on java.util.Properties.setProperties. This method does exist, and I am calling it correctly.
    I'm just wondering if anyone has met this sort of a problem with jeode? Also packages like java.lang.object and java.lang.string don't appear in the main jar file for jeode? Does anyone know if this is correct?
    Many thanks for yor help in advance,
    Shane

    Hi all,
    I'm currently trying to port a java
    a java application to Personal Java to run on the
    jeode jvm. The application needs certain packages
    from Java standard Edition, packages like
    java.util.Properties.class etc. However when I add
    this package to the core jar of classes for jeode, my
    program still cannot see it. I keep getting a
    NoSuchMethod Error on
    java.util.Properties.setProperties. This method does
    exist, and I am calling it correctly.
    I suppose you mean java.util.Properties.setProperty(String, String) ? This API was added to Properties in Java 2, so it is not available in Personal Java. You will have to use put(Object, Object), which Properties inherits from Hashtable.
    As a suggestion, try running JavaCheck on your project to find uses of APIs not contained in the pjava spec.
    Regards,
    Alex

Maybe you are looking for

  • I can not open the messeges in hotmail , but explorer can open them !

    I can not open hotmail messages by fire fox 4 , but internet explorer can open the messages without any problems. I checked java in my pc and it is all right. I try many things like change security and privacy options but I can't solv the problem.

  • "Delete Everywhere"....Seriously?  I dont want to!!!

    iPhone 4:  iOS 6.0 OS:  Win 7 iTunes:  10.7.0.21 This seemed like a simple idea, even for Apple. I wanted to take my pictures from the camera roll and place them in folders to keep them organized.  Folders were created, no problem and pictures were m

  • Invalid element 'servlet-mapping' in content of 'web-app'

    Hello, JDev gurus! When compling, JDev 9.0.2.822 produce following error "oracle.xml.parser.v2.XMLParseException: Invalid element 'servlet-mapping' in content of 'web-app', expected elements '[taglib, resource-ref, security-constraint, login-config,

  • How to get Panel coordinates

    Hi All,             i have a panel in canvas layout.            if want to add one more panel immediate  next to the first panel i need to know  x, y coordinate of the first panel.             How can i know i the coordinates. Can any help me? thanks

  • The system cannot find the file -DRCU_HOME

    Hi, WHile running RCU for Oracle Data Integrator, I am getting the above error. I checked and the file exists. So not sure why this error happens. any help is really appreciated. Thanks Amit