• RELEVANCY SCORE 4.13

    DB:4.13:Java.Lang.Securityexception: Prohibited Package Name: Java.S kj





    Hi,I've installed JBoss 3.0.3 on a AS/400, it starts without problems but when I try to execute JDBC statements I get the following exception:2003-03-24 14:50:30,706 ERROR [STDERR] java.lang.SecurityException: Prohibited package name: java.sql2003-03-24 14:50:30,718 ERROR [STDERR] java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:90)2003-03-24 14:50:30,719 ERROR [STDERR] java/lang/Exception.(Ljava/lang/String;)V+1 (Exception.java:38)2003-03-24 14:50:30,719 ERROR [STDERR] java/lang/RuntimeException.(Ljava/lang/String;)V+1 (RuntimeException.java:43)2003-03-24 14:50:30,720 ERROR [STDERR] java/lang/SecurityException.(Ljava/lang/String;)V+1 (SecurityException.java:35)2003-03-24 14:50:30,720 ERROR [STDERR] java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+50 (ClassLoader.java:483)2003-03-24 14:50:30,720 ERROR [STDERR] java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+196 (URLClassLoader.java:287)2003-03-24 14:50:30,721 ERROR [STDERR] java/net/URLClassLoader.access$300(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+1 (URLClassLoader.java:64)2003-03-24 14:50:30,721 ERROR [STDERR] java/net/URLClassLoader$ClassFinder.run()Ljava/lang/Object;+42 (URLClassLoader.java:594)2003-03-24 14:50:30,722 ERROR [STDERR] java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+16 (URLClassLoader.java:200)2003-03-24 14:50:30,722 ERROR [STDERR].....Any idea??Thanks in advance,Andrea

    DB:4.13:Java.Lang.Securityexception: Prohibited Package Name: Java.S kj


    Hi,I've installed JBoss 3.0.3 on a AS/400, it starts without problems but when I try to execute JDBC statements I get the following exception:2003-03-24 14:50:30,706 ERROR [STDERR] java.lang.SecurityException: Prohibited package name: java.sql2003-03-24 14:50:30,718 ERROR [STDERR] java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:90)2003-03-24 14:50:30,719 ERROR [STDERR] java/lang/Exception.(Ljava/lang/String;)V+1 (Exception.java:38)2003-03-24 14:50:30,719 ERROR [STDERR] java/lang/RuntimeException.(Ljava/lang/String;)V+1 (RuntimeException.java:43)2003-03-24 14:50:30,720 ERROR [STDERR] java/lang/SecurityException.(Ljava/lang/String;)V+1 (SecurityException.java:35)2003-03-24 14:50:30,720 ERROR [STDERR] java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+50 (ClassLoader.java:483)2003-03-24 14:50:30,720 ERROR [STDERR] java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+196 (URLClassLoader.java:287)2003-03-24 14:50:30,721 ERROR [STDERR] java/net/URLClassLoader.access$300(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+1 (URLClassLoader.java:64)2003-03-24 14:50:30,721 ERROR [STDERR] java/net/URLClassLoader$ClassFinder.run()Ljava/lang/Object;+42 (URLClassLoader.java:594)2003-03-24 14:50:30,722 ERROR [STDERR] java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+16 (URLClassLoader.java:200)2003-03-24 14:50:30,722 ERROR [STDERR].....Any idea??Thanks in advance,Andrea

  • RELEVANCY SCORE 3.19

    DB:3.19:Class Java/Sql/Savepoint Not Found For Jdbc 79




    Hello,

    I try to access a database from a JAVA bean using the JDBC driver (of 10GR2)
    but there is an exception. The class java/sql/Savepoint is not found.
    I put the following jar files in the formsweb.cfg file and the form/java directory :
    - ojdbc14.jar
    - jdbc2_0-stdext.jar

    It seems that the jar file rt.jar contains this class but if I put it, I have the exception : SecurityException: prohibited package name : java.sql
    Could you help me to solve this ?

    Thank's
    Mike

    DB:3.19:Class Java/Sql/Savepoint Not Found For Jdbc 79

    Your version of Java (your JVM) is not recent enough
    to have the java.sql calls that driver wants to call.

    Joe Weinstein

  • RELEVANCY SCORE 3.15

    DB:3.15:Prohibited Package Name: Java.Util.Logging f1




    Got this when trying to run weblogic.appc to generate stubs skeletons for my ejbs.(Prohibited package name: java.util.logging)
    Any way to overcome this?

    DB:3.15:Prohibited Package Name: Java.Util.Logging f1


    make sure the java command you use is the one that ships with jdk141_03 (comes
    with weblogic).

    Cheenu cheenuv@rediffmail.com wrote:
    Got this when trying to run weblogic.appc to generate stubs skeletons
    for my ejbs.(Prohibited package name: java.util.logging)
    Any way to overcome this?

  • RELEVANCY SCORE 3.07

    DB:3.07:Classloader Troubles z3


    Hi,
    I have two instances of a custom classloader. ClassLoader1 (CL1) which is instantiated when the server starts and ClassLoader2 (CL2) is instantiated when a .war file is loaded. I watch when the java.lang classes are loaded by CL1. The problem is that CL2 needs some of those java classes. So when I load my .war file it needs classes like java.lang.Object and fails because it can't find that class. So I added the classpath (I can add classpaths from the classloader) to the rt.jar which gave the following error:

    Exception occured in handleRequest... java.lang.SecurityException: Prohibited package name: java.lang

    So is there a way around this? Can the two classloaders share java.io/lang etc. classes?

    Is there a way to switch between two loaders? The only way I've found it to use Class.forName(className,boolean,classloader). Is there any other way?

    Thanks,
    Ralph

    DB:3.07:Classloader Troubles z3

    Which function are you overriding to find the classes, you should be overriding findClass and not loadClass. FYI

  • RELEVANCY SCORE 3.06

    DB:3.06:Got "Java.Lang.Noclassdeffounderror: Java/Lang/Charsequence" c8


    Hi,

    I am not quite familiar with servlets, and this error i got is especially strange to me.

    I was calling a class in package B (all classes in package B are in one jar file, and the jar file is under WEB-INF\lib) from a servlet in package A, and I got "java.lang.NoClassDefFoundError: java/lang/CharSequence".

    java.lang.CharSequence is an interface as I know, and at nowhere in my program, this interface is being mentioned. where did this error come from? can anyone tell me? Thanks a lot.

    DB:3.06:Got "Java.Lang.Noclassdeffounderror: Java/Lang/Charsequence" c8

    You're right, it's an interface, but the important thing for your problem is that it only exists in Java 1.4. It looks like the JVM in your servlet container is 1.3 or earlier, and that's why it throws that exception. Look further down the stack trace until you find one of your servlets, and that may give you a hint where to start looking.

  • RELEVANCY SCORE 2.97

    DB:2.97:Variable Class$Java$Lang$String Is Not Public In Class 8s


    Hi All,
    I am trying to change the code in CO. When I am trying to compile the java code .
    I am getting following error

    Error(100,95): variable class$java$lang$String is not public in class oracle.apps.ota.common.webui.OtaOAControllerImpl; cannot be accessed from outside package
    Error(100,120): method _mthclass$(java.lang.String) not found in class oracle.apps.ota.admin.enrollment.webui.LrnrEnrollmentMaintainCO

    Thanks in Advance

  • RELEVANCY SCORE 2.95

    DB:2.95:Error In Exposing C Executable Wrapped By Java Class As Web Service ss


    I am trying to expose a C executable wrapped by Java Class as a Web Service, using JDeveloper 10.1.3.1.0, and I getting a "java.lang.SecurityException: Prohibited package name: java.lang.runtime", when I try to run the Web Service Proxy.

    Here is Java Class:

    package javacallc;
    import javax.jws.WebService;

    @WebService(name = "JavaCallSimpleCprogWS", serviceName = "JavaCallSimpleCprogWS")

    public class JavaCallSimpleC {
    public JavaCallSimpleC() {
    }

    public int invoke() throws java.io.IOException,
    java.lang.InterruptedException {
    String program =
    " C:\\Documents and Settings\\gaysubra\\My Documents\\Temp\\simplecprog.exe 11 12";
    System.out.println("invoking program: " + program);
    Process p = Runtime.getRuntime().exec(program);
    int exitValue = p.waitFor();
    System.out.println("exit val: " + p.exitValue());
    return exitValue;
    }
    }

    I tested this Java class in Jdev, and it works, the C executable gets executed correctly. Then I created a web service for this Java Class to expose the method 'invoke' in the web service. I deployed and tested the web service in the embedded OC4J. The deployment works fine, but when I test it in the browser I get an error "Unable to get header stream in saveChanges" when I call the 'invoke' method. Any idea what this error means?

    Then I created a Web service proxy for testing this web service further, but when I run the proxy client 'JavaCallSimpleCprogWSSoapHttpPortClient'
    I get the following exception:

    java.lang.SecurityException: Prohibited package name: java.lang.runtime
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at javacallc.runtime.JavaCallSimpleCService_SerializerRegistry.getRegistry(JavaCallSimpleCService_SerializerRegistry.java:31)
    at javacallc.runtime.JavaCallSimpleCService_Impl.init(JavaCallSimpleCService_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
    at javacallc.JavaCallSimpleCprogWSSoapHttpPortClient.init(JavaCallSimpleCprogWSSoapHttpPortClient.java:18)
    at javacallc.JavaCallSimpleCprogWSSoapHttpPortClient.main(JavaCallSimpleCprogWSSoapHttpPortClient.java:26)
    Process exited with exit code 0.

    The exception is about the package java.lang.runtime, and this package is needed to execute 'Runtime.getRuntime().exec(program)' in the Java Class. Any suggestions on how I can solve this problem will be helpful.

    Thanks

    DB:2.95:Error In Exposing C Executable Wrapped By Java Class As Web Service ss

    I am trying to expose a C executable wrapped by Java Class as a Web Service, using JDeveloper 10.1.3.1.0, and I getting a "java.lang.SecurityException: Prohibited package name: java.lang.runtime", when I try to run the Web Service Proxy.

    Here is Java Class:

    package javacallc;
    import javax.jws.WebService;

    @WebService(name = "JavaCallSimpleCprogWS", serviceName = "JavaCallSimpleCprogWS")

    public class JavaCallSimpleC {
    public JavaCallSimpleC() {
    }

    public int invoke() throws java.io.IOException,
    java.lang.InterruptedException {
    String program =
    " C:\\Documents and Settings\\gaysubra\\My Documents\\Temp\\simplecprog.exe 11 12";
    System.out.println("invoking program: " + program);
    Process p = Runtime.getRuntime().exec(program);
    int exitValue = p.waitFor();
    System.out.println("exit val: " + p.exitValue());
    return exitValue;
    }
    }

    I tested this Java class in Jdev, and it works, the C executable gets executed correctly. Then I created a web service for this Java Class to expose the method 'invoke' in the web service. I deployed and tested the web service in the embedded OC4J. The deployment works fine, but when I test it in the browser I get an error "Unable to get header stream in saveChanges" when I call the 'invoke' method. Any idea what this error means?

    Then I created a Web service proxy for testing this web service further, but when I run the proxy client 'JavaCallSimpleCprogWSSoapHttpPortClient'
    I get the following exception:

    java.lang.SecurityException: Prohibited package name: java.lang.runtime
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at javacallc.runtime.JavaCallSimpleCService_SerializerRegistry.getRegistry(JavaCallSimpleCService_SerializerRegistry.java:31)
    at javacallc.runtime.JavaCallSimpleCService_Impl.init(JavaCallSimpleCService_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
    at javacallc.JavaCallSimpleCprogWSSoapHttpPortClient.init(JavaCallSimpleCprogWSSoapHttpPortClient.java:18)
    at javacallc.JavaCallSimpleCprogWSSoapHttpPortClient.main(JavaCallSimpleCprogWSSoapHttpPortClient.java:26)
    Process exited with exit code 0.

    The exception is about the package java.lang.runtime, and this package is needed to execute 'Runtime.getRuntime().exec(program)' in the Java Class. Any suggestions on how I can solve this problem will be helpful.

    Thanks

  • RELEVANCY SCORE 2.91

    DB:2.91:Re: Problem With Decompiled Java File pk


    Same Type of Code i am not able compile , I have done decompilation using JAD

    Class aclass[] = {
    AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, oracle.jbo.domain.Number.class, oracle.jbo.domain.Number.class, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String,
    AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String, AkAttachHolderCO.class$java$lang$String == null ? (AkAttachHolderCO.class$java$lang$String = AkAttachHolderCO._mthclass$("java.lang.String")) : AkAttachHolderCO.class$java$lang$String
    };

    DB:2.91:Re: Problem With Decompiled Java File pk

    Tapash,
    I think compiler better than jad encore, is not available on net, most of the java community use jad or jad based tools.But as far as this thread is concerned, i guess as mentioned on jad homepage, compiling with jdk version 1.2 might work.
    I will advice to try to compile using
    javac -source 1.2 *.java
    --Mukul

  • RELEVANCY SCORE 2.91

    DB:2.91:Getting Exception While Creating Java From Wsdl/Xml kk


    Hi

    I created a webservice ear using the atg webservices wizard.
    when i hit the endpoint url for the wsdl
    http://localhost:8080/inventory/inventory?WSDL

    i can see the xml of my inventory webservice.

    I have a axis2 plugin in my eclipse to generate the java from wsdl/xml.

    when i put the end point url in it i get an exception
    java.lang.InterruptedException
    http://localhost:8080/atg.security.wsdl not found

    To resolve this i saved the xml from the browser and placed it with other wsdls and xmls (the war file location generated by atg) and pointed to the directory from the axis2 wizard.

    Now at the last step of generating the classes i get the error:

    java.lang.InterruptedException
    'SecurityException of fault message '{http://atg.com/webservices}securityException' must be defined with 'element=QName' and not type='Qname'

    I m afraid i m not able to attach the screenshots here but please see the inventory.xml below from where i m creating the classes.

    Also note, if i delete all the tags related to Security Exception from the xml, the classes gets generated fine.

    ?xml version="1.0" encoding="UTF-8"?definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://www.atg.com/atg.security" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.atg.com/webservices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.atg.com/webservices"
    types
    schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.atg.com/webservices"/
    /types
    import location="atg.security.wsdl" namespace="http://www.atg.com/atg.security"/
    message name="inventoryServiceInput"
    part name="xmlContent" type="xsd:string"/
    /message
    message name="inventoryServiceOutput"
    part name="return" type="xsd:string"/
    /message
    message name="SecurityException"
    part name="SecurityException" type="ns1:SecurityException"/
    /message
    portType name="InventoryServiceSEI"
    operation name="inventoryService"
    input message="tns:inventoryServiceInput"/
    output message="tns:inventoryServiceOutput"/
    fault message="tns:SecurityException" name="SecurityException"/
    /operation
    /portType
    binding name="InventoryServiceSEIBinding" type="tns:InventoryServiceSEI"
    operation name="inventoryService"
    input
    soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.atg.com/webservices" use="encoded"/
    /input
    output
    soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.atg.com/webservices" use="encoded"/
    /output
    fault name="SecurityException"
    soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.atg.com/webservices" use="encoded"/
    /fault
    soap:operation soapAction=""/
    /operation
    soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/
    /binding
    service name="InventoryServiceSEIService"
    port binding="tns:InventoryServiceSEIBinding" name="InventoryServiceSEIPort"
    soap:address location="http://localhost:8080/inventory/inventory/inventoryService"/
    /port
    /service
    /definitions

    Thanks

    DB:2.91:Getting Exception While Creating Java From Wsdl/Xml kk

    So it's clear that the namespace is wrong "http://www.atg.com/atg.security", but was is the correct location then?

  • RELEVANCY SCORE 2.80

    DB:2.80:Java.Telephony: Prohibited Package Name ??? f1


    I have already added some packages, but that's the first
    time, i get this nice exception. Could somebody explain to me: How can i integrate this ? Thanx.

    DB:2.80:Java.Telephony: Prohibited Package Name ??? f1

    Do you remember what happened the last time a third party tried to modify the java. packages?

  • RELEVANCY SCORE 2.76

    DB:2.76:I Am Getting Erro Like Garbage Valus When I Compiled .Class File To .Java za


    can u give me any idea

    // Referenced classes of package oracle.apps.per.wpm.objectives.webui:
    // ObjectivesPageCO

    public class SupWorkerScorecardsCO extends ObjectivesPageCO
    {

    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    {
    if(oapagecontext.isLoggingEnabled(1))
    oapagecontext.writeDiagnostics(this, "Entering processRequest..", 1);
    super.processRequest(oapagecontext, oawebbean);
    String s = oapagecontext.getDecryptedParameter("pPlanId");
    String s1 = (String)oapagecontext.getSessionValue("SELECTED_MGR_ID");
    String s2 = (String)oapagecontext.getTransactionTransientValue("CreatorId");
    if(s != null !"".equals(s) s1 != null !"".equals(s1))
    {
    Serializable aserializable[] = {
    s1, s, s2, (String[])oapagecontext.getTransactionTransientValue("DisplayTypes")
    };
    Class aclass[] = {
    PerOAControllerImpl.class$java$lang$String == null ? (PerOAControllerImpl.class$java$lang$String = mthclass$("java.lang.String")) : PerOAControllerImpl.class$java$lang$String, PerOAControllerImpl.class$java$lang$String == null ? (PerOAControllerImpl.class$java$lang$String = mthclass$("java.lang.String")) : PerOAControllerImpl.class$java$lang$String, PerOAControllerImpl.class$java$lang$String == null ? (PerOAControllerImpl.class$java$lang$String = _mthclass$("java.lang.String")) : PerOAControllerImpl.class$java$lang$String, java.lang.String[].class
    };

    Regards
    Chandra

    DB:2.76:I Am Getting Erro Like Garbage Valus When I Compiled .Class File To .Java za

    This I have mentioned in similar previous threads also, there are some scenarios where JAD cannot generate exact code, some of them along with their fix have been mentioned on JAD home page, please go through it and see if its solves ur problem.

    --Mukul

  • RELEVANCY SCORE 2.76

    DB:2.76:Creating A Class Browser 77


    Hi;

    Whats the best way to create a class browser? there are not too may examples in creating a class browser. I tried studieng http://java.sun.com/developer/technicalArticles/Parser/SeriesPt2/ but somehow it wont compile correctly w/ the new java. So what I did was to study reflection which somehow provides good approach however in doing this I need to call the underlying class which does not fit my idea. What if there are no classes yet? plain java text file? whats the best approach in parsing it?

    Here's what I got so far but this instanciates the class which I dont really like cause this wont parse a java file?

    package com.soan.jm;

    import java.lang.reflect.Constructor;
    import java.lang.reflect.Method;

    public class JClassBrowser {

    public JClassBrowser() {

    UnitDemo test = new UnitDemo();

    readClass(test);
    printConstructor(test);
    printMethods(test);
    }

    private void readClass(Object object) {
    Class file = object.getClass();
    String name = file.getName();
    System.out.println("Class Name :\t" + name);
    }

    @SuppressWarnings("unchecked")
    private void printConstructor(Object object) {
    try {
    Class file = object.getClass();
    Constructor name = file.getConstructor();
    System.out.println("Constructor :\t" + name);
    } catch (SecurityException e) {
    e.printStackTrace();
    } catch (NoSuchMethodException e) {
    e.printStackTrace();
    }
    }

    private void printMethods(Object object) {
    Class file = object.getClass();
    Method[] name = file.getDeclaredMethods();

    System.out.println("\nDecleared Methods :\n");

    for (int i = 0; i name.length; i++) {
    System.out.println("" + name);
    }
    }

    public static void main(String[] args) {
    JClassBrowser x = new JClassBrowser();
    }
    }

    Thanks for your time . . .
    The_Developer

    DB:2.76:Creating A Class Browser 77

    I was able to create my own class browser through the use of JTree and reading the text of java code blocks and catch them using string tokenizer.

  • RELEVANCY SCORE 2.75

    DB:2.75:How Do You Get A Midlet To Quit At An Arbitrary Position? 33


    how do you get a midlet to quit at an arbitrary position? when i use 'Runtime.getRuntime().exit(0)' or 'System.exit(0)' i get:

    Uncaught exception java/lang/SecurityException:
    MIDP lifecycle does not support system exit.

    DB:2.75:How Do You Get A Midlet To Quit At An Arbitrary Position? 33

    oooh. egg on face. after posting i googled on system.exit( and found 'notifyDestroyed();'. sorry to waste your time.

  • RELEVANCY SCORE 2.75

    DB:2.75:Java Stack / Server_0 Process Is Not Starting Anymore 9z



    Hello,

    our server_0 process is not starting anymore. We changed the JVM (IBM -- SAP).

    We get the following error message (std_server0.out):

    --------------------------------------------------------------------------------

    node name : server0

    pid : 8432

    system name : SM3

    system nr. : 18

    started at : Thu Sep 27 09:33:39 2012

    [Thr 46962674353696] MtxInit: 10001 0 2

    ?xml version="1.0" ?

    verbosegc version="200902_24"

    Exception in thread "(unnamed thread)" java/lang/NoSuchMethodError: java/lang/ClassLoader.callerClassLoader()Ljava/lang/ClassLoader;

    at java/lang/Class.forName (Class.java:118)

    at java/lang/ref/ReferenceQueue.class$ (ReferenceQueue.java:28)

    at java/lang/ref/ReferenceQueue.clinit (ReferenceQueue.java:28)

    at java/lang/J9VMInternals.initializeImpl (Native Method)

    at java/lang/J9VMInternals.initialize (J9VMInternals.java:196)

    at java/lang/Class.clinit (Class.java:1631)

    at java/lang/J9VMInternals.initializeImpl (Native Method)

    at java/lang/J9VMInternals.initialize (J9VMInternals.java:196)

    JVMJ9VM015W Initialization error for library jclscar_23(14): JVMJ9VM009E J9VMDllMain failed

    /verbosegc

    Can someone help us?

    Kind regards,

    Joern Wegener

    DB:2.75:Java Stack / Server_0 Process Is Not Starting Anymore 9z


    Hi Jorn,

    It means that a loading issue happened due to an JVM initialization

    issue.

    Please follow SAP note 1331962 .

    Regards,

    Vipin

  • RELEVANCY SCORE 2.75

    DB:2.75:Java/Lang/Noclassdeffounderror: Java/Io/Serializable In Javafx z9


    Hi everybody!
    I'm wondering, but I have next problem with serialization. There are 2 classes A and Main:

    package javafxapplication2;
    import java.io.Serializable;

    public class A extends Serializable {

    }

    ----------------------------------------------------------

    package javafxapplication2;

    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.text.Text;
    import javafx.scene.text.Font;

    var a = new A();
    println(a);

    Stage {
    title: "Application title"
    width: 250
    height: 80
    scene: Scene {
    content: Text {
    font : Font {
    size : 16
    }
    x: 10, y: 30
    content: "Application content"
    }
    }
    }

    When I compiled that I got next exception:

    Error preverifying class javafxapplication2.A$Intf
    java/lang/NoClassDefFoundError: java/io/Serializable
    ERROR: preverify execution failed, exit code: 1
    D:\Tmp\JavaFXApplication2\nbproject\build-impl.xml:143: exec returned: -1
    BUILD FAILED (total time: 21 seconds)

    Why java/lang/NoClassDefFoundError: java/io/Serializable? I'm wondering ...
    I use JDK 1.6.0_13 and NetBeans 6.5.1 with JavaFx

    DB:2.75:Java/Lang/Noclassdeffounderror: Java/Io/Serializable In Javafx z9

    It looks like you are compiling and running this code for the mobile emulator. Open the run profile in NetBeans and make sure that you have selected the option for standard execution.

  • RELEVANCY SCORE 2.74

    DB:2.74:Error While Acessing Remote Oracle Client System (Exceptionjava.Lang.Securi 1d


    (Exceptionjava.lang.SecurityException: Prohibited package name: java.sql)

    I am acessing a remote oracle client system from my computer using a java program with type 4 JDBC drivers. i am getting the above error in my system. but the same code is working on other systems. Iam on 9i and the client system is also 9i but it is not working.and it is working on 8i client system uploading data to 9iserver system.

    please help me in solving the error,
    mails may please be sent to talktobugs@yahoo.com.

    with regards....

    DB:2.74:Error While Acessing Remote Oracle Client System (Exceptionjava.Lang.Securi 1d

    This is probably not the right forum for Java and JDBC questions. The Jdeveloper forum should do the trick.

  • RELEVANCY SCORE 2.71

    DB:2.71:Help? jm


    I get this error and am new to java. I do not know what to do..
    Whenever

    java.lang.SecurityException: Prohibited package name: java
    at java.lang.ClassLoader.defineClass(ClassLoader.java:524)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Exception in thread "main"

    DB:2.71:Help? jm

    Sorry missed that } but I've had this error for days now even with code that previously compiled as well as ran fine now nothing makes it to run :\

  • RELEVANCY SCORE 2.65

    DB:2.65:Java.Lang.Securityexception: Jsr 177 Access For This Connection Is Not Permitted pp


    I tried running the following code to open an APDUConnection with a UICC based SIM card . I already receivced NFCR signing key and registered.
    public byte[] openChannel(byte[] aid) throws SException {byte[] res = null;try{ SecureElement se = SecureElementManager.getInstance().getSecureElement(SecureElement.SIM); String uri = se.getUri(aid);

    conn = (APDUConnection)Connector.open(uri); // uri is returnedapdu:0;target=ffffffa0.0.0.0.3.0.0.0res = new byte[]{(byte) 0x90,(byte) 0x00};}catch (IOException e) { throw new SException(SExceptionInfo.NOT_OPEN_CONNECT);} catch (Exception e) { logger.error(e.toString(), e);}return res;}

    I got the following Exception:
    Class: SecurityException
    java.lang.IllegalArgumentException: Invalid AID
    So Itried to open an APDU connection using the URI direnctly APDUConnection connection = (APDUConnection)Connector.open("apdu:0;target=a0.00.00.00.03.00.00.00");and then I got the following Exception:Class: SecurityExceptionMessage:JSR 177 access for this connection is not permitted

    DB:2.65:Java.Lang.Securityexception: Jsr 177 Access For This Connection Is Not Permitted pp


    The BAD AID is a consequence of getUri() having a known issue. See NFC developer FAQ #13

    http://supportforums.blackberry.com/t5/Java-Development/NFC-Developer-FAQ/ta-p/1634793

    The JSR177 "...connection.... not permitted" error probably relates to the existence of an Access Control File (ACF) on the UICC.




    --------------------------------------------------------------------------------------------Feel free to press the like button on the right side if you liked my attempts to help :-)And please mark posts as solved if you think I found the solution or set you on its path. Thanks!Follow me on Twitter: @mdwrim

  • RELEVANCY SCORE 2.64

    DB:2.64:Helloworld -- Compilation Problem sa


    My current OS is Slackware Linux 9.1 with JSDK 1.4.2.05 installed. I am compiling a simple HelloWorld class but keeps on getting the a strange error (see the last part). I have no idea on how I can resolve this issue. THanks in advance for any advice, tips or help that you can give..

    thanks!

    jm

    -----------------------------------------------------------

    File: HelloWorld.java

    public class HelloWorld {

    public static void main(String[] args) {
    System.out.println("Hello, World");
    }

    }

    ----------------------------------------------------------------------------------------

    /usr/local/java - /usr/local/j2sdk1.4.2_05/

    Environment Variables

    export JAVA_HOME=/usr/local/java
    export PATH=.:$PATH:$JAVA_HOME/bin
    export CLASSPATH=.:$JAVA_HOME/src.zip:$JAVA_HOME/lib/tools.jar
    export RESIN_HOME=/usr/local/resin-3

    #update CLASSPATH resin
    export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/doom.jar:$RESIN_HOME/lib/jca-15.jar
    export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/jmx-12.jar:$RESIN_HOME/lib/jsdk-24.jar
    export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/jstl.jar:$RESIN_HOME/lib/jta-101.jar
    export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/webutil.jar

    ----------------------------------------------------------------------------------------

    root@theMatrix:~/tests# javac HelloWorld.java 11 HelloWorld.error
    root@theMatrix:~/tests# ls -la
    total 24
    drwxr-xr-x 2 root root 4096 Sep 11 15:42 .
    root@theMatrix:~/tests# javac HelloWorld.java
    /usr/local/java/src.zip(java/lang/Object.java):20: class Object is public, should be declared in a file named Object.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/Class.java):77: class Class is public, should be declared in a file named Class.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/reflect/Member.java):22: class Member is public, should be declared in a file named Member.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/reflect/Field.java):33: class Field is public, should be declared in a file named Field.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/reflect/Method.java):34: class Method is public, should be declared in a file named Method.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/reflect/Constructor.java):32: class Constructor is public, should be declared in a file named Constructor.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/reflect/Modifier.java):35: class Modifier is public, should be declared in a file named Modifier.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/reflect/InvocationTargetException.java):24: class InvocationTargetException is public, should be declared in a file named InvocationTargetException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/ref/SoftReference.java):47: class SoftReference is public, should be declared in a file named SoftReference.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/InputStream.java):28: class InputStream is public, should be declared in a file named InputStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/ObjectStreamClass.java):47: class ObjectStreamClass is public, should be declared in a file named ObjectStreamClass.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/ObjectStreamField.java):22: class ObjectStreamField is public, should be declared in a file named ObjectStreamField.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/AccessController.java):230: class AccessController is public, should be declared in a file named AccessController.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/PrivilegedAction.java):24: class PrivilegedAction is public, should be declared in a file named PrivilegedAction.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/ArrayList.java):82: class ArrayList is public, should be declared in a file named ArrayList.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Collection.java):81: class Collection is public, should be declared in a file named Collection.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/HashSet.java):69: class HashSet is public, should be declared in a file named HashSet.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Iterator.java):31: class Iterator is public, should be declared in a file named Iterator.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/List.java):89: class List is public, should be declared in a file named List.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/LinkedList.java):71: class LinkedList is public, should be declared in a file named LinkedList.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/LinkedHashSet.java):98: class LinkedHashSet is public, should be declared in a file named LinkedHashSet.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Set.java):65: class Set is public, should be declared in a file named Set.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/Serializable.java):104: class Serializable is public, should be declared in a file named Serializable.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/String.java):89: class String is public, should be declared in a file named String.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/UnsupportedEncodingException.java):16: class UnsupportedEncodingException is public, should be declared in a file named UnsupportedEncodingException.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Comparator.java):79: class Comparator is public, should be declared in a file named Comparator.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Locale.java):163: class Locale is public, should be declared in a file named Locale.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/regex/Matcher.java):78: class Matcher is public, should be declared in a file named Matcher.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/regex/Pattern.java):579: class Pattern is public, should be declared in a file named Pattern.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/regex/PatternSyntaxException.java):23: class PatternSyntaxException is public, should be declared in a file named PatternSyntaxException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/Comparable.java):82: class Comparable is public, should be declared in a file named Comparable.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/CharSequence.java):32: class CharSequence is public, should be declared in a file named CharSequence.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/ClassNotFoundException.java):36: class ClassNotFoundException is public, should be declared in a file named ClassNotFoundException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/Exception.java):20: class Exception is public, should be declared in a file named Exception.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/Throwable.java):129: class Throwable is public, should be declared in a file named Throwable.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/ClassLoader.java):127: class ClassLoader is public, should be declared in a file named ClassLoader.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/IOException.java):22: class IOException is public, should be declared in a file named IOException.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/File.java):92: class File is public, should be declared in a file named File.java
    (source unavailable)
    /usr/local/java/src.zip(java/net/MalformedURLException.java):21: class MalformedURLException is public, should be declared in a file named MalformedURLException.java
    (source unavailable)
    /usr/local/java/src.zip(java/net/URL.java):94: class URL is public, should be declared in a file named URL.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/AccessControlContext.java):61: class AccessControlContext is public, should be declared in a file named AccessControlContext.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/CodeSource.java):30: class CodeSource is public, should be declared in a file named CodeSource.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/Policy.java):77: class Policy is public, should be declared in a file named Policy.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/PrivilegedActionException.java):32: class PrivilegedActionException is public, should be declared in a file named PrivilegedActionException.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/PrivilegedExceptionAction.java):27: class PrivilegedExceptionAction is public, should be declared in a file named PrivilegedExceptionAction.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/ProtectionDomain.java):35: class ProtectionDomain is public, should be declared in a file named ProtectionDomain.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Enumeration.java):46: class Enumeration is public, should be declared in a file named Enumeration.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Hashtable.java):104: class Hashtable is public, should be declared in a file named Hashtable.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/HashMap.java):100: class HashMap is public, should be declared in a file named HashMap.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Stack.java):26: class Stack is public, should be declared in a file named Stack.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Map.java):79: class Map is public, should be declared in a file named Map.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Vector.java):61: class Vector is public, should be declared in a file named Vector.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/InstantiationException.java):22: class InstantiationException is public, should be declared in a file named InstantiationException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/IllegalAccessException.java):42: class IllegalAccessException is public, should be declared in a file named IllegalAccessException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/reflect/AccessibleObject.java):36: class AccessibleObject is public, should be declared in a file named AccessibleObject.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/Package.java):87: class Package is public, should be declared in a file named Package.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/StringTokenizer.java):86: class StringTokenizer is public, should be declared in a file named StringTokenizer.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/FileInputStream.java):31: class FileInputStream is public, should be declared in a file named FileInputStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/FileNotFoundException.java):26: class FileNotFoundException is public, should be declared in a file named FileNotFoundException.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/jar/JarInputStream.java):28: class JarInputStream is public, should be declared in a file named JarInputStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/jar/Manifest.java):32: class Manifest is public, should be declared in a file named Manifest.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/jar/Attributes.java):35: class Attributes is public, should be declared in a file named Attributes.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/jar/JarException.java):19: class JarException is public, should be declared in a file named JarException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/SecurityException.java):17: class SecurityException is public, should be declared in a file named SecurityException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/RuntimeException.java):24: class RuntimeException is public, should be declared in a file named RuntimeException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/NoSuchFieldException.java):17: class NoSuchFieldException is public, should be declared in a file named NoSuchFieldException.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/NoSuchMethodException.java):18: class NoSuchMethodException is public, should be declared in a file named NoSuchMethodException.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/OutputStream.java):29: class OutputStream is public, should be declared in a file named OutputStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/ref/Reference.java):24: class Reference is public, should be declared in a file named Reference.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/StringBuffer.java):71: class StringBuffer is public, should be declared in a file named StringBuffer.java
    (source unavailable)
    /usr/local/java/src.zip(java/text/MessageFormat.java):330: class MessageFormat is public, should be declared in a file named MessageFormat.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/Cloneable.java):36: class Cloneable is public, should be declared in a file named Cloneable.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/StackTraceElement.java):22: class StackTraceElement is public, should be declared in a file named StackTraceElement.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/PrintStream.java):35: class PrintStream is public, should be declared in a file named PrintStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/FilterOutputStream.java):28: class FilterOutputStream is public, should be declared in a file named FilterOutputStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/PrintWriter.java):32: class PrintWriter is public, should be declared in a file named PrintWriter.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/Writer.java):33: class Writer is public, should be declared in a file named Writer.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/ObjectOutputStream.java):122: class ObjectOutputStream is public, should be declared in a file named ObjectOutputStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Arrays.java):39: class Arrays is public, should be declared in a file named Arrays.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/ObjectOutput.java):22: class ObjectOutput is public, should be declared in a file named ObjectOutput.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/DataOutput.java):32: class DataOutput is public, should be declared in a file named DataOutput.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/ObjectStreamConstants.java):17: class ObjectStreamConstants is public, should be declared in a file named ObjectStreamConstants.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/Dictionary.java):33: class Dictionary is public, should be declared in a file named Dictionary.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/cert/Certificate.java):44: class Certificate is public, should be declared in a file named Certificate.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/PublicKey.java):29: class PublicKey is public, should be declared in a file named PublicKey.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/NoSuchAlgorithmException.java):18: class NoSuchAlgorithmException is public, should be declared in a file named NoSuchAlgorithmException.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/NoSuchProviderException.java):18: class NoSuchProviderException is public, should be declared in a file named NoSuchProviderException.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/InvalidKeyException.java):19: class InvalidKeyException is public, should be declared in a file named InvalidKeyException.java
    (source unavailable)
    /usr/local/java/src.zip(java/security/SignatureException.java):17: class SignatureException is public, should be declared in a file named SignatureException.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/AbstractList.java):55: class AbstractList is public, should be declared in a file named AbstractList.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/AbstractCollection.java):43: class AbstractCollection is public, should be declared in a file named AbstractCollection.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/RandomAccess.java):48: class RandomAccess is public, should be declared in a file named RandomAccess.java
    (source unavailable)
    /usr/local/java/src.zip(java/util/AbstractMap.java):47: class AbstractMap is public, should be declared in a file named AbstractMap.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/ClassFormatError.java):20: class ClassFormatError is public, should be declared in a file named ClassFormatError.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/LinkageError.java):21: class LinkageError is public, should be declared in a file named LinkageError.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/Error.java):28: class Error is public, should be declared in a file named Error.java
    (source unavailable)
    /usr/local/java/src.zip(java/net/SocketPermission.java):120: class SocketPermission is public, should be declared in a file named SocketPermission.java
    (source unavailable)
    /usr/local/java/src.zip(java/io/ByteArrayInputStream.java):27: class ByteArrayInputStream is public, should be declared in a file named ByteArrayInputStream.java
    (source unavailable)
    /usr/local/java/src.zip(java/lang/IllegalArgumentException.java):20: class IllegalArgumentException is public, should be declared in a file named IllegalArgumentException.java
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2572: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2572: not a statement
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2641: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2662: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2696: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2707: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2719: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/net/URI.java):2721: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/net/InetAddress.java):695: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/charset/CharsetEncoder.java):561: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/charset/CharsetEncoder.java):579: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/charset/CharsetDecoder.java):561: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/charset/CharsetDecoder.java):579: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/charset/CoderResult.java):263: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):105: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):191: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):301: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):696: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):716: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):749: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):769: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):813: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):832: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):887: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):2134: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):2135: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):2246: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):2259: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):2266: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):2271: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/FloatingDecimal.java):2272: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):59: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):217: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):269: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):274: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):286: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):307: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):332: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):479: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):570: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):661: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):752: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):843: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBuffer.java):934: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/Bits.java):632: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/CharacterDataLatin1.java):284: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/lang/CharacterData.java):956: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBufferR.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBufferR.java):479: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBufferR.java):570: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBufferR.java):661: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBufferR.java):752: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBufferR.java):843: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectByteBufferR.java):934: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):34: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):57: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):123: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):173: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):34: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):57: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):123: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):173: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):217: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):269: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):274: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):286: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):307: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):332: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferU.java):378: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferS.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferS.java):217: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
    (source unavailable)
    /usr/local/java/src.zip(java/nio/DirectCharBufferS.java):269:

    DB:2.64:Helloworld -- Compilation Problem sa

    Hi, I may have read an old docs :) thank you very much :)

  • RELEVANCY SCORE 2.63

    DB:2.63:Securityexception k1


    DB:2.63:Securityexception k1

    Hi,

    Try upgrading to the latest service pack (sp12). If that doesn't help you might try opening a case with support, but WLS
    5.1 doesn't have a good story for graceful shutdowns and they may not be able to do anything for you unless you can make
    a case that this is causing a serious problem in your situation.

    Regards,
    Michael

    Jen wrote:

    Hi,
    I use cluster in memory replication. when i shut down one server,
    the other server picked up but have the follwing exception:

    java.lang.SecurityException:
    at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.java:76)
    at weblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(RemoteContextFactoryImpl_WLStub.java:95)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:316)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:242)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:205)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.cluster.replication.ReplicationManager.getRepMan(ReplicationManager.java:363)
    at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:699)
    at weblogic.servlet.internal.session.ReplicatedSession.sync(ReplicatedSession.java:375)
    at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:59)
    at weblogic.servlet.internal.ServletRequestImpl.syncSession(ServletRequestImpl.java:1298)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:945)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

    How to fix it? WLS5.1 and SP8

    Thanks

    --
    Michael Young
    Developer Relations Engineer
    BEA Support

  • RELEVANCY SCORE 2.63

    DB:2.63:Java/Lang/Nosuchmethodexception: Java.Lang.Classloader.Addclass c9


    package com.bruce;
    import java.io.*;

    public class FileTest {
    public static void main(String[] args) {
    File MyDir = new File("D:/Java_prj/Java/.");
    String[] FileNames = MyDir.list();
    for (int i = 0; i FileNames.length; i++)
    System.out.println(FileNames); //Print all files in this directory.
    }
    }

    When I run this application, an error message appear below:
    Error occurred during initialization of VM
    java/lang/NoSuchMethodException: java.lang.ClassLoader.addClass

    Is there any problem with my code?I'm using JDK1.3.

  • RELEVANCY SCORE 2.62

    DB:2.62:Java.Lang.Securityexception: Prohibited Package Name: Java.Security p1


    Hi everybody,
    I'm trying to encrypt a cookie using the library cryptic31.jar, that is actually very old...
    When I try to call a class of this package I get this error:

    java.lang.SecurityException: Prohibited package name: java.security
    java.lang.SecurityException: Prohibited package name: java.security at java.lang.ClassLoader.defineClass(ClassLoader.java:524) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:480) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:182) at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:61) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:224) at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at jsp_servlet._ep.__cookie._jspService(cookie.jsp:42) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I use WebLogic 8.1 as Web Server and jdk1.4.2.
    Can anyone help me please?
    Thanks!

    DB:2.62:Java.Lang.Securityexception: Prohibited Package Name: Java.Security p1

    Hmm, by "cryptic" do you by any chance mean "cryptix"?

    Cryptix 3.1 would indeed be pretty ancient and quite possibly incompatible with the security features of current Java versions ( JDK 1.2).

    The Cryptix APIs have changed since 3.1. And AFAIK Cryptix looks a bit like abandonware. Last I looked for a replacement I came across recommendations for Bouncy Castle. It may be a better replacement if you take the plunge and upgrade to JCE APIs. Try googling find any Cryptix vs Bouncy Castle comparisons and alternatives.

  • RELEVANCY SCORE 2.60

    DB:2.60:Jmx - Securityexception pf


    I am trying to implement JMX with JDK1.6
    while i am trying to get the RuntimeMXBean with the following invocation:

    RuntimeMXBean mxbean=ManagementFactory.getRuntimeMXBean();

    and i am getting the below exception,

    Exception in thread "main" java.lang.SecurityException: Prohibited package name: java.lang.management
    at java.lang.ClassLoader.defineClass(ClassLoader.java:776)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:147)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:474)
    at java.net.URLClassLoader.access$500(URLClassLoader.java:108)
    at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:846)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:389)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:370)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:562)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
    at JVMPackage.JVMRuntimeClient.main(JVMRuntimeClient.java:360)

    Can you please tell me how to fix this?
    I have tried deleting the policy files under JRE_HOME\jre\lib\security folder, still its the same...
    Do i need to do anything additionally to load the class files..?
    i logged in as adminstrator, do i need to have any more privileges to run this program...
    Please help me ASAP...

    DB:2.60:Jmx - Securityexception pf


    I had observed the same problem of Security Exception. The Problem was due to JRE 1.4. Pls try with JR 1.6 and it works with no issues.

    If you are using Eclipse IDE, ensure that Execution Environment set at Runtime is set to JRE 1.6.

    I just tried the sample program available in Sun Website for JMX Implementation and it works.

  • RELEVANCY SCORE 2.59

    DB:2.59:Nullpointerexception In Java.Util.Logging pp


    Hi all ,

    I am doing logging in my J2EE project , below are the classes.
    When i add logger name = "javaapplication3.Testlogging", the logging is ok.
    However when i changed it to my package name to "gvintranet.com", the logging is not working. Any one have ideas what happening here ? Is bug in java logging ?

    I have using jdk 1.6 in jboss server.

    public class ActionManager {

    protected static DatabaseAction databaseAction = new DatabaseAction();
    protected static LoggerAction loggerAction = new LoggerAction();

    public static DatabaseAction getDatabaseAction(){
    return databaseAction;
    }

    public static LoggerAction getLoggerAction(){
    return loggerAction;
    }

    }

    public class LoggerAction {

    /** Creates a new instance of LoggerAction */
    protected LoggerAction() {
    }

    public Logger process() throws Exception

    {

    try {
    LoggerManager.config();
    return LoggerManager.getLogger("javaapplication3.Testlogging");

    } catch(Exception ex) {
    throw new Exception("Fail to config Logger.", ex);
    }

    }

    }

    public class LoggerManager {

    protected static LogManager logManager = LogManager.getLogManager();

    public static synchronized void config() throws Exception {

    InputStream is = null;
    try {
    is = new FileInputStream(new File("/opt/jboss-4.0.5.GA/server/default/log/logging.properties"));
    } catch (FileNotFoundException ex) {
    throw new Exception("Fail to found logging.properties.", ex);
    }
    try {
    logManager.readConfiguration(is);
    } catch (SecurityException ex) {
    throw new Exception("Fail to get security privileges.", ex);
    } catch (IOException ex) {
    throw new Exception("Fail to read logging properties.", ex);
    }

    }

    public static Logger getLogger(String name) {
    return logManager.getLogger(name);
    }

    public static void addLogger(Logger logger){

    logManager.addLogger(logger);

    }

    }

    Test jsp file for testing logging below:

    %

    LoggerAction loggerAction = ActionManager.getLoggerAction();
    Logger logger = null;

    try{

    logger = loggerAction.process();
    System.out.println("logger:" + logger);

    LoggerManager.addLogger(logger);
    logger.info("testing 1223");

    } catch(Exception ex){
    ex.printStackTrace();
    }
    %

    DB:2.59:Nullpointerexception In Java.Util.Logging pp

    Hi all ,

    I am doing logging in my J2EE project , below are the classes.
    When i add logger name = "javaapplication3.Testlogging", the logging is ok.
    However when i changed it to my package name to "gvintranet.com", the logging is not working. Any one have ideas what happening here ? Is bug in java logging ?

    I have using jdk 1.6 in jboss server.

    public class ActionManager {

    protected static DatabaseAction databaseAction = new DatabaseAction();
    protected static LoggerAction loggerAction = new LoggerAction();

    public static DatabaseAction getDatabaseAction(){
    return databaseAction;
    }

    public static LoggerAction getLoggerAction(){
    return loggerAction;
    }

    }

    public class LoggerAction {

    /** Creates a new instance of LoggerAction */
    protected LoggerAction() {
    }

    public Logger process() throws Exception

    {

    try {
    LoggerManager.config();
    return LoggerManager.getLogger("javaapplication3.Testlogging");

    } catch(Exception ex) {
    throw new Exception("Fail to config Logger.", ex);
    }

    }

    }

    public class LoggerManager {

    protected static LogManager logManager = LogManager.getLogManager();

    public static synchronized void config() throws Exception {

    InputStream is = null;
    try {
    is = new FileInputStream(new File("/opt/jboss-4.0.5.GA/server/default/log/logging.properties"));
    } catch (FileNotFoundException ex) {
    throw new Exception("Fail to found logging.properties.", ex);
    }
    try {
    logManager.readConfiguration(is);
    } catch (SecurityException ex) {
    throw new Exception("Fail to get security privileges.", ex);
    } catch (IOException ex) {
    throw new Exception("Fail to read logging properties.", ex);
    }

    }

    public static Logger getLogger(String name) {
    return logManager.getLogger(name);
    }

    public static void addLogger(Logger logger){

    logManager.addLogger(logger);

    }

    }

    Test jsp file for testing logging below:

    %

    LoggerAction loggerAction = ActionManager.getLoggerAction();
    Logger logger = null;

    try{

    logger = loggerAction.process();
    System.out.println("logger:" + logger);

    LoggerManager.addLogger(logger);
    logger.info("testing 1223");

    } catch(Exception ex){
    ex.printStackTrace();
    }
    %

  • RELEVANCY SCORE 2.59

    DB:2.59:Application Error, "Security Java/Lang/Securityexc... a8


    When i try to open some applications (sensor for example), phone (nokia 6233) gives me this error:

    Application error, "security java/lang/securityexception Access denied"

    Any help?

    DB:2.59:Application Error, "Security Java/Lang/Securityexc... a8

    i have nokia 6300 and i will open any Application he sead

    security java/lang/securityexception Access denied

    what i do

    plz help
    ....

  • RELEVANCY SCORE 2.57

    DB:2.57:Java.Lang.Securityexception: Prohibited Package Name: Java.Lang dd


    Hi all,

    The below idl works under via idl2java compiler under jdk1.1.8.
    And I upgraded jdk to jdk1.4.1-2 and I compiled same idl using idlj (v3.1).
    No error when I compile all, but I got errors when I run my client.

    Any help would be appreciated.

    java.lang.SecurityException: Prohibited package name: java.lang
    at java.lang.ClassLoader.defineClass(ClassLoader.java:499)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:310)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at PortaClient1.asi_get_queue_id(PortaClient1.java:171)
    at PortaClient1.get_queue(PortaClient1.java:97)
    at PortaClient.init(PortaClient.java:17)
    at PortaClient.main(PortaClient.java:33)

    This is my IDL;

    module java {
    module lang {
    typedef sequencechar sequence_of_char;
    valuetype StringBuffer {
    public ::java::lang::sequence_of_char value;
    public long count;
    public boolean shared;
    };
    valuetype _Object
    {
    };
    };
    module util {
    typedef sequence::java::lang::_Object sequence_of_java_lang_Object;
    valuetype Vector {
    public ::java::util::sequence_of_java_lang_Object elementData;
    public long elementCount;
    public long capacityIncrement;
    };
    };
    };

    DB:2.57:Java.Lang.Securityexception: Prohibited Package Name: Java.Lang dd

    The same is true if you try to load a "java." class from the rt.jar but from a class loader that isn't the parent class loader to the system class loader. Is there any permission that can be altered in order for non-system class loaders to be able to define "java." class files?

  • RELEVANCY SCORE 2.55

    DB:2.55:Java.Lang.Securityexception: Jsr 177 Access For This Connection Is Not Permitted 3j



    I'm trying to communicate with a SIM card using the APDUConnection with the SAT target, but I get this exception:

    "java.lang.SecurityException: JSR 177 access for this connection is not permitted"

    private final String kURL = "apdu:0;target=SAT";

    public void Test()
    {
    APDUConnection acn = null;
    try
    {
    //Create an APDUConnection object
    acn = (APDUConnection) Connector.open(kURL);

    // ...

    }
    catch( SecurityException e)
    {
    String exceptionMsg = "SecurityException: " + e.toString();
    System.err.println(exceptionMsg);
    }
    // ...
    }

    The documentation hints that I am not allowed to change a PIN, but in this case, I'm just trying to open the connection.

    What's the problem?

    DB:2.55:Java.Lang.Securityexception: Jsr 177 Access For This Connection Is Not Permitted 3j

    There is no carrier for.now. This is a proof of concept BB smartphone SimCard project. We have a consultant making the SimCart c++ based OS. Once the proof of concept is done, we will talk with carrier(s) to put their OS/App on our SimCard.The sim card exchanges APDU just fine with PC/SC.I want to do the same using my BB Java application.

  • RELEVANCY SCORE 2.54

    DB:2.54:How Can I Get A Heapdump File In Jrockit R26.3 Or Latter Version xc


    I had tried "-Djrockit.oomdiagnostics.filename=oom.txt" arg,but it didn't work.
    how can i get a heapdump file in JRockit R26.3 or latter version ?

    I can only get the under infomation by using a ctrlhandler.act file.
    ======== BEGIN OF HEAPDIAGNOSTIC =========================

    Invoked from ctrlbreakhandler

    Total memory in system: 402075648 bytes
    Available physical memory in system: 54231040 bytes
    -Xmx (maximal heap size) is 314572800 bytes
    Heapsize: 314572800 bytes
    Free heap-memory: 0 bytes

    mmStartCompaction = 0x01DC0000, mmEndCompaction = 0x03080000

    3 GB mode was not used

    --------- Detailed Heap Statistics: ---------
    59.1% 110757k 1360491 +110757k [C
    17.0% 31916k 1361767 +31916k java/lang/String
    16.6% 31021k 1323579 +31021k java/util/HashMap$Entry
    4.7% 8766k 1909 +8766k [Ljava/util/HashMap$Entry;
    0.8% 1470k 2256 +1470k [B
    0.3% 491k 480 +491k [Lweblogic/servlet/utils/URLMatchMap$URLMatchNode;
    0.2% 342k 4871 +342k java/lang/Class
    0.2% 283k 3942 +283k [Ljava/lang/Object;
    0.1% 215k 1536 +215k [I
    0.1% 172k 7376 +172k java/util/Hashtable$Entry
    0.1% 157k 1552 +157k weblogic/management/tools/AttributeInfo
    0.0% 83k 2421 +83k [Ljava/lang/String;
    0.0% 83k 299 +83k [Ljava/util/Hashtable$Entry;
    0.0% 74k 1900 +74k java/util/HashMap
    0.0% 71k 1530 +71k java/lang/reflect/Method
    0.0% 62k 472 +62k weblogic/servlet/internal/ServletStubImpl
    0.0% 61k 461 +61k weblogic/management/runtime/ServletRuntimeMBean_Stub
    0.0% 55k 2383 +55k java/util/ArrayList
    0.0% 50k 3227 +50k java/lang/Integer
    0.0% 48k 1552 +48k weblogic/management/internal/DynamicMBeanImpl$XAttributeInfo
    0.0% 48k 1229 +48k java/util/WeakHashMap$Entry
    0.0% 43k 1840 +43k java/lang/ref/WeakReference
    0.0% 41k 528 +41k weblogic/rmi/internal/MethodDescriptor
    0.0% 38k 1768 +38k [Ljava/lang/Class;
    0.0% 38k 1637 +38k javax/management/modelmbean/DescriptorSupport$Pair
    0.0% 37k 805 +37k weblogic/management/WebLogicObjectName
    0.0% 34k 480 +34k [Lweblogic/servlet/utils/URLMatchMap$URLExtensionNode;
    0.0% 33k 532 +33k weblogic/management/tools/OperationInfo
    0.0% 32k 461 +32k weblogic/servlet/internal/ServletRuntimeMBeanImpl
    0.0% 30k 982 +30k java/lang/ref/SoftReference
    0.0% 26k 419 +26k weblogic/servlet/internal/dd/ServletDescriptor
    0.0% 20k 423 +20k [Lweblogic/utils/collections/ConcurrentHashMap$Entry;
    0.0% 19k 423 +19k weblogic/utils/collections/ConcurrentHashMap
    0.0% 19k 1222 +19k java/util/jar/Attributes$Name
    0.0% 18k 100 +18k [Ljava/lang/reflect/Method;
    0.0% 17k 447 +17k weblogic/servlet/utils/URLMatchMap$URLMatchNode
    0.0% 17k 12 +17k [J
    0.0% 16k 425 +16k weblogic/servlet/internal/dd/UIDescriptor
    0.0% 16k 684 +16k javax/management/MBeanParameterInfo
    0.0% 15k 480 +15k weblogic/servlet/utils/URLMatchMap
    0.0% 14k 471 +14k java/util/TreeMap$Entry
    0.0% 14k 453 +14k javax/management/modelmbean/DescriptorSupport
    0.0% 14k 638 +14k [Ljavax/management/MBeanParameterInfo;
    0.0% 13k 431 +13k weblogic/servlet/internal/dd/ServletMappingDescriptor
    0.0% 13k 852 +13k com/octetstring/vde/syntax/DirectoryString
    0.0% 13k 431 +13k [S
    0.0% 12k 553 +12k java/util/Vector
    0.0% 11k 302 +11k java/lang/Package
    0.0% 11k 369 +11k weblogic/xml/util/TernarySearchTree$Node
    0.0% 11k 727 +11k java/lang/Boolean
    0.0% 10k 266 +10k java/util/Hashtable
    0.0% 9k 182 +9k java/net/URL
    0.0% 9k 15 +9k [Ljava/util/WeakHashMap$Entry;
    0.0% 9k 386 +9k weblogic/rmi/internal/ClientMethodDescriptor
    0.0% 8k 158 +8k com/octetstring/vde/schema/AttributeType
    0.0% 8k 90 +8k weblogic/logging/WLServerLogRecord
    0.0% 8k 211 +8k weblogic/management/commo/CommoModelMBeanAttributeInfo
    0.0% 8k 2 +8k [Lcom/octetstring/vde/backend/standard/KeyPtr;
    0.0% 7k 322 +7k jrockit/vm/FCECache$FCE
    0.0% 7k 471 +7k weblogic/servlet/internal/URLMatchHelper
    0.0% 7k 58 +7k [Lweblogic/management/tools/AttributeInfo;
    0.0% 7k 58 +7k [Lweblogic/management/internal/DynamicMBeanImpl$XAttributeInfo;
    0.0% 6k 288 +6k weblogic/utils/collections/ConcurrentHashMap$Entry
    0.0% 6k 431 +6k java/util/HashMap$EntrySet
    0.0% 6k 428 +6k java/util/jar/Attributes
    0.0% 6k 156 +6k jrockit/memory/SoftCache$ValueCell
    0.0% 5k 379 +5k java/lang/Long
    0.0% 5k 751 +5k java/lang/Object
    0.0% 5k 77 +5k java/util/GregorianCalendar
    0.0% 5k 231 +5k java/util/LinkedList$Entry
    0.0% 5k 32 +5k weblogic/kernel/ExecuteThread
    0.0% 4k 25 +4k weblogic/rmi/internal/BasicRuntimeDescriptor
    0.0% 4k 111 +4k [Z
    0.0% 4k 204 +4k com/octetstring/vde/backend/standard/KeyPtr
    0.0% 4k 301 +4k com/bea/utils/misc/ProcessProperty
    0.0% 4k 49 +4k weblogic/apache/xerces/impl/dv/xs/XSSimpleTypeDecl
    0.0% 4k 73 +4k weblogic/jndi/internal/ApplicationNamingNode
    0.0% 4k 58 +4k weblogic/management/tools/Info
    0.0% 4k 290 +4k java/lang/Byte
    0.0% 4k 289 +4k java/lang/Short
    0.0% 4k 57 +4k [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry;
    0.0% 4k 275 +4k java/lang/Character
    0.0% 4k 108 +4k java/math/BigInteger
    0.0% 4k 60 +4k weblogic/management/commo/ModelMBeanTypeMBean
    0.0% 4k 106 +4k java/util/TreeMap
    0.0% 4k 172 +4k java/text/EntryPair
    0.0% 3k 99 +3k weblogic/management/commo/CommoModelMBeanOperationInfo
    0.0% 3k 12 +3k weblogic/management/configuration/WebAppComponentMBean_Stub
    0.0% 3k 81 +3k sun/util/calendar/ZoneInfo
    0.0% 3k 9 +3k [Lweblogic/utils/collections/WeakConcurrentHashMap$Entry;
    0.0% 3k 95 +3k sun/misc/SoftCache$ValueCell
    0.0% 3k 93 +3k weblogic/management/commo/CommoModelMBeanInfoSupport
    0.0% 3k 115 +3k weblogic/servlet/internal/dd/ParameterDescriptor
    0.0% 3k 108 +3k javax/management/ObjectName
    0.0% 3k 104 +3k java/lang/StackTraceElement
    0.0% 3k 137 +3k java/io/ExpiringCache$Entry
    0.0% 3k 58 +3k [Lweblogic/management/tools/OperationInfo;
    0.0% 3k 7 +3k weblogic/servlet/internal/WebAppServletContext
    0.0% 3k 49 +3k jrockit/vm/ObjectMonitor
    0.0% 2k 191 +2k java/util/HashSet
    0.0% 2k 91 +2k java/util/ResourceBundle$LoaderReference
    0.0% 2k 121 +2k weblogic/management/commo/Commo$Pair
    0.0% 2k 4 +2k [Ljrockit/vm/FCECache$FCE;
    0.0% 2k 7 +2k [[Ljava/lang/String;
    0.0% 2k 30 +2k weblogic/management/internal/ConfigurationMBeanImpl
    0.0% 2k 107 +2k jrockit/reflect/VirtualNativeMethodInvoker
    0.0% 2k 12 +2k weblogic/management/configuration/ApplicationMBean_Stub
    0.0% 2k 73 +2k java/lang/ThreadLocal$ThreadLocalMap$Entry
    0.0% 2k 97 +2k java/util/LinkedList
    0.0% 2k 95 +2k weblogic/apache/xerces/util/SymbolHash$Entry
    0.0% 2k 56 +2k com/octetstring/vde/schema/ObjectClass
    0.0% 2k 93 +2k sun/security/util/ObjectIdentifier
    0.0% 2k 92 +2k java/util/ResourceBundle$ResourceCacheKey
    0.0% 2k 92 +2k java/util/regex/Pattern$Range
    0.0% 2k 91 +2k com/octetstring/vde/backend/standard/KeyEidList
    0.0% 2k 25 +2k [Lweblogic/management/commo/CommoModelMBeanAttributeInfo;
    0.0% 2k 12 +2k weblogic/management/mbeans/custom/Application
    0.0% 1k 25 +1k [Lweblogic/rmi/internal/MethodDescriptor;
    0.0% 1k 81 +1k weblogic/management/internal/Pair
    0.0% 1k 30 +1k com/bea/utils/misc/Process
    0.0% 1k 86 +1k [Lweblogic/management/WebLogicObjectName;
    0.0% 1k 58 +1k weblogic/management/internal/DynamicMBeanImpl$XInfo
    0.0% 1k 33 +1k sun/net/www/protocol/jar/URLJarFile
    0.0% 1k 38 +1k java/util/jar/JarFile
    0.0% 1k 74 +1k javax/management/NotificationBroadcasterSupport$Triple
    0.0% 1k 72 +1k com/sun/management/jmx/MBeanServerNotificationListener
    0.0% 1k 12 +1k weblogic/management/mbeans/custom/WebAppComponent
    0.0% 1k 72 +1k weblogic/management/internal/OnewayNotificationListenerImpl
    0.0% 1k 4 +1k [Lcom/sun/corba/se/internal/util/IdentityHashtableEntry;
    0.0% 1k 30 +1k [Lcom/bea/utils/misc/ProcessProperty;
    0.0% 1k 70 +1k java/util/Collections$SynchronizedList
    0.0% 1k 2 +1k weblogic/management/configuration/ServerMBean_Stub
    0.0% 1k 51 +1k weblogic/rmi/internal/PhantomRef
    0.0% 1k 3 +1k [Ljava/util/TimerTask;
    0.0% 1k 49 +1k weblogic/apache/xerces/dom/DeferredAttrImpl
    0.0% 1k 39 +1k weblogic/jndi/internal/WLEventContextImpl
    0.0% 1k 19 +1k weblogic/rmi/internal/BasicServerRef
    0.0% 1k 92 +1k jrockit/memory/AtomicIntImpl
    0.0% 1k 90 +1k weblogic/utils/DebugCategory
    0.0% 1k 59 +1k javax/management/loading/MLetContent
    0.0% 1k 16 +1k java/util/jar/JarFile$JarFileEntry
    0.0% 1k 87 +1k weblogic/utils/collections/Stack
    0.0% 1k 57 +1k java/lang/ThreadLocal$ThreadLocalMap
    0.0% 1k 13 +1k weblogic/jndi/internal/AdminRoleBasedDispatchServerRef
    0.0% 1k 13 +1k [Ljava/lang/Byte;
    0.0% 1k 41 +1k weblogic/xml/babel/scanner/Token
    0.0% 1k 25 +1k [Lweblogic/management/commo/CommoModelMBeanOperationInfo;
    0.0% 1k 53 +1k java/util/Collections$SynchronizedRandomAccessList
    0.0% 1k 52 +1k java/util/Date
    0.0% 1k 12 +1k java/text/DecimalFormat
    0.0% 1k 38 +1k sun/misc/URLClassPath$JarLoader
    0.0% 1k 6 +1k weblogic/management/runtime/WebAppComponentRuntimeMBean_Stub
    0.0% 1k 15 +1k [Lweblogic/apache/xerces/util/SymbolHash$Entry;
    0.0% 1k 48 +1k java/util/Locale
    0.0% 1k 14 +1k weblogic/common/internal/PeerInfo
    0.0% 1k 20 +1k sun/nio/cs/ext/GBK$Encoder
    0.0% 1k 44 +1k [Ljavax/management/NotificationBroadcasterSupport$Triple;
    0.0% 1k 23 +1k weblogic/jndi/internal/ServerNamingNode
    0.0% 1k 20 +1k [[B
    0.0% 1k 27 +1k java/lang/reflect/Constructor
    0.0% 1k 33 +1k java/util/zip/Inflater
    0.0% 1k 1 +1k [Ljava/lang/Character;
    0.0% 1k 1 +1k [Ljava/lang/Short;
    0.0% 1k 1 +1k [Ljava/lang/Integer;
    0.0% 1k 43 +1k sun/security/util/DerValue
    0.0% 1k 43 +1k sun/security/util/DerInputBuffer
    0.0% 1k 43 +1k java/security/AccessControlContext
    0.0% 0k 9 +0k java/lang/Thread
    0.0% 0k 21 +0k java/util/Properties
    0.0% 0k 31 +0k java/util/Collections$SynchronizedSortedMap
    0.0% 0k 31 +0k weblogic/servlet/utils/URLMatchMap$URLExtensionNode
    0.0% 0k 4 +0k weblogic/management/configuration/JMSQueueMBean_Stub
    0.0% 0k 11 +0k weblogic/kernel/ExecuteThreadManager
    0.0% 0k 6 +0k weblogic/j2ee/J2EEApplicationContainer
    0.0% 0k 20 +0k java/nio/HeapByteBuffer
    ......
    187413kB total ---

    --------- End of Detailed Heap Statistics ---
    ------------------- Printing heap ---------------------
    "o"/"p" = 1k normal/pinned objects
    "O"/"P" = 50k normal/pinned objects
    "."/"/" = 1k normal/pinned objects (fragmentation)
    " "/"_" = 1k/50k free space
    -------------------------------------------------------
    OOOOoooooooooooooooooooooooooooooooooooooooooooooo0x00B3BD08
    ........oooooooooooooooooooooooooooooooooooooooooo0x00B48058
    oooo....ooooooooooooooooooooo.....ooo..........OOO0x00B6C278
    OOOOooooooooooooooooooooooo....ooooooooooooooooooo0x00BB42D0
    oooooooooooooo.ooo..oooooooooooooooooooooooooooooo0x00BC0620
    oooooooooooooo.Ooooooooooooooooooooooooooooooooooo0x00BD88D8
    oo.....Ooooooooooooooooooooooooooooooooooooooooo..0x00BF0B90
    ...oooooooooooooooooooooooooooooooooooooooooooo...0x00BFCEE0
    ...ooooo.....................................Ooooo0x00C15198
    oooooooooooooooooooooooooooooooooo................0x00C214E8
    ......o........oooo.oooooo....oo.Ooooooooooooooooo0x00C397A0
    ooooooooooooo.............................Oooooooo0x00C51A58
    ooooooooooooooooooooooooooooooo. . ...oooooooooooo0x00C5DDA8
    o..........................ooooooooooooooooooooooo0x00C6A0F8
    oooooooooooooooooooooo........ooo..o...ooooooooooo0x00C76448
    .......

    DB:2.54:How Can I Get A Heapdump File In Jrockit R26.3 Or Latter Version xc

    Hi all,

    We have HPROF functionality in our latest roadmap, so you will see that feature in our next major release called JRockit R28.

    I recommend, above from the MemLeak documentation suggested by Makiey, the following information on how to use JRockit tools.

    Performance Tuning Profiling:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_02.html

    Using JRockit tools:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_03.html

    Diagnostics Troubleshooting
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_04.html

    Best Regards,
    Tuva

    JRockit PM

  • RELEVANCY SCORE 2.53

    DB:2.53:Class Not Found Java/Lang/Classnotfoundexception: Help 7j


    WHen i try to run the echoclient midlet example application i got off the internet after building and creating package with WTK 2.5.2 and installing on my phone , a nokia 5000d-2 i get the class not found java/lang/ClassNotFoundException error. please somebody tell me what am i doing wrong?

    DB:2.53:Class Not Found Java/Lang/Classnotfoundexception: Help 7j

    please somebody tell me what am i doing wrong?Asking a question without sufficient information for anyone to provide an answer.

    Read [How to ask questions the smart way|http://catb.org/~esr/faqs/smart-questions.html]

    db

  • RELEVANCY SCORE 2.53

    DB:2.53:Oc4j 10.0.3 Won't Start za


    I am following the directions n the readme and I am getting the following error on starting the server (on two different windows XP machines) with Sun JDK 1.4

    Any ideas?

    04/03/04 00:07:33 Auto-deploying ../../home/applications/admin_ejb.jar (New server version detected)...
    Found 2 system errors:

    *** Error: Could not find package named:
    oc4j.jar(java/util),
    D:\oc4j\j2ee\home\lib/ejb.jar(java/util),
    D:\oc4j\j2ee\home\lib/servlet.jar(java/util),
    D:\oc4j\j2ee\home\lib/ojsp.jar(java/util),
    D:\oc4j\j2ee\home\lib/commons-el.jar(java/util),
    D:\oc4j\j2ee\home\lib/bcel.jar(java/util),
    D:\oc4j\j2ee\home\lib/jndi.jar(java/util),
    D:\oc4j\j2ee\home\lib/jdbc.jar(java/util),
    D:\oc4j\j2ee\home\iiop.jar(java/util),
    D:\oc4j\j2ee\home\iiop_gen_bin.jar(java/util),
    D:\oc4j\j2ee\home\lib/jms.jar(java/util),
    D:\oc4j\j2ee\home\lib/jta.jar(java/util),
    D:\oc4j\j2ee\home\lib/mx4j-jmx.jar(java/util),
    D:\oc4j\j2ee\home\lib/mx4j.jar(java/util),
    D:\oc4j\j2ee\home\lib/jmxri.jar(java/util),
    D:\oc4j\j2ee\home\lib/jmxcluster.jar(java/util),
    D:\oc4j\j2ee\home\lib/javax77.jar(java/util),
    D:\oc4j\j2ee\home\lib/javax88.jar(java/util),
    D:\oc4j\j2ee\home\lib/jacc-api.jar(java/util),
    D:\oc4j\j2ee\home\jaccprovider.jar(java/util),
    D:\oc4j\j2ee\home\lib/namespace.jar(java/util),
    D:\oc4j\j2ee\home\../../javavm/lib/jasper.zip(java/util),
    D:\oc4j\j2ee\home\lib/adminclient.jar(java/util),
    D:\oc4j\j2ee\home\../../opmn/lib/ons.jar(java/util),
    D:\oc4j\j2ee\home\../../opmn/lib/optic.jar(java/util),
    D:\oc4j\j2ee\home\../../lib/dms.jar(java/util),
    D:\oc4j\j2ee\home\../../dms/lib/dms.jar(java/util),
    D:\oc4j\j2ee\home\lib/connector.jar(java/util),
    D:\oc4j\j2ee\home\lib/cos.jar(java/util),
    D:\oc4j\j2ee\home\lib/jsse.jar(java/util),
    D:\oc4j\j2ee\home\../../oracle/lib/jsse.jar(java/util),
    D:\oc4j\j2ee\home\lib/jnet.jar(java/util),
    D:\oc4j\j2ee\home\lib/jcert.jar(java/util),
    D:\oc4j\j2ee\home\lib/activation.jar(java/util),
    D:\oc4j\j2ee\home\lib/mail.jar(java/util),
    D:\oc4j\j2ee\home\../../lib/xmlparserv2.jar(java/util),
    D:\oc4j\j2ee\home\../../oracle/lib/xmlparserv2.jar(java/util),
    D:\oc4j\j2ee\home\lib/jaxp.jar(java/util),
    D:\oc4j\j2ee\home\lib/jaxr.jar(java/util),
    D:\oc4j\j2ee\home\lib/jaas.jar(java/util),
    D:\oc4j\j2ee\home\jazn.jar(java/util),
    D:\oc4j\j2ee\home\../../jdbc/lib/ojdbc14dms.jar(java/util),
    D:\oc4j\j2ee\home\../../oracle/jdbc/lib/ojdbc14dms.jar(java/util),
    D:\oc4j\j2ee\home\../../jdbc/lib/orai18n.jar(java/util),
    D:\oc4j\j2ee\home\../../oracle/jdbc/lib/orai18n.jar(java/util),
    D:\oc4j\j2ee\home\jaxb-rt-1.0-ea.jar(java/util),
    D:\oc4j\j2ee\home\../../soap/lib/soap.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/jaxrpc-api.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/wsserver.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/wsdl.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/saaj-api.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/orasaaj.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/xsdlib.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/relaxngDatatype.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/commons-logging.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/orchestration.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/wssecurity.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/oramgmt.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/orawsrm.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/jaxr-api.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/wsclient.jar(java/util),
    D:\oc4j\j2ee\home\../../webservices/lib/wsif.jar(java/util),
    D:\oc4j\j2ee\home\../../rdbms/jlib/aqapi.jar(java/util),
    D:\oc4j\j2ee\home\lib/jem.jar(java/util),
    D:\oc4j\j2ee\home\../../javacache/lib/cache.jar(java/util),
    D:\oc4j\j2ee\home\lib/http_client.jar(java/util),
    D:\oc4j\j2ee\home\../../jlib/jssl-1_1.jar(java/util),
    D:\oc4j\j2ee\home\../../oracle/jlib/jssl-1_1.jar(java/util),
    D:\oc4j\j2ee\home\../../jlib/repository.jar(java/util),
    D:\oc4j\j2ee\home\../../oracle/jlib/repository.jar(java/util),
    D:\oc4j\j2ee\home\lib/jaasmodules.jar(java/util),
    D:\oc4j\j2ee\home\../../sqlj/lib/runtime12.jar(java/util),
    D:\oc4j\j2ee\home\../../sqlj/lib/translator.jar(java/util),
    D:\oc4j\j2ee\home\lib/crimson.jar(java/util),
    D:\oc4j\j2ee\home\../../toplink/jlib/toplink.jar(java/util),
    D:\oc4j\j2ee\home\../../toplink/jlib/antlr.jar(java/util),
    D:\oc4j\j2ee\home\applib/java/util,
    D:\oc4j\sqlj\lib/java/util,
    D:\oc4j\sqlj\lib\runtime12.jar(java/util),
    D:\oc4j\sqlj\lib\translator.jar(java/util),
    D:\oc4j\xdk\lib\xsu12.jar(java/util),
    D:\oc4j\lib\dsv2.jar(java/util),
    D:\oc4j\j2ee\home\jsp\lib\taglib/java/util,
    D:\oc4j\j2ee\home\jsp\lib\taglib\jaxen-full.jar(java/util),
    D:\oc4j\j2ee\home\jsp\lib\taglib\ojsputil.jar(java/util),
    D:\oc4j\j2ee\home\jsp\lib\taglib\saxpath.jar(java/util),
    D:\oc4j\j2ee\home\jsp\lib\taglib\standard.jar(java/util),
    D:\oc4j\j2ee\home\applications\admin_ejb.jar(java/util) or
    ./java/util

    *** Error: Could not find package named:
    oc4j.jar(java/lang),
    D:\oc4j\j2ee\home\lib/ejb.jar(java/lang),
    D:\oc4j\j2ee\home\lib/servlet.jar(java/lang),
    D:\oc4j\j2ee\home\lib/ojsp.jar(java/lang),
    D:\oc4j\j2ee\home\lib/commons-el.jar(java/lang),
    D:\oc4j\j2ee\home\lib/bcel.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jndi.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jdbc.jar(java/lang),
    D:\oc4j\j2ee\home\iiop.jar(java/lang),
    D:\oc4j\j2ee\home\iiop_gen_bin.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jms.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jta.jar(java/lang),
    D:\oc4j\j2ee\home\lib/mx4j-jmx.jar(java/lang),
    D:\oc4j\j2ee\home\lib/mx4j.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jmxri.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jmxcluster.jar(java/lang),
    D:\oc4j\j2ee\home\lib/javax77.jar(java/lang),
    D:\oc4j\j2ee\home\lib/javax88.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jacc-api.jar(java/lang),
    D:\oc4j\j2ee\home\jaccprovider.jar(java/lang),
    D:\oc4j\j2ee\home\lib/namespace.jar(java/lang),
    D:\oc4j\j2ee\home\../../javavm/lib/jasper.zip(java/lang),
    D:\oc4j\j2ee\home\lib/adminclient.jar(java/lang),
    D:\oc4j\j2ee\home\../../opmn/lib/ons.jar(java/lang),
    D:\oc4j\j2ee\home\../../opmn/lib/optic.jar(java/lang),
    D:\oc4j\j2ee\home\../../lib/dms.jar(java/lang),
    D:\oc4j\j2ee\home\../../dms/lib/dms.jar(java/lang),
    D:\oc4j\j2ee\home\lib/connector.jar(java/lang),
    D:\oc4j\j2ee\home\lib/cos.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jsse.jar(java/lang),
    D:\oc4j\j2ee\home\../../oracle/lib/jsse.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jnet.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jcert.jar(java/lang),
    D:\oc4j\j2ee\home\lib/activation.jar(java/lang),
    D:\oc4j\j2ee\home\lib/mail.jar(java/lang),
    D:\oc4j\j2ee\home\../../lib/xmlparserv2.jar(java/lang),
    D:\oc4j\j2ee\home\../../oracle/lib/xmlparserv2.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jaxp.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jaxr.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jaas.jar(java/lang),
    D:\oc4j\j2ee\home\jazn.jar(java/lang),
    D:\oc4j\j2ee\home\../../jdbc/lib/ojdbc14dms.jar(java/lang),
    D:\oc4j\j2ee\home\../../oracle/jdbc/lib/ojdbc14dms.jar(java/lang),
    D:\oc4j\j2ee\home\../../jdbc/lib/orai18n.jar(java/lang),
    D:\oc4j\j2ee\home\../../oracle/jdbc/lib/orai18n.jar(java/lang),
    D:\oc4j\j2ee\home\jaxb-rt-1.0-ea.jar(java/lang),
    D:\oc4j\j2ee\home\../../soap/lib/soap.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/jaxrpc-api.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/wsserver.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/wsdl.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/saaj-api.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/orasaaj.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/xsdlib.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/relaxngDatatype.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/commons-logging.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/orchestration.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/wssecurity.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/oramgmt.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/orawsrm.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/jaxr-api.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/wsclient.jar(java/lang),
    D:\oc4j\j2ee\home\../../webservices/lib/wsif.jar(java/lang),
    D:\oc4j\j2ee\home\../../rdbms/jlib/aqapi.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jem.jar(java/lang),
    D:\oc4j\j2ee\home\../../javacache/lib/cache.jar(java/lang),
    D:\oc4j\j2ee\home\lib/http_client.jar(java/lang),
    D:\oc4j\j2ee\home\../../jlib/jssl-1_1.jar(java/lang),
    D:\oc4j\j2ee\home\../../oracle/jlib/jssl-1_1.jar(java/lang),
    D:\oc4j\j2ee\home\../../jlib/repository.jar(java/lang),
    D:\oc4j\j2ee\home\../../oracle/jlib/repository.jar(java/lang),
    D:\oc4j\j2ee\home\lib/jaasmodules.jar(java/lang),
    D:\oc4j\j2ee\home\../../sqlj/lib/runtime12.jar(java/lang),
    D:\oc4j\j2ee\home\../../sqlj/lib/translator.jar(java/lang),
    D:\oc4j\j2ee\home\lib/crimson.jar(java/lang),
    D:\oc4j\j2ee\home\../../toplink/jlib/toplink.jar(java/lang),
    D:\oc4j\j2ee\home\../../toplink/jlib/antlr.jar(java/lang),
    D:\oc4j\j2ee\home\applib/java/lang,
    D:\oc4j\sqlj\lib/java/lang,
    D:\oc4j\sqlj\lib\runtime12.jar(java/lang),
    D:\oc4j\sqlj\lib\translator.jar(java/lang),
    D:\oc4j\xdk\lib\xsu12.jar(java/lang),
    D:\oc4j\lib\dsv2.jar(java/lang),
    D:\oc4j\j2ee\home\jsp\lib\taglib/java/lang,
    D:\oc4j\j2ee\home\jsp\lib\taglib\jaxen-full.jar(java/lang),
    D:\oc4j\j2ee\home\jsp\lib\taglib\ojsputil.jar(java/lang),
    D:\oc4j\j2ee\home\jsp\lib\taglib\saxpath.jar(java/lang),
    D:\oc4j\j2ee\home\jsp\lib\taglib\standard.jar(java/lang),
    D:\oc4j\j2ee\home\applications\admin_ejb.jar(java/lang) or
    ./java/lang

    Error compiling D:\oc4j\j2ee\home\applications\admin_ejb.jar: Syntax error in source
    Error in application default: Error loading package at file:/D:/oc4j/j2ee/home/applications/admin_ejb.jar, Compile error
    : Syntax error in source
    Error initializing server: Error initializing ejb-module, Exception: Compile error: Syntax error in source
    Fatal error: Cannot instantiate ApplicationServerThread AND not in embedded mode - forcing exit

    DB:2.53:Oc4j 10.0.3 Won't Start za

    Thanks for the prompt response, but the issue has resolved itself.

    By the way, the D Drive is just another fixed disk partition, not a mapped drive.

    When I initially started the server, I got a message that there was no compiler defined in the server.xml file. I added the following line to server.xml:
    java-compiler name="jikes" bindir="D:\jikes\bin" in-process="false"/

    It seems that this is what was causing the problem. After I removed this line, everything seems to be working fine.

    Thanks again for your response.

  • RELEVANCY SCORE 2.53

    DB:2.53:Use Of Jikes ff


    I know that this isn't strictly a weblogic issue, but I also get the
    impression that a lot of the people who use this newsgroup also speed up
    their development process by using the Jikes compiler.

    Anyway...although using my current classpath I can compile with javac with
    no problems when I try with jikes I get the error listed at the bottom of
    the page. I imagine that javac is more tolerant of something than jikes is,
    but does anyone know what.

    My classpath is

    classpath=c:\jdk1.2.2\lib\tools.jar;d:\weblogic\license;d:\weblogic\classes;
    d:\weblogic\lib\weblogicaux.jar;d:\weblogic\lib\m
    ail.jar;d:\weblogic\lib\activation.jar;d:\weblogic\lib\cos.jar;d:\weblogic\m
    yserver\clientclasses;d:\weblogic\myserver\server
    classes

    (I haven't set a jikespath)

    The error is:-

    D:\weblogic\classes\e3\classesjikes *.java

    Found 2 system errors:

    *** Error: Could not find package named:
    c:\jdk1.2.2\lib\tools.jar(java/util),
    d:\weblogic\license/java/util,
    d:\weblogic\classes/java/util,
    d:\weblogic\lib\weblogicaux.jar(java/util),
    d:\weblogic\lib\mail.jar(java/util),
    d:\weblogic\lib\activation.jar(java/util),
    d:\weblogic\lib\cos.jar(java/util),
    d:\weblogic\myserver\clientclasses/java/util or
    d:\weblogic\myserver\serverclasses/java/util

    *** Error: Could not find package named:
    c:\jdk1.2.2\lib\tools.jar(java/lang),
    d:\weblogic\license/java/lang,
    d:\weblogic\classes/java/lang,
    d:\weblogic\lib\weblogicaux.jar(java/lang),
    d:\weblogic\lib\mail.jar(java/lang),
    d:\weblogic\lib\activation.jar(java/lang),
    d:\weblogic\lib\cos.jar(java/lang),
    d:\weblogic\myserver\clientclasses/java/lang or
    d:\weblogic\myserver\serverclasses/java/lang

    DB:2.53:Use Of Jikes ff

    thank you very much, a combination of your suggestion, and adding rt.jar and
    '.' to the jikespath seems to have worked. Hurrah

    terry

    Gunnar gunnar.velle@telenor.com wrote in message
    news:3a4220b3@newsgroups.bea.com...
    It seems jikes need / instead of \ .
    I tried to compile with the -classpath attribute, and got the same error
    when using \, but it worked fine when I used /.
    I would have declared jikespath. Then you can use both javac and jikes
    without changign classpath.

    good luck
    Gunnar

    Terry terry@dancerace.com skrev i
    meldingsnyheter:3a41f464@newsgroups.bea.com...
    I know that this isn't strictly a weblogic issue, but I also get the
    impression that a lot of the people who use this newsgroup also speed up
    their development process by using the Jikes compiler.

    Anyway...although using my current classpath I can compile with javacwith
    no problems when I try with jikes I get the error listed at the bottomof
    the page. I imagine that javac is more tolerant of something than jikesis,
    but does anyone know what.

    My classpath is
    classpath=c:\jdk1.2.2\lib\tools.jar;d:\weblogic\license;d:\weblogic\classes;
    d:\weblogic\lib\weblogicaux.jar;d:\weblogic\lib\mail.jar;d:\weblogic\lib\activation.jar;d:\weblogic\lib\cos.jar;d:\weblogic\m
    yserver\clientclasses;d:\weblogic\myserver\server
    classes

    (I haven't set a jikespath)

    The error is:-

    D:\weblogic\classes\e3\classesjikes *.java

    Found 2 system errors:

    *** Error: Could not find package named:
    c:\jdk1.2.2\lib\tools.jar(java/util),
    d:\weblogic\license/java/util,
    d:\weblogic\classes/java/util,
    d:\weblogic\lib\weblogicaux.jar(java/util),
    d:\weblogic\lib\mail.jar(java/util),
    d:\weblogic\lib\activation.jar(java/util),
    d:\weblogic\lib\cos.jar(java/util),
    d:\weblogic\myserver\clientclasses/java/util or
    d:\weblogic\myserver\serverclasses/java/util

    *** Error: Could not find package named:
    c:\jdk1.2.2\lib\tools.jar(java/lang),
    d:\weblogic\license/java/lang,
    d:\weblogic\classes/java/lang,
    d:\weblogic\lib\weblogicaux.jar(java/lang),
    d:\weblogic\lib\mail.jar(java/lang),
    d:\weblogic\lib\activation.jar(java/lang),
    d:\weblogic\lib\cos.jar(java/lang),
    d:\weblogic\myserver\clientclasses/java/lang or
    d:\weblogic\myserver\serverclasses/java/lang

  • RELEVANCY SCORE 2.53

    DB:2.53:Is Anybody Have Used The Software Whose Name's Concordia Mobile Agent? c1


    hi.
    I'm come from TW and I am a universaty student.
    We hava a project what's a SCM with Mobile Agent.
    I find a mobile agent software.
    That is CONCORDIA.co's product..
    I can ran it on it's GUI AP,but I can't ran it with command.
    The message tell me that I have security problem.
    I can't understand what the message meening..
    So I come here and try to get answer which I want to know..
    Please tell me about your experience if you have been had project experience.
    Please tell me how I do...

    following is the error msg:

    Error launching agent: COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name:java.rmi.server
    COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name: java.rmi.server at COM.meitca.concordia.bootstrap.BootStrap.launchAgent(BootStrap.java:4
    47) at COM.meitca.concordia.Agent.launch(Agent.java:1038) at examples.launch.TestLaunch.main(TestLaunch.java:172)

    DB:2.53:Is Anybody Have Used The Software Whose Name's Concordia Mobile Agent? c1

    hi.
    I'm come from TW and I am a universaty student.
    We hava a project what's a SCM with Mobile Agent.
    I find a mobile agent software.
    That is CONCORDIA.co's product..
    I can ran it on it's GUI AP,but I can't ran it with command.
    The message tell me that I have security problem.
    I can't understand what the message meening..
    So I come here and try to get answer which I want to know..
    Please tell me about your experience if you have been had project experience.
    Please tell me how I do...

    following is the error msg:

    Error launching agent: COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name:java.rmi.server
    COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name: java.rmi.server at COM.meitca.concordia.bootstrap.BootStrap.launchAgent(BootStrap.java:4
    47) at COM.meitca.concordia.Agent.launch(Agent.java:1038) at examples.launch.TestLaunch.main(TestLaunch.java:172)

  • RELEVANCY SCORE 2.52

    DB:2.52:Java Can Be A Package Name 1c


    Hi ,

    Can i create a package name as java. Please can any one tell me.

    Thanks
    Joe

    DB:2.52:Java Can Be A Package Name 1c

    I just tried it out in my machine and there is a runtime error

  • RELEVANCY SCORE 2.51

    DB:2.51:Weblogic Server 8.1 jx



    I keep getting the following message when building webservices application in WLS8.1:

    "[servicegen] java.lang.SecurityException: Prohibited package name: java.util"

    I added permissions to to that package in the weblogic.policy file - no luck.

    any ideas ?

    DB:2.51:Weblogic Server 8.1 jx

    Check that you are pointing the Java_Home variable at the expected JDK

  • RELEVANCY SCORE 2.50

    DB:2.50:Help Me To Solve This Jsp Problem s9


    //Class1.java
    package p1.p2;
    public class Class1 implements Serializable
    {
    private String name1,name2;
    public void setName1(String name)
    {
    name1=name;
    }
    public String getName1()
    {
    return name1;
    }
    public void setName2(String name)
    {
    name2=name;
    }
    public String getName2()
    {
    return name2;
    }

    //Class2.java
    package p1.p2;
    public class Class2
    {
    String name1,name2;
    public String insert(Class1 c1)
    {
    name1 = c1.getName();
    name2 = c2.getName();
    return name1;
    }
    }

    //Class3.jsp
    %@ page import="p1.p2.*" %
    html
    form action="/bobby/Class3.jsp" method=post
    Name1 : input type=text name="cn1"
    Name2 : input type=text name="cn2"
    input type=submit value="Click"/
    /form
    /html
    %! String a,b,c; %
    %
    Class1 c1 = new Class1();
    Class1 c2 = new Class2();
    a=request.getParameter("cn1");
    b=request.getParameter("cn2");
    c1.setName(a);
    c1.setName(b);
    c=c2.insert(c1);
    out.println(c);
    }
    %

    WHEN I RUN THE JSP PROGRAM I GOT THE FOLLOWING ERROR.TELL ME THE SOLUTION TO SOLVE THIS PROBLEM.

    javax.servlet.ServletException:
    p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl .java:825)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j ava:758)
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:76)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

    root cause

    java.lang.NoSuchMethodError: p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:67)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

    DB:2.50:Help Me To Solve This Jsp Problem s9

    First, please put your code inside code tags. There's a nice little button. All you have to do is paste your code, highlight it and press the little code button. Thanks.

    I had to make some adjustments to your original post. Either you had some closing braces in the wrong place, or you hve no idea what you're doing. I'm going to assume that Class1 is in a file named p1/p2/Class1.java and Class2 is in p1/p2/Class2.java.

    //Class1.java
    package p1.p2;
    public class Class1 implements Serializable
    {
    private String name1,name2;
    public void setName1(String name)
    {
    name1=name;
    }
    public String getName1()
    {
    return name1;
    }
    public void setName2(String name)
    {
    name2=name;
    }
    public String getName2()
    {
    return name2;
    }
    }

    //Class2.java
    package p1.p2;
    public class Class2
    {
    String name1,name2;
    public String insert(Class1 c1)
    {
    name1 = c1.getName();
    name2 = c2.getName();
    return name1;
    }
    }

    //Class3.jsp
    %@ page import="p1.p2.*" %
    html
    form action="/bobby/Class3.jsp" method=post
    Name1 : input type=text name="cn1"
    Name2 : input type=text name="cn2"
    input type=submit value="Click"/
    /form
    /html
    %! String a,b,c; %
    %
    Class1 c1 = new Class1();
    Class1 c2 = new Class2(); //-- problem here, do you see it?
    a=request.getParameter("cn1");
    b=request.getParameter("cn2");
    c1.setName(a);
    c1.setName(b);
    c=c2.insert(c1);
    out.println(c);
    %Note the I highlighted the problem above. HTH.

  • RELEVANCY SCORE 2.50

    DB:2.50:Is Anybody Have Used The Software Whose Name's Concordia Mobile Agent? dx


    hi.
    I'm come from TW and I am a universaty student.
    We hava a project what's a SCM with Mobile Agent.
    I find a mobile agent software.
    That is CONCORDIA.co's product..
    I can ran it on it's GUI AP,but I can't ran it with command.
    The message tell me that I have security problem.
    I can't understand what the message meening..
    So I come here and try to get answer which I want to know..
    Please tell me about your experience if you have been had project experience.
    Please tell me how I do...

    following is the error msg:

    Error launching agent: COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name:java.rmi.server
    COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name: java.rmi.server at COM.meitca.concordia.bootstrap.BootStrap.launchAgent(BootStrap.java:4
    47) at COM.meitca.concordia.Agent.launch(Agent.java:1038) at examples.launch.TestLaunch.main(TestLaunch.java:172)

    DB:2.50:Is Anybody Have Used The Software Whose Name's Concordia Mobile Agent? dx

    hi.
    I'm come from TW and I am a universaty student.
    We hava a project what's a SCM with Mobile Agent.
    I find a mobile agent software.
    That is CONCORDIA.co's product..
    I can ran it on it's GUI AP,but I can't ran it with command.
    The message tell me that I have security problem.
    I can't understand what the message meening..
    So I come here and try to get answer which I want to know..
    Please tell me about your experience if you have been had project experience.
    Please tell me how I do...

    following is the error msg:

    Error launching agent: COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name:java.rmi.server
    COM.meitca.concordia.LaunchException: LaunchException: Securityexception launching agent agent.java.lang.SecurityException: Prohibited package name: java.rmi.server at COM.meitca.concordia.bootstrap.BootStrap.launchAgent(BootStrap.java:4
    47) at COM.meitca.concordia.Agent.launch(Agent.java:1038) at examples.launch.TestLaunch.main(TestLaunch.java:172)

  • RELEVANCY SCORE 2.48

    DB:2.48:Prohibited Package Name: Java 7m


    I, a C programmer trying to learn java, am attempting to create a java applet and I get:-
    java.lang.SecurityException: Prohibited package name: java
    at java.lang.ClassLoader.preDefineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    where do I look to fix this? Is this error on the server or on the client?

    DB:2.48:Prohibited Package Name: Java 7m

    where do I look to fix this?Into the error message. You're using a package named java.... for your classes. This could be considered as a security hazard for applets and thus the security manager slaps your wrist. Don't do it.

  • RELEVANCY SCORE 2.48

    DB:2.48:Unmatched Variable Type Moving From Java To Oracle Forms cs


    Hi ,

    I have a web service written in .NET and I cope to call it from JDeveloper. Then I import the Stub created in JDeveloper into Oracle Form.
    My web service receives 5 strings and returns 1 string
    Here I copied the WHEN_BUTTON_PRESSED (1) trigger used to call the web service and the package (2 and 3) create from the java importer, I also imported the java.Lang and java.String classes:

    I copied also the Java class used in JDeveloper to call the web service (4).

    I create the following code to call the web service but I cannot compile cause "Error 382 expression is of wrong type"
    (1)
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    BEGIN
    jo := PolygoneFromPointStub.new;
    --
    rv := PolygoneFromPointStub.getPolygonFromPoint(jo,'1.75','58.5','FIE_ID','fields','');
    --message (float_.floatValue(rv));
    --message (string_.stringValue(rv));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    null;
    END;

    --------------------------------------------------------

    (2)
    PACKAGE PolygoneFromPointStub /* mypackage1.PolygoneFromPointStub */ IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2;

    END;
    (3)

    PACKAGE BODY PolygoneFromPointStub IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    args JNI.ARGLIST;

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := NULL;
    RETURN (JNI.NEW_OBJECT('mypackage1/PolygoneFromPointStub', '()V', args));
    END;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(5);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    JNI.ADD_STRING_ARG(args, a2);
    JNI.ADD_STRING_ARG(args, a3);
    JNI.ADD_STRING_ARG(args, a4);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage1/PolygoneFromPointStub', 'getPolygonFromPoint', '(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;

    BEGIN
    NULL;
    END;
    --------------------------------------------------------
    (4)
    package mypackage1;

    public class CallWebService
    {
    public CallWebService()
    {
    }

    public static void main(String[] args)
    {
    CallWebService callWebService = new CallWebService();
    System.out.println("test");
    PolygoneFromPointStub wspoly = new PolygoneFromPointStub();
    String returnstr;
    String returnparam="";
    try{
    returnstr = wspoly.getPolygonFromPoint("1.75","58.5","FIE_ID","fields",returnparam);
    System.out.println("returnstr="+returnstr);
    System.out.println("returnparam="+returnparam);
    }
    catch (Exception e)
    {
    System.out.println(e.getMessage() );
    }
    }
    }

    Many Thanks

    DB:2.48:Unmatched Variable Type Moving From Java To Oracle Forms cs

    Hi ,

    I have a web service written in .NET and I cope to call it from JDeveloper. Then I import the Stub created in JDeveloper into Oracle Form.
    My web service receives 5 strings and returns 1 string
    Here I copied the WHEN_BUTTON_PRESSED (1) trigger used to call the web service and the package (2 and 3) create from the java importer, I also imported the java.Lang and java.String classes:

    I copied also the Java class used in JDeveloper to call the web service (4).

    I create the following code to call the web service but I cannot compile cause "Error 382 expression is of wrong type"
    (1)
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    BEGIN
    jo := PolygoneFromPointStub.new;
    --
    rv := PolygoneFromPointStub.getPolygonFromPoint(jo,'1.75','58.5','FIE_ID','fields','');
    --message (float_.floatValue(rv));
    --message (string_.stringValue(rv));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    null;
    END;

    --------------------------------------------------------

    (2)
    PACKAGE PolygoneFromPointStub /* mypackage1.PolygoneFromPointStub */ IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2;

    END;
    (3)

    PACKAGE BODY PolygoneFromPointStub IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    args JNI.ARGLIST;

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := NULL;
    RETURN (JNI.NEW_OBJECT('mypackage1/PolygoneFromPointStub', '()V', args));
    END;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(5);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    JNI.ADD_STRING_ARG(args, a2);
    JNI.ADD_STRING_ARG(args, a3);
    JNI.ADD_STRING_ARG(args, a4);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage1/PolygoneFromPointStub', 'getPolygonFromPoint', '(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;

    BEGIN
    NULL;
    END;
    --------------------------------------------------------
    (4)
    package mypackage1;

    public class CallWebService
    {
    public CallWebService()
    {
    }

    public static void main(String[] args)
    {
    CallWebService callWebService = new CallWebService();
    System.out.println("test");
    PolygoneFromPointStub wspoly = new PolygoneFromPointStub();
    String returnstr;
    String returnparam="";
    try{
    returnstr = wspoly.getPolygonFromPoint("1.75","58.5","FIE_ID","fields",returnparam);
    System.out.println("returnstr="+returnstr);
    System.out.println("returnparam="+returnparam);
    }
    catch (Exception e)
    {
    System.out.println(e.getMessage() );
    }
    }
    }

    Many Thanks

  • RELEVANCY SCORE 2.46

    DB:2.46:Java.Lang.Securityexception:Accessdenied 17


    I have an internal app error,java.lang.securityException:accessdenied in my Nokia C3.Can any body help me?

    DB:2.46:Java.Lang.Securityexception:Accessdenied 17

    Go to the suite settings/options of the application allow it access to the data. Select ask every time/ask first time only depending upon how much you trust the application.



    ------------------------------------------------------------------------------------------------------
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

  • RELEVANCY SCORE 2.45

    DB:2.45:Java Store Procedure To Connect Oracle To Sybase 81


    Hi, I'm trying to use a java class to obtain some data from another databse (SYBASE) in another server.. here are the code

    package pkg;

    import com.sybase.jdbcx.SybDriver;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;

    public class clsTest
    {
    public clsTest()
    {
    }
    public static void main(String[] args)
    {
    testConn("");
    }

    private static void testConn()
    {
    Connection _con= null;
    String host = "XXX";
    String port= "XXX";
    String url = host + ":" + port;
    Statement _stmt= null;
    int timeout = 10;
    boolean needsReconnect = true;
    SybDriver sybDriver = null;
    try
    {
    Class c = Class.forName("com.sybase.jdbc3.jdbc.SybDriver");
    sybDriver = (SybDriver) c.newInstance();
    DriverManager.registerDriver((Driver) sybDriver);
    }
    catch (Exception e)
    {

    System.err.print("Unable to load the Sybase JDBC driver. "
    + e.toString());
    e.printStackTrace(System.out);
    }
    if (needsReconnect)
    {
    try
    {

    if (_con != null)
    {
    _con.close();
    }
    url="jdbc:sybase:Tds:BDSERVER:PORT/BD";
    System.err.println("Trying to connect to: " + url);
    DriverManager.setLoginTimeout(timeout);
    con = DriverManager.getConnection(url,"usrquery","mundial");
    _stmt = _con.createStatement();

    boolean results = _stmt.execute("select count(*) from TABLA");
    if (results)
    {
    ResultSet rs= _stmt.getResultSet();
    rs.next();
    System.err.println(rs.getString(1));
    }
    _con.close();
    }
    catch (SQLException sqle)
    {
    System.err.println(sqle.toString() + " Restart connection.");
    return;
    }
    catch (Exception e)
    {
    e.printStackTrace();
    System.err.println("Unexpected Exception: " + e.toString());
    return;
    }
    }
    }
    }

    When I run the proyect using the IDE JDeveloper I have no problem, but when I make de use loadjava I receive these error message

    creating : resource META-INF/MANIFEST.MF
    loading : resource META-INF/MANIFEST.MF
    Error while creating resource META-INF/MANIFEST.MF
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

    creating : class pkg/clsTest
    loading : class pkg/clsTest
    creating : resource jconn3.jar
    loading : resource jconn3.jar
    Error while creating resource jconn3.jar
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

    granting : execute on class pkg/clsTest to public
    Error while computing shortname of pkg/clsSybaseLAE
    ORA-06550: line 1, column 13:
    PLS-00201: identifier 'DBMS_JAVA.SHORTNAME' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    resolving: class pkg/clsTest
    errors : class pkg/clsTest
    ORA-29521: referenced name java/lang/StringBuffer could not be found
    ORA-29521: referenced name java/lang/Class could not be found
    ORA-29521: referenced name com/sybase/jdbcx/SybDriver could not be found
    ORA-29521: referenced name java/sql/Driver could not be found
    ORA-29521: referenced name java/sql/DriverManager could not be found
    ORA-29521: referenced name java/lang/System could not be found
    ORA-29521: referenced name java/lang/Exception could not be found
    ORA-29521: referenced name java/io/PrintStream could not be found
    ORA-29521: referenced name java/sql/Connection could not be found
    ORA-29521: referenced name java/sql/Statement could not be found
    ORA-29521: referenced name java/sql/ResultSet could not be found
    ORA-29521: referenced name java/sql/SQLException could not be found
    ORA-29521: referenced name java/lang/Object could not be found
    ORA-29521: referenced name java/lang/String could not be found
    synonym : pkg/clsTest
    The following operations failed
    resource META-INF/MANIFEST.MF: creation
    class pkg/clsTest: resolution
    resource jconn3.jar: creation
    exiting : Failures occurred during processing

    Please some one help me!.. Thank's a lot

    DB:2.45:Java Store Procedure To Connect Oracle To Sybase 81

    Hi, I'm trying to use a java class to obtain some data from another databse (SYBASE) in another server.. here are the code

    package pkg;

    import com.sybase.jdbcx.SybDriver;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;

    public class clsTest
    {
    public clsTest()
    {
    }
    public static void main(String[] args)
    {
    testConn("");
    }

    private static void testConn()
    {
    Connection _con= null;
    String host = "XXX";
    String port= "XXX";
    String url = host + ":" + port;
    Statement _stmt= null;
    int timeout = 10;
    boolean needsReconnect = true;
    SybDriver sybDriver = null;
    try
    {
    Class c = Class.forName("com.sybase.jdbc3.jdbc.SybDriver");
    sybDriver = (SybDriver) c.newInstance();
    DriverManager.registerDriver((Driver) sybDriver);
    }
    catch (Exception e)
    {

    System.err.print("Unable to load the Sybase JDBC driver. "
    + e.toString());
    e.printStackTrace(System.out);
    }
    if (needsReconnect)
    {
    try
    {

    if (_con != null)
    {
    _con.close();
    }
    url="jdbc:sybase:Tds:BDSERVER:PORT/BD";
    System.err.println("Trying to connect to: " + url);
    DriverManager.setLoginTimeout(timeout);
    con = DriverManager.getConnection(url,"usrquery","mundial");
    _stmt = _con.createStatement();

    boolean results = _stmt.execute("select count(*) from TABLA");
    if (results)
    {
    ResultSet rs= _stmt.getResultSet();
    rs.next();
    System.err.println(rs.getString(1));
    }
    _con.close();
    }
    catch (SQLException sqle)
    {
    System.err.println(sqle.toString() + " Restart connection.");
    return;
    }
    catch (Exception e)
    {
    e.printStackTrace();
    System.err.println("Unexpected Exception: " + e.toString());
    return;
    }
    }
    }
    }

    When I run the proyect using the IDE JDeveloper I have no problem, but when I make de use loadjava I receive these error message

    creating : resource META-INF/MANIFEST.MF
    loading : resource META-INF/MANIFEST.MF
    Error while creating resource META-INF/MANIFEST.MF
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

    creating : class pkg/clsTest
    loading : class pkg/clsTest
    creating : resource jconn3.jar
    loading : resource jconn3.jar
    Error while creating resource jconn3.jar
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

    granting : execute on class pkg/clsTest to public
    Error while computing shortname of pkg/clsSybaseLAE
    ORA-06550: line 1, column 13:
    PLS-00201: identifier 'DBMS_JAVA.SHORTNAME' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    resolving: class pkg/clsTest
    errors : class pkg/clsTest
    ORA-29521: referenced name java/lang/StringBuffer could not be found
    ORA-29521: referenced name java/lang/Class could not be found
    ORA-29521: referenced name com/sybase/jdbcx/SybDriver could not be found
    ORA-29521: referenced name java/sql/Driver could not be found
    ORA-29521: referenced name java/sql/DriverManager could not be found
    ORA-29521: referenced name java/lang/System could not be found
    ORA-29521: referenced name java/lang/Exception could not be found
    ORA-29521: referenced name java/io/PrintStream could not be found
    ORA-29521: referenced name java/sql/Connection could not be found
    ORA-29521: referenced name java/sql/Statement could not be found
    ORA-29521: referenced name java/sql/ResultSet could not be found
    ORA-29521: referenced name java/sql/SQLException could not be found
    ORA-29521: referenced name java/lang/Object could not be found
    ORA-29521: referenced name java/lang/String could not be found
    synonym : pkg/clsTest
    The following operations failed
    resource META-INF/MANIFEST.MF: creation
    class pkg/clsTest: resolution
    resource jconn3.jar: creation
    exiting : Failures occurred during processing

    Please some one help me!.. Thank's a lot

  • RELEVANCY SCORE 2.45

    DB:2.45:Jdev 11.1.2 Spring + Hibernate + Prime Faces m1


    Jdev 11.1.2

    Spring + Hibernate + Prime faces

    I have a application developed using myeclipse for spring scaffold spring crud option . having problems deploying the ear to weblogic , so imported the project to jdeveloper 11.1.2 and trying to run in integrated weblogic server and running into below exception

    java.lang.NoSuchMethodError: javax.el.ELResolver.invoke(Ljavax/el/ELContext;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
    at com.sun.el.parser.AstValue.getValue(AstValue.java:111)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:163)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:219)

    to make weblogic use EL 2.2 Version jars included in my project I have added this to my weblogic-application.xml file

    prefer-application-packages
    package-namecom.sun.el.*/package-name
    package-namejavax.el.*/package-name
    /prefer-application-packages

    And now running into this exception

    java.lang.ClassCastException: oracle.adf.share.el.ADFContextELResolver cannot be cast to javax.el.ELResolver

    I am not using ADF in my project , is there any configurations I can change to get this working

    Thank you for your time

    Best regards

    DB:2.45:Jdev 11.1.2 Spring + Hibernate + Prime Faces m1

    Check that your project properties-libraries don't contain ADF, and also check the web.xml file of your project to ensure no ADF enties in there.

  • RELEVANCY SCORE 2.45

    DB:2.45:Nokia 6234 - Security Java/Lang/Securityexception ... z3



    Hi all, i tried to install we-travel with its maps on my phone.

    I copied the jar jad files on the SD card, i tried to allow we-travel application to access to maps using menu available in application option menu.

    I set options application access data access add edit data many times to all the choices available ( even other menus too) but I get all the times the error:

    Security java/lang/SecurityException Access Denied

    It seems that this access to filesystem cannot be granted in any way!!!

    I get similar troubles with bluetooth access too.

    Any ideas?

    Thanks

    Max

    DB:2.45:Nokia 6234 - Security Java/Lang/Securityexception ... z3


    Hello,

    I discovered We-Travel only yesterday, and I'm experiencing the same problem on my 6234.

    However I found a little "workaround" but it's certaintly not pratical.

    I put the sd card in my computer (with a microSD to SD converter) and pasted the .jar, .jad and my maps.

    First of all, when you download your maps from their site, you'll get a folder with the name of the country whose maps you downloaded. (in my case belgium). So i downloaded the MBELGIUM.zip and extracted this. In this .zip there's a folder named MBELGIUM. You must rename this folder to: Map

    So, in the root of your sd card you should have the .jar, .jad and the renamed folder "Map".

    Now, open the menu of your 6234, go to applications, select memory card. Highlight WeTravelMidle... (this is the .jar) and select options, and go to Application access - Data access -

    Make sure that "Read User Data" and "Add and Edit Data" are set to: "always allowed".

    Next, start We-Travel - Menu - Settings - Advanced - Files

    On my phone, my sd card is called E:

    So, highligt E: and press options - Set We-Travel root.

    If you now restart we-travel, it should work.

  • RELEVANCY SCORE 2.44

    DB:2.44:"Security Java/Lang/Securityexception Access Denie... js


    I have a 6288 phone and I'm try to lock one of the folders I have in my Mini SD 1GB card, but I keep getting the same error, no matter what is the application I install (I have only installed .jar applications).
    The error is:
    security java/lang/SecurityException access denied.

    Does anyone know how can I solve this situation?

    Thanks.
    Msj

    DB:2.44:"Security Java/Lang/Securityexception Access Denie... js


    i have same problem my application are not working plzz help meee

  • RELEVANCY SCORE 2.44

    DB:2.44:Re: Java/Lang/Veryifyerror ac


    ok thanks

    DB:2.44:Re: Java/Lang/Veryifyerror ac

    Try by this this way:
    delete existing classes file recompile again.

    This thing worked for me.

  • RELEVANCY SCORE 2.44

    DB:2.44:Variable Class$Java$Lang$String Is Not Public In Class pc


    Hi All,
    I am trying to change the code in CO. When I am trying to compile the java code .
    I am getting following error

    Error(100,95): variable class$java$lang$String is not public in class oracle.apps.ota.common.webui.OtaOAControllerImpl; cannot be accessed from outside package
    Error(100,120): method _mthclass$(java.lang.String) not found in class oracle.apps.ota.admin.enrollment.webui.LrnrEnrollmentMaintainCO

    Thanks in Advance

    DB:2.44:Variable Class$Java$Lang$String Is Not Public In Class pc

    Thanks Tapash and Shiv

    I will try and get you the result

  • RELEVANCY SCORE 2.43

    DB:2.43:Attribute Page Has No Value 91


    Hi,
    I have the following error message: attribute page has no value, could someone help me?
    Is it due to the fact i use a bean?

    %@ page language="java" ContentType="text/html %
    jsp:usebean scope="page" id="db" class="connect.Fieldbean" type="FieldBean" /
    %
    package connect;
    String lang=request.getParameter("lang");
    System.out.println("language selected: "+lang);
    db.connect();
    Resultset RS = db.getResults(lang);
    if (RS != null)
    {
    RS.next();
    %
    HTML
    head
    titleWELCOME ON SOUTH EUROPE INTRANET/TITLE
    /head
    body
    TABLE
    TD%=DATE_FIELD%/TD
    TD%TITLE_FIELD%/TD
    TD%CONTENT_FIELD%/TD
    /TABLE
    /body
    /HTML
    %
    }
    %

    DB:2.43:Attribute Page Has No Value 91

    That so a dumb error!!!
    I just remplace usebean by useBean to fix my problem , that let me discover other ones!!!

  • RELEVANCY SCORE 2.43

    DB:2.43:Prohibited Package Name *.Java.* In Urlclassloader 1m


    As already mentioned in many other topics of this forum, it is not allowed to load a class from a package java.* or javax.*. As I now found out, using the URLClassLoader it is even impossible to load a class from a package called package1.package2.java or something like that. The class loader always raising an SecurityException.

    This is very annoying because I'm currently workin in a open source project where we have different subpackages called *.java.* from which I want to load a class using a URLClassLoader.

    Is there any way to solve this problem or is it a bug in the Java class loading mechanism?

    DB:2.43:Prohibited Package Name *.Java.* In Urlclassloader 1m

    Oh yes. It does work. I'm totally sorry. The bug was somewhere else in my code.

    The only information I had to load the class was a URL which I splitted package by package from the end constructing a canonical class name to load the class. The exception occured when I tried to load the class from the java.* package.

    Nevertheless, thanks for the fast response.

  • RELEVANCY SCORE 2.43

    DB:2.43:Java.Lang.Securityexception+Teitter Api Me1.4 7p



    hi,

    in my application i am using twitter api me 1.4 to access twitter ,i registered my application wtith twitter and i got required keys and access privileges to use xAuth for the sake of authentication But when i run my application which access twitter account of a particular userf,for every run first time i getting the error like "java.lang.securityException",but second time im getting success to post data.

    my code is like

    Credential c = new Credential("username", "password", "conkey", "consecret"); UserAccountManager uam = UserAccountManager.getInstance(c);

    if (!uam.verifyCredential())

    { TweetER ter = TweetER.getInstance(uam); Tweet t = ter.post(new Tweet("status"));

    }

    please help me.

    thank u

    harinadh.

    DB:2.43:Java.Lang.Securityexception+Teitter Api Me1.4 7p


    hi,

    in my application i am using twitter api me 1.4 to access twitter ,i registered my application wtith twitter and i got required keys and access privileges to use xAuth for the sake of authentication But when i run my application which access twitter account of a particular userf,for every run first time i getting the error like "java.lang.securityException",but second time im getting success to post data.

    my code is like

    Credential c = new Credential("username", "password", "conkey", "consecret"); UserAccountManager uam = UserAccountManager.getInstance(c);

    if (!uam.verifyCredential())

    { TweetER ter = TweetER.getInstance(uam); Tweet t = ter.post(new Tweet("status"));

    }

    please help me.

    thank u

    harinadh.

  • RELEVANCY SCORE 2.43

    DB:2.43:Thread: Prolem Use Gw Client On The Debian zm


    Install GW701 client on the Debian, but can not run GW client :(

    Debian GNU/Linux 3.1

    1. Convert rpm to the Debian Package:

    alien -d gw_file.rpm

    2. Install this package:

    dpkg -i gw_file.deb

    3. Run GW cleint and have this error:.

    $ /opt/novell/groupwise/client/bin/groupwise.sh

    $ Error occurred during initialization of VM

    java/lang/NoClassDefFoundError: java/lang/Object

    -' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-

    Debian have this Java Engine:

    sun-j2re1.4 1.4.2+12 Java(TM) 2 RE, Standard Edition, Sun Microsystems(TM)

    What can i do for resolver this problem ?

    Serg

    DB:2.43:Thread: Prolem Use Gw Client On The Debian zm

    Serg wrote:

    Install GW701 client on the Debian, but can not run GW client :(

    Debian GNU/Linux 3.1

    1. Convert rpm to the Debian Package:

    alien -d gw_file.rpm

    2. Install this package:

    dpkg -i gw_file.deb

    3. Run GW cleint and have this error:.

    $ /opt/novell/groupwise/client/bin/groupwise.sh

    $ Error occurred during initialization of VM

    java/lang/NoClassDefFoundError: java/lang/Object

    -' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-' + '-

    Debian have this Java Engine:

    sun-j2re1.4 1.4.2+12 Java(TM) 2 RE, Standard Edition, Sun Microsystems(TM)

    What can i do for resolver this problem ?

    Serg

    http://ubuntuforums.org/showthread.php?t=147278

    That\'s a howto for Ubuntu 6.06. That\'s what i\'m running and it works

    beautifully. I\'m not sure how much it would be different for Debian, but

    I can\'t see it being a huge problem.

    Regards,

    Leon

  • RELEVANCY SCORE 2.43

    DB:2.43:Problem Using Java Store Procedure (Java Class) To Connect To Sybase fc


    Hi, I'm trying to use a java class to obtain some data from another databse (SYBASE) in another server.. here are the code

    package pkg;

    import com.sybase.jdbcx.SybDriver;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;

    public class clsTest
    {
    public clsTest()
    {
    }
    public static void main(String[] args)
    {
    testConn("");
    }

    private static void testConn()
    {
    Connection _con= null;
    String host = "XXX";
    String port= "XXX";
    String url = host + ":" + port;
    Statement _stmt= null;
    int timeout = 10;
    boolean needsReconnect = true;
    SybDriver sybDriver = null;
    try
    {
    Class c = Class.forName("com.sybase.jdbc3.jdbc.SybDriver");
    sybDriver = (SybDriver) c.newInstance();
    DriverManager.registerDriver((Driver) sybDriver);
    }
    catch (Exception e)
    {

    System.err.print("Unable to load the Sybase JDBC driver. "
    + e.toString());
    e.printStackTrace(System.out);
    }
    if (needsReconnect)
    {
    try
    {

    if (_con != null)
    {
    _con.close();
    }
    url="jdbc:sybase:Tds:BDSERVER:PORT/BD";
    System.err.println("Trying to connect to: " + url);
    DriverManager.setLoginTimeout(timeout);
    con = DriverManager.getConnection(url,"usrquery","mundial");
    _stmt = _con.createStatement();

    boolean results = _stmt.execute("select count(*) from TABLA");
    if (results)
    {
    ResultSet rs= _stmt.getResultSet();
    rs.next();
    System.err.println(rs.getString(1));
    }
    _con.close();
    }
    catch (SQLException sqle)
    {
    System.err.println(sqle.toString() + " Restart connection.");
    return;
    }
    catch (Exception e)
    {
    e.printStackTrace();
    System.err.println("Unexpected Exception: " + e.toString());
    return;
    }
    }
    }
    }

    When I run the proyect using the IDE JDeveloper I have no problem, but when I make de use loadjava I receive these error message

    creating : resource META-INF/MANIFEST.MF
    loading : resource META-INF/MANIFEST.MF
    Error while creating resource META-INF/MANIFEST.MF
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

    creating : class pkg/clsTest
    loading : class pkg/clsTest
    creating : resource jconn3.jar
    loading : resource jconn3.jar
    Error while creating resource jconn3.jar
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler

    granting : execute on class pkg/clsTest to public
    Error while computing shortname of pkg/clsSybaseLAE
    ORA-06550: line 1, column 13:
    PLS-00201: identifier 'DBMS_JAVA.SHORTNAME' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    resolving: class pkg/clsTest
    errors : class pkg/clsTest
    ORA-29521: referenced name java/lang/StringBuffer could not be found
    ORA-29521: referenced name java/lang/Class could not be found
    ORA-29521: referenced name com/sybase/jdbcx/SybDriver could not be found
    ORA-29521: referenced name java/sql/Driver could not be found
    ORA-29521: referenced name java/sql/DriverManager could not be found
    ORA-29521: referenced name java/lang/System could not be found
    ORA-29521: referenced name java/lang/Exception could not be found
    ORA-29521: referenced name java/io/PrintStream could not be found
    ORA-29521: referenced name java/sql/Connection could not be found
    ORA-29521: referenced name java/sql/Statement could not be found
    ORA-29521: referenced name java/sql/ResultSet could not be found
    ORA-29521: referenced name java/sql/SQLException could not be found
    ORA-29521: referenced name java/lang/Object could not be found
    ORA-29521: referenced name java/lang/String could not be found
    synonym : pkg/clsTest
    The following operations failed
    resource META-INF/MANIFEST.MF: creation
    class pkg/clsTest: resolution
    resource jconn3.jar: creation
    exiting : Failures occurred during processing

    Please some one help me!.. Thank's a lot

    DB:2.43:Problem Using Java Store Procedure (Java Class) To Connect To Sybase fc

    Thanks, you was right, but I have another problem

    The following operations failed
    class cl/bcch/clsSyBase: resolution
    source cl/bcch/clsSyBase: creation (createFailed)
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
    at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:1057)
    at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:124)
    at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:53)
    at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:98)
    at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:503)
    at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:381)
    at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:300)
    at oracle.jdevimpl.deploy.StoredProcProfileDt$Action$1.run(StoredProcProfileDt.java:598)
    #### Export incomplete. #### 09-01-2008 02:28:39 PM
    *** Note ***
    One possibility for the database export failure is that the target Database may not support JDK version 1.4. Updating your Project Properties compiler Source Target to an earlier release could fix this problem.
    ************

  • RELEVANCY SCORE 2.43

    DB:2.43:Help Securityexception kd



    Hello.

    I'm a problem with WL6.0 that in WL5.1 i haven't. My source code is :

    java.security.MessageDigest oDigest=java.security.MessageDigest.getInstance("MD5");
    byte oRes=oDigest.digest(oIn);

    the Exception that produce is :

    java.lang.SecurityException: Prohibited package name: java.security

    Could anybody tell me why? Thank you very much!

    DB:2.43:Help Securityexception kd

    I'm having a similar problem. solaris, jdk 1.2.2 weblogic 5.1

    the setCookie is calling our cryptix classes which have worked correctly
    on 5.1 on linux and 4.5 on all OS's.

    thanks.

    Wed Feb 07 16:35:41 PST 2001:I ServletContext-General *.html: init
    Wed Feb 07 16:35:41 PST 2001:E ServletContext-General Servlet failed
    with Exception
    java.lang.SecurityException: Prohibited package name: java.security
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.init(Compiled Code)
    at java.lang.Exception.init(Compiled Code)
    at java.lang.RuntimeException.init(RuntimeException.java:47)
    at java.lang.SecurityException.init(SecurityException.java:39)
    at java.lang.ClassLoader.defineClass(Compiled Code)
    at java.security.SecureClassLoader.defineClass(Compiled Code)
    at java.net.URLClassLoader.defineClass(Compiled Code)
    at java.net.URLClassLoader.access$1(Compiled Code)
    at java.net.URLClassLoader$1.run(Compiled Code)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivileged(Compiled Code)
    at java.net.URLClassLoader.findClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClassInternal(Compiled Code)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass0(Compiled Code)
    at java.lang.ClassLoader.defineClass(Compiled Code)
    at java.security.SecureClassLoader.defineClass(Compiled Code)
    at java.net.URLClassLoader.defineClass(Compiled Code)
    at java.net.URLClassLoader.access$1(Compiled Code)
    at java.net.URLClassLoader$1.run(Compiled Code)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivileged(Compiled Code)
    at java.net.URLClassLoader.findClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at weblogic.boot.ServerClassLoader.findFromParent(Compiled Code)
    at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClassInternal(Compiled Code)
    at
    com.foo.session.SessionHandler.setCookie(SessionHandler.java:605)
    at
    com.foo.session.SessionHandler.processSession(SessionHandler.java:482)
    at com.foo.parse.SaxonPageGen.preService(SaxonPageGen.java:119)
    at com.foo.viewpage.ViewPage.preService(ViewPage.java:66)
    at com.foo.parse.XslCompilerServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)

    Luis wrote:

    Hello.

    I'm a problem with WL6.0 that in WL5.1 i haven't. My source code is :

    java.security.MessageDigest oDigest=java.security.MessageDigest.getInstance("MD5");
    byte oRes=oDigest.digest(oIn);

    the Exception that produce is :

    java.lang.SecurityException: Prohibited package name: java.security

    Could anybody tell me why? Thank you very much!

  • RELEVANCY SCORE 2.42

    DB:2.42:Can't Run Under Hpux 10.20 ff


    Hi,
    I have been getting the following error when running a simple java class that runs fine on Windows 2000. Re-installing the JDK and JRE did not help.

    SAM:/h/work java -v -prof -cs -verify -classpath .:/opt/java/lib/classes.zip Blink
    [Loaded java/lang/Thread.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/Object.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/Class.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/String.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/Throwable.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/IllegalArgumentException.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/RuntimeException.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/Exception.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/StringIndexOutOfBoundsException.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/IndexOutOfBoundsException.class from /opt/java/lib/classes.zip]
    VERIFIER ERROR java/lang/String.getBTCConverterFast(Ljava/lang/String;)Lsun/io/ByteToCharConverter;:
    Expecting to find object on stack
    [Loaded java/lang/UnknownError.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/VirtualMachineError.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/Error.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/String.class from /opt/java/lib/classes.zip]
    VERIFIER ERROR java/lang/String.getBTCConverterFast(Ljava/lang/String;)Lsun/io/ByteToCharConverter;:
    Expecting to find object on stack
    [Loaded java/lang/Class.class from /opt/java/lib/classes.zip]
    [Loaded java/lang/String.class from /opt/java/lib/classes.zip]
    VERIFIER ERROR java/lang/String.getBTCConverterFast(Ljava/lang/String;)Lsun/io/ByteToCharConverter;:
    Expecting to find object on stack
    Unable to initialize threads: cannot find class java/lang/Thread
    SIGBUS 10* bus error

    Full thread dump:
    SAM:/h/work

    I am stumped. Thanks for any suggestions.

    Alex sends

    DB:2.42:Can't Run Under Hpux 10.20 ff

    See if this helps:

    bug information:

    http://www.hp.com/products1/unix/java/java1/jdk_jre/infolibrary/bug_info.html

  • RELEVANCY SCORE 2.42

    DB:2.42:Java.Lang.Securityexception: Prohibited Package Name: Java.Security xx


    Hi all:
    Hope you've been through this and be able to help

    I happen to use a vendor Crypt jar to encrypt data.
    Bundled within I found a package named java.security
    which replaces core java classes.

    I tried making my own access policies

    permission java.lang.RuntimePermission "accessClassInPackage.java.security";
    permission java.lang.RuntimePermission "defineClassInPackage.java.security";
    permission java.util.PropertyPermission "java.security", "read";

    but I had no luck

    what do you suggest ?

    thx in advance

    DB:2.42:Java.Lang.Securityexception: Prohibited Package Name: Java.Security xx

    This is not the correct approach. May I suggest you haven't installed the software correctly. The vendor would have provided instructions.

  • RELEVANCY SCORE 2.42

    DB:2.42:Uncaught Exception Java Lang Error j1


    DB:2.42:Uncaught Exception Java Lang Error j1


    repeated problem from past and support team sitting ideal on the issue.

  • RELEVANCY SCORE 2.42

    DB:2.42:Prohibited Package Name: Java.Util.Logging c7


    Got this when trying to run weblogic.appc to generate stubs skeletons for my ejbs.(Prohibited package name: java.util.logging)
    Any way to overcome this?

    DB:2.42:Prohibited Package Name: Java.Util.Logging c7

    Got this when trying to run weblogic.appc to generate stubs skeletons for my ejbs.(Prohibited package name: java.util.logging)
    Any way to overcome this?

  • RELEVANCY SCORE 2.42

    DB:2.42:Problem With Hibernate 7a


    Hi,

    I am using the oracle.jdbc.driver.OracleDriver which refers to java.sql.Savepioint class internally. i tried o put the rt.jar which contains the package . and this is the error i am getting .. this error .........

    java.lang.SecurityException: Prohibited package name: java.sql
    at java.lang.ClassLoader.defineClass(ClassLoader.java:678)

    DB:2.42:Problem With Hibernate 7a

    You can't just mess around with the rt.jar file, it's part of the JRE. What are you "putting" it in to?

    Your problem is most likely that java is now trying to load a class in the java package from outside the JRE, which is not allowed. Keep it in the jre\lib directory!

  • RELEVANCY SCORE 2.42

    DB:2.42:Securityexception? 33



    When I tried to save some modification to the contacts.

    // do some modification

    try{ if(contact.isModified()) { contact.commit(); }}catch (PIMException e) { Dialog.alert(SmartDialer._resources.getString(SmartDialerResResource.UPDATE_FAILED));}

    and I get SecurityException problem.Any suggestion will be appreciated.Thanks in advance.







    Solved!
    Go to Solution.

    DB:2.42:Securityexception? 33

    I opened the PIM list in READ_ONLY mode,change to READ_WRITE it works...

  • RELEVANCY SCORE 2.41

    DB:2.41:Ioexception: Prohibited Package Name: Java.Lang f8


    Hi!

    I have problems when trying to call a method that throws an exception over RMI-iiop. Instead of the exceptions that should be thrown I get an IOException and a stackTrace is printed out in the console(even if the exception is caught) The server is WL8.1 SP3 with java 1.4.2 and the client runs under java 1.3.1_09-b03.

    It works when the client runs under java 1.4.2. I also wrote a small testapplication outside of WL and it works fine too(using RMI-iiop, tnameserv and suns ORB, server under java 1.4.2 and client under java 1.3.1_09-b03).

    But when trying to call the method in WL i get the exception below instead of the one that is thrown.

    java.io.IOException: Prohibited package name: java.lang
    at com.sun.corba.se.internal.io.IIOPInputStream.throwExceptionType(Native Method)
    at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:272)
    at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:245)at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:207)
    at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1058)

    I have also tried to use suns ORB in WL but still get the same problem. Everything works fine except when an exception is thrown by the remote method.

    Any ideas what the problem could be?

    DB:2.41:Ioexception: Prohibited Package Name: Java.Lang f8

    Jonas Mohlin noaddress@noaddress.given writes:

    Hi, thank you for the answer.

    But I still think it can be a WL-problem. I can get an application outside of WL to work between java 1.4.2 and java 1.3.1. Even when sending a new exception created and compiled under 1.4.2 and sent to the 1.3.1-JVM, it is recieved correctly by the 1.3.1-JVM and thrown.

    I also tried to change WL to use SUNs ORB which I use in my test but still get the same problem so it feels like the problem is with WL's JNDI..You need to provide more details, and its probably best if you do that
    through a support call. Note that Sun put hacks in their own ORBs to
    support interoperability differences, so its quite possible that Sun
    - Sun is ok but we cannot track them bug for bug.

    andy

  • RELEVANCY SCORE 2.41

    DB:2.41:Basic Fundamental! 1m


    Can anyone explain me the term "System.out.println?"
    I m askin this basic y cuz the "System" class belongs to lang package and it does not have any method called "println".

    But this println() method belongs to the class "PrintWriter" class which is in IO package.

    I understand that lang package comes as a default package when u start writing any java program but that doesnt mean that it can use any method of any other class which belongs to all different package.

    Kindly explain me the relation of "System.out.println" and also that how it works??

    thanx
    harpreet singh

  • RELEVANCY SCORE 2.41

    DB:2.41:Jpub Giving Ora-29545 Error - Please Help! 1j


    All,

    I am trying to consume Java Web Services for 9.2.0.1 RDBMS. While I run JPub, I get the following error:

    E:\Ora9i\OraHome92\binjpub -user="SCOTT/TIGER" -sysuser="SYS/TIGER" -proxywsdl="e:\IMyFloatWebService.wsdl" -dir=ShowPi -plsqlpackage=soap_callout_wrpr_pi -proxyopts="soap,tabfun"

    Note: ShowPi\MyFloatWebServiceProxy.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    ShowPi\MyFloatWebServiceProxyJPub.java
    ShowPi\plsql_wrapper.sql
    ShowPi\plsql_dropper.sql
    ShowPi\plsql_grant.sql
    ShowPi\plsql_revoke.sql
    Executing ShowPi\plsql_dropper.sql
    Executing ShowPi\plsql_wrapper.sql
    Executing ShowPi\plsql_grant.sql
    Loading ShowPi\plsql_proxy.jar
    Error while creating class java/lang/StringBuilder
    ORA-29545: badly formed class: User has attempted to load a class (java.lang
    .StringBuilder) into a restricted package. Permission can be granted using dbms
    java.grantpermission(user, LoadClassInPackage...

    errors : class MyFloatWebServiceProxyJPub
    ORA-29521: referenced name java/lang/StringBuilder could not be found
    errors : class MyFloatWebServiceProxy
    ORA-29521: referenced name java/lang/StringBuilder could not be found
    The following operations failed
    class MyFloatWebServiceProxyJPub: resolution
    class MyFloatWebServiceProxy: resolution
    class java/lang/StringBuilder: creation
    exiting : Failures occurred during processing

    Could somebody suggest me some way to go around this - I have been sitting on this since three days - any help is appreciated.

    Regards,
    Leslie, A

    DB:2.41:Jpub Giving Ora-29545 Error - Please Help! 1j

    Hi,
    I am having the same problem. Did u get this to work.

    Thanks.

  • RELEVANCY SCORE 2.40

    DB:2.40:6300 'Application Error' With Sensor df


    i've had lots of fun using Sensor but all of a sudden to my horror Sensor stopped working, im getting an
    'Application error' when i loads up and the
    'Details' are
    "com.nokia.mid.appl.sensor.S...(small text at top of screen)
    Security
    java/lang/SecurityException
    Access denied"
    i've tried reinstalling it with a backup from andy29b (thanks mate) but still the same error, i've tried restoring it with a backup of my phone + memory card using PC Suite but the backup log showed that it only restore the Sensor '.jad' file.

    Please help

    Thanks

    DB:2.40:6300 'Application Error' With Sensor df

    ah ha,

    i figured it out,
    i was just sending the '.jar' file on its own from my PDA, but i needed to put both the '.jar' and '.jad' file on the memory card (collection folder) at the same time, i used andy29b backup and a microSD card reader instead of sending it by bluetooth (both files via BT didnt work) or using Nokia PC Suite.
    So im guessing the '.jad' file sets the 'Application access' because that option is disabled now, and now it says 'Certificate: Yes' in the 'Details'

    OK then

  • RELEVANCY SCORE 2.40

    DB:2.40:Prohibited Package Name Error. 8d


    I m able to succesfully deploy webservice, however
    when I click invoke I am getting error

    An error occurred for port: {http://Test.getEmailP
    ackage/}MyWebServiceSoapHttpPort: java.lang.SecurityException: Prohibited package name: java.lang.runtime.

    Even if I change the package name I am getting the same error. What could be the reason?

    DB:2.40:Prohibited Package Name Error. 8d

    It's hard to tell why you have this error without any context.

    From Prohibited package name: java.lang.runtime, I would expect that you are trying to expose a service SEI with a subclass of the java.lang.Runtime class.

    If you are still having this issue, can you post your SEI?

    All the best,
    Eric

  • RELEVANCY SCORE 2.40

    DB:2.40:Packaging Problem dp


    I am working on drive H: on my computer. I made a simple class and specified this package statement
    package java.ch08;

    when i comipling this class i used this statement

    javac -d h:\amarbir Time1.java

    Amarbir being the folder in which the file Time1.java resides

    I created another class to test this class called TimeTest.jaava

    the import statement in this class is as follows

    import java.ch08.Time1;

    the program TimeTest compiles withpout a error
    but when i try to run it using

    java TimeTest

    it gives me an error as follows:

    Exception in thread "main" java.lang.securityexception: Prohibited package name java.ch08
    and there are lots of statements follwing this error saying
    at java.lang.classloader and blh blah blah

    Can anybody please tell me what I am doing wrong
    and if this approach of packaging is right at all??
    :s

    DB:2.40:Packaging Problem dp

    Your package names cannot start with "java". Change the package name.

    Also the -d option tells javac where to put class files, not where to read .java files from. If you use it, you'll probably have to either change your CLASSPATH, or use a -classpath argument to java, to point to the same directory.

  • RELEVANCY SCORE 2.40

    DB:2.40:Forms11g And Java.Lang.Exception am


    Hi, I'm trying to import java.lang.Exception into Forms 11g but I'm always getting this "short" code!
    PACKAGE Exception_ /* java.lang.Exception */ IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT;

    -- Constructor for signature (Ljava/lang/String;)V
    FUNCTION new(
    a0 VARCHAR2) RETURN ORA_JAVA.JOBJECT;

    -- Constructor for signature (Ljava/lang/String;Ljava/lang/Throwable;)V
    FUNCTION new(
    a0 VARCHAR2,
    a1 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT;

    -- Constructor for signature (Ljava/lang/Throwable;)V
    FUNCTION new(
    a0 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT;

    END;
    So, how can I get the rest of the java class into my pl/sql package?Thanks.

    DB:2.40:Forms11g And Java.Lang.Exception am

    Most Welcome ....Best RegardsMuhammad Rabie

  • RELEVANCY SCORE 2.40

    DB:2.40:Package Name Limitations For Debugging With Wl 4.5.1 39


    I are trying to debug with Visual Cafe 3.1 using WebLogic 4.5.1 and our most
    recent obstacle is that while trying to debug an EjB it fails for the
    following package name:
    com.toroam.catalyst.layoutengine.LayoutProcessorHome
    However it will work for the package name :
    com.snuffleupagus.layoutprocessor.ContentCutterHome

    The same EjB will work for one package name and not the other. I was
    wondering if you are aware of any package naming limittions in terms of size
    or formatting that could be throwing us off.

    Below is the example from the WebLogic Server console:

    Mon Mar 13 15:41:27 PST 2000:I EJB Enterprise JavaBeans initializing
    Mon Mar 13 15:41:27 PST 2000:I EJB Read EJB deployment descriptor for:
    "com.snuffleupagus.layoutprocessor.ContentCutterHome"
    Mon Mar 13 15:41:28 PST 2000:I EJB EJB home interface:
    'com.snuffleupagus.layoutprocessor.ContentCutterHome' deployed bound to the
    JNDI name: 'com
    .snuffleupagus.layoutprocessor.ContentCutterHome'
    Mon Mar 13 15:41:28 PST 2000:I EJB Read EJB deployment descriptor for:
    "com.toroam.catalyst.layoutengine.LayoutProcessorHome"
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Mon Mar 13 15:41:29 PST 2000:I EJB EJB home interface:
    'com.toroam.catalyst.layoutengine.LayoutProcessorHome' deployed bound to the
    JNDI name: 'co
    m.toroam.catalyst.layoutengine.LayoutProcessorHome'

    DB:2.40:Package Name Limitations For Debugging With Wl 4.5.1 39

    I are trying to debug with Visual Cafe 3.1 using WebLogic 4.5.1 and our most
    recent obstacle is that while trying to debug an EjB it fails for the
    following package name:
    com.toroam.catalyst.layoutengine.LayoutProcessorHome
    However it will work for the package name :
    com.snuffleupagus.layoutprocessor.ContentCutterHome

    The same EjB will work for one package name and not the other. I was
    wondering if you are aware of any package naming limittions in terms of size
    or formatting that could be throwing us off.

    Below is the example from the WebLogic Server console:

    Mon Mar 13 15:41:27 PST 2000:I EJB Enterprise JavaBeans initializing
    Mon Mar 13 15:41:27 PST 2000:I EJB Read EJB deployment descriptor for:
    "com.snuffleupagus.layoutprocessor.ContentCutterHome"
    Mon Mar 13 15:41:28 PST 2000:I EJB EJB home interface:
    'com.snuffleupagus.layoutprocessor.ContentCutterHome' deployed bound to the
    JNDI name: 'com
    .snuffleupagus.layoutprocessor.ContentCutterHome'
    Mon Mar 13 15:41:28 PST 2000:I EJB Read EJB deployment descriptor for:
    "com.toroam.catalyst.layoutengine.LayoutProcessorHome"
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Class missing for error: java/lang/ClassNotFoundException at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:580)
    Mon Mar 13 15:41:29 PST 2000:I EJB EJB home interface:
    'com.toroam.catalyst.layoutengine.LayoutProcessorHome' deployed bound to the
    JNDI name: 'co
    m.toroam.catalyst.layoutengine.LayoutProcessorHome'

  • RELEVANCY SCORE 2.39

    DB:2.39:Communication Thru Parallel mf


    Hi, i wish to know if java has an API inside the lang package to deal with the Parallel port, if not, what package could I use?
    thanks

  • RELEVANCY SCORE 2.39

    DB:2.39:After Reinstallation I Am Unable To Run Java d8


    I reinstalled the entire java package j2dsk1.4.2_03, and could no longer run java on my Windows XP. I would really appreciate your help.

    Whenever I try to run javac or java, I will get the following message:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object

    I correctly added C:\ j2dsk1.4.2_03\bin to the PATH variable, and have no ideas about how to resolve the issue.

    Thanks.

    DB:2.39:After Reinstallation I Am Unable To Run Java d8

    Thanks. I finally resolved the issue by

    1. removing Java 2 SDK and Java 2 Runtime Environment, SE v1.4.2_03, using "Add and Remove Programs",
    2. reinstalling them by clicking j2sdk-1_4_2_03-windows-i586-p.exe, which was downloaded from SUN.

  • RELEVANCY SCORE 2.39

    DB:2.39:Custom Class Loader Failing With Java.Lang.Securityexception j9


    I have written a simple class loader

    package com.custom.classLoaders;

    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;

    public class FileLoader extends ClassLoader{

    public FileLoader() {
    // TODO Auto-generated constructor stub
    super(FileLoader.class.getClassLoader());
    }
    public static void main(String[] args) {
    try {
    new FileLoader().loadClass("com.custom.classLoaders.Bla");
    } catch (ClassNotFoundException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    }

    @Override
    public Class? loadClass(String name) throws ClassNotFoundException {
    // TODO Auto-generated method stub
    //name ="com.custom.classLoaders.Bla";
    byte[] classRead = null;
    try {
    classRead = getBytes("e:\\CustomClassLoading\\src\\com\\custom\\classLoaders\\Bla.class");
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }

    Class clazz = defineClass(name, classRead, 0, classRead.length);
    return clazz;
    }

    private byte[] getBytes(String name) throws IOException {
    // TODO Auto-generated method stub
    File fil = new File(name);
    long lenOfFile = fil.length();
    byte[] raw = new byte[(int)lenOfFile];
    FileInputStream fin = new FileInputStream(fil);
    int r = fin.read(raw);
    if(r != lenOfFile)
    throw new IOException("Cant read all");
    fin.close();
    return raw;

    }

    }

    But on running this code I am getting an exception
    Exception in thread "main" java.lang.SecurityException: Prohibited package name: java.lang
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at com.custom.classLoaders.FileLoader.loadClass(FileLoader.java:35)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at com.custom.classLoaders.FileLoader.loadClass(FileLoader.java:35)
    at com.custom.classLoaders.FileLoader.main(FileLoader.java:15)

    As far as I understand this exception is supsd to be there in case I am tinkering with custom java classes, but I guess my code never touches any of the custom java classes. Please advise what can be wrong.

    DB:2.39:Custom Class Loader Failing With Java.Lang.Securityexception j9

    So in what situation should i write a class loader of my own and not use one provided by Java.I've never encountered one in nearly 12 years of Java programming.

  • RELEVANCY SCORE 2.39

    DB:2.39:Cannot Pass Jarray Type Object To Web-Service Invocating Function. pj


    We create a stub (from JDeveloper 9.0.4.2.0) to call a .Net web service. Our goal is to pass a very large (few MBs) base64 character string to this web-service.

    The WSDL entry for the method is:
    - s:element name="CreateDocumentExternal"
    - s:complexType
    - s:sequence
    s:element minOccurs="0" maxOccurs="1" name="loginName" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="filename" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="folderPath" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="filebytes" type="s:base64Binary" /
    s:element minOccurs="0" maxOccurs="1" name="TemplateDocId" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="externalRefId" type="s:string" /
    /s:sequence
    /s:complexType
    /s:elementWe are using Forms [32 Bit] Version 9.0.4.2.0 (Production). We used Java importer to import the classes for the java classes created using Jdeveloper.

    The Forms package procedure to call the web-service method is this:
    PACKAGE ExternalDocumentServiceStub /* dmsbytearra1.ExternalDocumentServiceStub */ IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    -- Method: CreateDocumentExternal (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Byte;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION CreateDocumentExternal(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 ORA_JAVA.JARRAY,
    a5 VARCHAR2,
    a6 VARCHAR2) RETURN VARCHAR2;
    .................
    .......Our problem is to pass the character string as JARRAY (i.e. parameter a4).

    We used this code in the when-button-pressed trigger:
    DECLARE
    input_jo ora_java.jobject;
    input_ja ora_java.jarray;
    exora_java.jarray;
    ret_val VARCHAR2(1000);
    BEGIN
    input_jo := ExternalDocumentServiceStub.new;

    input_ja := ora_java.new_string_array(1); -- string array with 1 element
    ora_java.set_string_array_element(input_ja, 0, 'some string'); -- insert value to 1st element of string
    message(' Array length is: ' || ORA_JAVA.GET_ARRAY_LENGTH(input_ja)); pause;

    -- call web-service
    ret_val := ExternalDocumentServiceStub.CreateDocumentExternal(input_jo, 'urd', 'pwd',
    'star.gif', 'dir1', input_ja, '11', '12345'
    );

    message('WS return value = ' || ret_val);

    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message('Exception 2' || Exception_.toString(ex));
    END;When we run this we get an error thrown from the first 1st when
    Unable to call out to Java, invalid object type for argument 5The Forms documentation on thsi is very weak.

    Any help on this would be greatly appreciated.

    DB:2.39:Cannot Pass Jarray Type Object To Web-Service Invocating Function. pj

    We create a stub (from JDeveloper 9.0.4.2.0) to call a .Net web service. Our goal is to pass a very large (few MBs) base64 character string to this web-service.

    The WSDL entry for the method is:
    - s:element name="CreateDocumentExternal"
    - s:complexType
    - s:sequence
    s:element minOccurs="0" maxOccurs="1" name="loginName" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="filename" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="folderPath" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="filebytes" type="s:base64Binary" /
    s:element minOccurs="0" maxOccurs="1" name="TemplateDocId" type="s:string" /
    s:element minOccurs="0" maxOccurs="1" name="externalRefId" type="s:string" /
    /s:sequence
    /s:complexType
    /s:elementWe are using Forms [32 Bit] Version 9.0.4.2.0 (Production). We used Java importer to import the classes for the java classes created using Jdeveloper.

    The Forms package procedure to call the web-service method is this:
    PACKAGE ExternalDocumentServiceStub /* dmsbytearra1.ExternalDocumentServiceStub */ IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    -- Method: CreateDocumentExternal (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Byte;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION CreateDocumentExternal(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 ORA_JAVA.JARRAY,
    a5 VARCHAR2,
    a6 VARCHAR2) RETURN VARCHAR2;
    .................
    .......Our problem is to pass the character string as JARRAY (i.e. parameter a4).

    We used this code in the when-button-pressed trigger:
    DECLARE
    input_jo ora_java.jobject;
    input_ja ora_java.jarray;
    exora_java.jarray;
    ret_val VARCHAR2(1000);
    BEGIN
    input_jo := ExternalDocumentServiceStub.new;

    input_ja := ora_java.new_string_array(1); -- string array with 1 element
    ora_java.set_string_array_element(input_ja, 0, 'some string'); -- insert value to 1st element of string
    message(' Array length is: ' || ORA_JAVA.GET_ARRAY_LENGTH(input_ja)); pause;

    -- call web-service
    ret_val := ExternalDocumentServiceStub.CreateDocumentExternal(input_jo, 'urd', 'pwd',
    'star.gif', 'dir1', input_ja, '11', '12345'
    );

    message('WS return value = ' || ret_val);

    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message('Exception 2' || Exception_.toString(ex));
    END;When we run this we get an error thrown from the first 1st when
    Unable to call out to Java, invalid object type for argument 5The Forms documentation on thsi is very weak.

    Any help on this would be greatly appreciated.

  • RELEVANCY SCORE 2.39

    DB:2.39:How To Solve This Jsp Problem dk


    //Class1.java
    package p1.p2;
    public class Class1 implements Serializable
    {
    private String name1;
    public void setName(String name)
    {
    name1=name;
    }
    public String getName()
    {
    return name1;
    }
    }

    //Class2.java
    package p1.p2;
    public class Class2
    {
    String name;
    public String insert(Class1 c1)
    {
    name = c1.getName();
    return name;
    }
    }

    //Class3.jsp
    %@ page import="p1.p2.*" %
    html
    form action="/lobby/Class3.jsp" method=post
    Name : input type=text name="cn"
    input type=submit value="Click"/
    /form
    /html
    %! String s,d; %
    %
    Class1 c1 = new Class1();
    if(request.getParameter("cn")!=null)
    {
    s=request.getParameter("cn");
    c1.setName(s);
    Class2 c2 = new Class2();
    d=cd.insert(c2);
    out.println(d);
    }
    %

    WHEN I RUN THE JSP PROGRAM I GOT THE FOLLOWING ERROR.TELL ME TO SOLVE THIS PROBLEM.

    javax.servlet.ServletException: p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:76)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

    root cause

    java.lang.NoSuchMethodError: p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:67)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

    DB:2.39:How To Solve This Jsp Problem dk

    //Class1.java
    package p1.p2;
    public class Class1 implements Serializable
    {
    private String name1;
    public void setName(String name)
    {
    name1=name;
    }
    public String getName()
    {
    return name1;
    }
    }

    //Class2.java
    package p1.p2;
    public class Class2
    {
    String name;
    public String insert(Class1 c1)
    {
    name = c1.getName();
    return name;
    }
    }

    //Class3.jsp
    %@ page import="p1.p2.*" %
    html
    form action="/lobby/Class3.jsp" method=post
    Name : input type=text name="cn"
    input type=submit value="Click"/
    /form
    /html
    %! String s,d; %
    %
    Class1 c1 = new Class1();
    if(request.getParameter("cn")!=null)
    {
    s=request.getParameter("cn");
    c1.setName(s);
    Class2 c2 = new Class2();
    d=cd.insert(c2);
    out.println(d);
    }
    %

    WHEN I RUN THE JSP PROGRAM I GOT THE FOLLOWING ERROR.TELL ME TO SOLVE THIS PROBLEM.

    javax.servlet.ServletException: p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:76)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

    root cause

    java.lang.NoSuchMethodError: p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:67)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

  • RELEVANCY SCORE 2.39

    DB:2.39:Exception: Prohibited Package Name : Java.Util.Reflect. Help Needed. 79


    HI all
    we are running into a problem when calling a soap service from our client code. an SecurityException was thrown with the following error message: prohibited package name : java.util.reflect. i think this is happening in the code when creating the binding to the stub object. anyone has any idea or had similar problem but got solution? your help is greatly appreciated. thanks.

    DB:2.39:Exception: Prohibited Package Name : Java.Util.Reflect. Help Needed. 79

    thanks. the problem was caused by the jar files in the classpath. somehow a older version of the JDK was added to the classpath before the newer version.

  • RELEVANCY SCORE 2.39

    DB:2.39:Custom Classloader zm


    I'm trying to use a custom ClassLoader to instantiate a class with a constructor that has one argument. the part of code that does the job is:
    String className = /* SOME INITIALIZATION HERE */;

    final Class? myClass = new BaseLoader().loadClass(name, true);

    final Class[] types = new Class[] { AbstractCommunicationFactory.class };
    final Constructor con = myClass.getConstructor(types);

    final Object[] args = new Object[] { this.communicator };
    final IGuiAbstractFactory ts = (IGuiAbstractFactory)con.newInstance(args);First problem: the myClass.getConstructor(types) throws a NoSuchMethodException but the myClass.getConstructors() has such constructor in the returned array. So... why it cannot find it?

    Then: suppose I can find the constructor by checking in the array if a constructor has a paramater with the same canonical name as AbstractCommunicationFactory.class.
    final Constructor con = myClass.getConstructors()[0];In this situation, the constructor is the correct one (with the parameters) but the newInstance(args) method throws a IllegalArgumentException.

    If I use
    final Class? myClass = Class.forName(name);instead of using the BaseLoader, everything works...

    Any idea?

    My BaseLoader is
    /*
    * [OMISSIS]
    * BaseLoader.java
    *
    * Version 2010-05-29
    *
    * Copyright 2010 [OMISSIS]
    * All rights reserved
    * [OMISSIS] Proprietary information
    * Contains proprietary/trade secret information which is the property of
    * [OMISSIS] and must not be made available to, or copied or used by anyone
    * outside [OMISSIS] without its written authorization.
    */

    package [OMISSIS].loader;

    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;

    //~--- non-JDK imports ---------------------------------------------------------

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;

    //~--- classes -----------------------------------------------------------------

    /**
    * Class description.
    *
    * @author Marco Bresciani, Marco.Bresciani@[OMISSIS]
    * @version 2010-04-27
    */
    public class BaseLoader extends ClassLoader {

    /**
    * Field LOG_BASE description.
    */
    private static final Logger LOG_BASE =
    LoggerFactory.getLogger(BaseLoader.class);

    /**
    * Field BUFFER_SIZE description.
    */
    private static final int BUFFER_SIZE = 8192;

    //~--- methods -------------------------------------------------------------

    /**
    * Method loadClass description.
    *
    * @param pClassName
    * @param pResolve
    * @return
    * @throws ClassNotFoundException
    */
    @Override
    public Class? loadClass(final String pClassName,
    final boolean pResolve)
    throws ClassNotFoundException {

    /* variables definition */
    Class? cls = null;

    BaseLoader.LOG_BASE.trace("Loading class: {}, resolve: {}",
    new Object[] { pClassName,
    pResolve });

    // 1. is this class already loaded?
    synchronized (this) {
    cls = this.findLoadedClass(pClassName);
    }

    if (cls == null) {

    // 2. get class file name from class name
    final String clsFile = pClassName.replace('.', '/') + ".class";

    // 3. get bytes for class
    byte[] classBytes = null;

    try {

    /* block variables */
    final InputStream input = getResourceAsStream(clsFile);
    final byte[] buffer = new byte[BaseLoader.BUFFER_SIZE];
    final ByteArrayOutputStream output =
    new ByteArrayOutputStream();

    /* loading loop */
    for (int n = input.read(buffer, 0, BaseLoader.BUFFER_SIZE);
    n != -1;
    n = input.read(buffer, 0, BaseLoader.BUFFER_SIZE)) {
    output.write(buffer, 0, n);
    }

    classBytes = output.toByteArray();
    } catch (IOException e) {
    BaseLoader.LOG_BASE.trace(e.getLocalizedMessage(), e);
    }

    if (classBytes == null) {
    throw new ClassNotFoundException("Cannot load class: "
    + pClassName);
    }

    // 4. turn the byte array into a Class
    try {
    cls = this.defineClass(pClassName, classBytes, 0,
    classBytes.length);

    if (pResolve) {
    this.resolveClass(cls);
    }
    } catch (SecurityException e) {
    BaseLoader.LOG_BASE.trace(e.getLocalizedMessage(), e);

    // loading core java classes such as java.lang.String
    // is prohibited, throws java.lang.SecurityException.
    // delegate to parent if not allowed to load class
    cls = super.loadClass(pClassName, pResolve);
    }
    }

    return cls;
    }
    }

    DB:2.39:Custom Classloader zm

    So, something like:
    final Class? myAbstract = new BaseLoader().loadClass("mypackage.AbstractCommunicationFactory", true);
    final Class[] types = new Class[] { myAbstract };instead of
    final Class? myClass = new BaseLoader().loadClass(name, true);
    final Class[] types = new Class[] { AbstractCommunicationFactory.class };Ok. I'll check.

  • RELEVANCY SCORE 2.38

    DB:2.38:Got Exception: Java.Lang.Securityexception 91


    Hi All,I need your help...I tried a lot to find the solution but finally not able to do…I did a sample Application which will show a Popup Screen immediately after we reject the call.When I am trying to load popup screen I am getting an exception on device "Uncaught Exception: java.lang.SecurityException", but in emulator it is working fine.I did try in the following ways- to launch the Popup Screen1. Launching PopupScreen in the different thread2. Launching PopupScreen by using InvokeLater()3. Launching PopupScreen by using UiEngine() object with out any threadAll above 3 scenarios are working fine in the simulator, but not on the device.Please help me on this.Personal Question:is there any different between BlackBerry Storm device and simulator?Because what ever is working in simulator, that is not working on the device.Thanks in AdvanceRatna

    DB:2.38:Got Exception: Java.Lang.Securityexception 91

    the security exception is most likely because you try to use INTERGER_MIN_VALUE (or another forbidden value) to push the popup screen.the highest priority is reserved for RIM classes on real devices.



    ----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

  • RELEVANCY SCORE 2.38

    DB:2.38:Tru64 Jboss 3.2.3 Startup Crash When Trying To Deploy The 3c



    I have just installed JBoss 3.2.3 onto a Tru64 5.1B Unix system, SDK 1.3. When trying to run JBoss, using ./run.sh -c all, I get the following error:================================================================================ JBoss Bootstrap Environment JBOSS_HOME: /usr/wsl/jboss-3.2.3 JAVA: /usr/opt/java131/bin/java JAVA_OPTS: -Dprogram.name=run.sh CLASSPATH: /usr/wsl/jboss-3.2.3/bin/run.jar:/usr/opt/java131/lib/tools.jar================================================================================11:44:44,973 INFO [Server] Starting JBoss (MX MicroKernel)...11:44:44,980 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)11:44:44,984 INFO [Server] Home Dir: /usr/wsl/jboss-3.2.311:44:44,986 INFO [Server] Home URL: file:/usr/wsl/jboss-3.2.3/11:44:44,993 INFO [Server] Library URL: file:/usr/wsl/jboss-3.2.3/lib/11:44:44,997 INFO [Server] Patch URL: null11:44:44,997 INFO [Server] Server Name: all11:44:44,997 INFO [Server] Server Home Dir: /usr/wsl/jboss-3.2.3/server/all11:44:44,997 INFO [Server] Server Home URL: file:/usr/wsl/jboss-3.2.3/server/all/11:44:44,997 INFO [Server] Server Data Dir: /usr/wsl/jboss-3.2.3/server/all/data11:44:44,997 INFO [Server] Server Temp Dir: /usr/wsl/jboss-3.2.3/server/all/tmp11:44:44,997 INFO [Server] Server Config URL: file:/usr/wsl/jboss-3.2.3/server/all/conf/11:44:44,998 INFO [Server] Server Library URL: file:/usr/wsl/jboss-3.2.3/server/all/lib/11:44:44,998 INFO [Server] Root Deployment Filename: jboss-service.xml11:44:45,008 INFO [Server] Starting General Purpose Architecture (GPA)...11:44:45,573 INFO [ServerInfo] Java version: 1.3.1,Hewlett-Packard Company11:44:45,573 INFO [ServerInfo] Java VM: Fast VM 1.3.1-6,Hewlett-Packard Company11:44:45,573 INFO [ServerInfo] OS-System: OSF1 V5.1,alpha11:44:45,657 INFO [ServiceController] Controller MBean online11:44:45,873 INFO [MainDeployer] Started jboss.system:service=MainDeployer11:44:46,091 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@809362211:44:46,092 INFO [JARDeployer] Started jboss.system:service=JARDeployer11:44:46,166 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@80ac93311:44:46,183 INFO [SARDeployer] Started jboss.system:service=ServiceDeployer11:44:46,183 INFO [Server] Core system initialized11:44:46,205 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/conf/jboss-service.xml11:45:04,997 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml11:45:05,735 INFO [LocalJBossServerDomain] Started jboss.management.local:j2eeType=J2EEDomain,name=Manager11:45:05,739 INFO [Log4jService] Started jboss.system:type=Log4jService,service=Logging11:45:05,738 INFO [AbstractDeploymentScanner$ScannerThread] Running11:45:05,898 INFO [WebService] Started WebServer with address: 0.0.0.0:808311:45:05,902 INFO [WebService] Using RMI server codebase: http://paula:8083/11:45:05,902 INFO [WebService] Started jboss:service=WebService11:45:05,947 INFO [NamingService] Starting jnp server11:45:10,250 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=0.0.0.0/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad09307611:45:10,690 INFO [NamingService] Listening on port 109911:45:10,726 INFO [NamingService] Started jboss:service=Naming11:45:10,730 INFO [JNDIView] Started jboss:service=JNDIView11:45:10,736 INFO [SecurityConfig] Started jboss.security:service=SecurityConfig11:45:10,861 INFO [XMLLoginConfig] Started jboss.security:service=XMLLoginConfig11:45:11,017 INFO [JaasSecurityManagerService] Started jboss.security:service=JaasSecurityManager11:45:11,112 INFO [TransactionManagerService] Started jboss:service=TransactionManager11:45:11,223 INFO [JRMPInvoker] Started jboss:service=invoker,type=jrmp11:45:11,385 INFO [JRMPProxyFactory] Started jboss:service=proxyFactory,target=ClientUserTransactionFactory11:45:11,396 INFO [JRMPProxyFactory] Started jboss:service=proxyFactory,target=ClientUserTransaction11:45:11,414 INFO [ClientUserTransactionService] Started jboss:service=ClientUserTransaction11:45:11,415 INFO [LocalInvoker] Started jboss:service=invoker,type=local11:45:11,451 INFO [PooledInvoker] Started jboss:service=invoker,type=pooled11:45:11,462 INFO [MainDeployer] Adding deployer: org.jboss.ejb.EJBDeployer@83db72211:45:11,463 INFO [EJBDeployer] Started jboss.ejb:service=EJBDeployer11:45:11,464 INFO [MainDeployer] Adding deployer: org.jboss.deployment.EARDeployer@83cd28011:45:11,467 INFO [EARDeployer] Started jboss.j2ee:service=EARDeployer11:45:11,493 INFO [MainDeployer] Adding deployer: org.jboss.varia.deployment.BeanShellSubDeployer@83cbe6911:45:11,493 INFO [BeanShellSubDeployer] Started jboss.scripts:service=BSHDeployer11:45:11,595 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jmx-invoker-adaptor-server.sar/11:45:11,945 INFO [JRMPProxyFactory] Started jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory11:45:11,949 INFO [NamingAlias] Bound link jmx/rmi/RMIAdaptor to jmx/invoker/RMIAdaptor11:45:11,949 INFO [NamingAlias] Started jboss.jmx:alias=jmx/rmi/RMIAdaptor11:45:11,959 INFO [InvokerAdaptorService] Started jboss.jmx:type=adaptor,name=Invoker11:45:12,085 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jmx-invoker-adaptor-server.sar/11:45:12,087 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossha-httpsession.sar/11:45:12,151 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/11:45:14,016 INFO [EjbModule] Deploying ClusteredHTTPSession11:45:14,621 INFO [EjbModule] Started jboss.j2ee:module=ClusteredHttpSessionEB.jar,service=EjbModule11:45:14,622 INFO [EJBDeployer] Deployed: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/11:45:15,085 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossha-httpsession.sar/11:45:15,111 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/snmp-adaptor.sar/11:45:15,221 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/snmp-adaptor.sar/castor.jar11:45:16,446 INFO [TrapdService] Started jboss.jmx:name=SnmpAgent,service=trapd,type=logger11:45:16,456 INFO [SnmpAgentService] Instantiating trap emitter ...11:45:16,481 INFO [SnmpAgentService] Starting trap emitter ...11:45:16,568 INFO [TrapEmitter] Reading resource: "/managers.xml"11:45:18,691 INFO [TrapEmitter] "/managers.xml" valid. Read 1 monitoring managers11:45:18,693 INFO [TrapEmitter] Executing resource: "/managers.xml"11:45:18,872 INFO [TrapFactorySupport] Reading resource: "/notifications.xml"11:45:18,962 INFO [TrapFactorySupport] "/notifications.xml" valid. Read 2 mappings11:45:18,962 INFO [TrapFactorySupport] Executing resource: "/notifications.xml"11:45:19,136 INFO [TrapFactorySupport] Trap factory going active11:45:19,136 INFO [SnmpAgentService] Instantiating subscription manager ...11:45:19,143 INFO [SnmpAgentService] Starting subscription manager ...11:45:19,169 INFO [SubscriptionMgr] Reading resource: "/mbeans.xml"11:45:19,208 INFO [SubscriptionMgr] "/mbeans.xml" valid. Read 2 monitored objects11:45:19,208 INFO [SubscriptionMgr] Executing resource: "/mbeans.xml"11:45:19,210 INFO [SubscriptionMgr] Subscription manager done11:45:19,218 INFO [SnmpAgentService] Starting heartbeat controller ...11:45:19,218 WARN [Heartbeat] Heartbeat disabled11:45:19,368 INFO [SnmpAgentService] Snmp Agent going active11:45:19,368 INFO [SnmpAgentService] Started jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor11:45:19,386 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/snmp-adaptor.sar/11:45:19,388 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/11:45:19,490 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/11:45:19,750 INFO [MainDeployer] deployment waiting for deployer: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/11:45:19,999 INFO [HttpInvoker] Started jboss:service=invoker,type=http11:45:20,000 INFO [HttpInvokerHA] Started jboss:service=invoker,type=httpHA11:45:20,014 INFO [HttpProxyFactory] Started jboss:service=invoker,type=http,target=Naming11:45:20,015 INFO [HttpProxyFactory] Started jboss:service=invoker,type=http,target=Naming,readonly=true11:45:20,057 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/11:45:20,058 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/11:45:20,182 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jmx-net.wsr/11:45:20,182 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/11:45:20,186 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.jar11:45:20,187 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/axis.jar11:45:20,187 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jaxrpc.jar11:45:20,188 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/saaj.jar11:45:20,188 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/wsdl4j.jar11:45:20,189 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/commons-discovery.jar11:45:20,190 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/commons-logging.jar11:45:21,323 INFO [MainDeployer] deployment waiting for deployer: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/11:45:21,325 INFO [MainDeployer] deployment waiting for deployer: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jmx-net.wsr/11:45:24,719 INFO [MainDeployer] Adding deployer: org.jboss.net.axis.server.AxisService@8515ef711:45:24,721 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/11:45:24,722 INFO [MainDeployer] deployment waiting for deployer: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/11:45:24,722 INFO [MainDeployer] Deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/ is waiting for an appropriate deployer.11:45:24,722 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/11:45:24,723 INFO [MainDeployer] deployment waiting for deployer: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/11:45:24,723 INFO [MainDeployer] Deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/ is waiting for an appropriate deployer.11:45:24,723 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jmx-net.wsr/11:45:24,911 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jmx-net.wsr/11:45:24,912 INFO [AxisService] Started jboss.net:service=Axis11:45:24,912 INFO [Adaptor] Started jboss.net:service=Adaptor11:45:24,923 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/11:45:24,924 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/11:45:24,980 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/tomcat-jk2.jar11:45:24,980 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/ant.jar11:45:24,981 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/commons-collections.jar11:45:24,982 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/commons-beanutils.jar11:45:24,982 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/tomcat-coyote.jar11:45:24,983 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/servlets-default.jar11:45:24,984 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/servlets-common.jar11:45:24,984 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/jasper-compiler.jar11:45:24,985 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/servlets-webdav.jar11:45:24,986 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/commons-digester.jar11:45:24,986 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/tomcat41-service.jar11:45:24,987 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/bootstrap.jar11:45:24,987 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/jakarta-regexp-1.3.jar11:45:24,988 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/naming-resources.jar11:45:24,988 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/jasper-runtime.jar11:45:24,989 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/catalina.jar11:45:24,989 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/naming-common.jar11:45:24,990 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/commons-logging.jar11:45:24,991 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/tomcat-http11.jar11:45:24,992 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/tomcat-util.jar11:45:24,992 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/servlets-invoker.jar11:45:30,280 INFO [STDOUT] Apache Tomcat/4.1.2911:45:30,579 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on port 808011:45:30,579 INFO [Engine] CoyoteConnector Coyote can't register jmx for protocol11:45:30,614 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on port 808011:45:30,968 INFO [Engine] CoyoteConnector Coyote can't register jmx for protocol11:45:31,043 INFO [ChannelSocket] JK2: ajp13 listening on 0.0.0.0/0.0.0.0:800911:45:31,048 INFO [JkMain] Jk running ID=0 time=0/75 config=null11:45:31,048 INFO [EmbeddedTomcatService] OK11:45:31,048 INFO [MainDeployer] Adding deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@815f3f511:45:31,050 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/11:45:31,248 INFO [EmbeddedTomcatService] deploy, ctxPath=/invoker, warUrl=file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/11:45:32,501 INFO [Engine] SingleSignOnContextConfig[/invoker]: Added certificates - request attribute Valve11:45:32,610 INFO [Engine] SingleSignOnContextConfig[/invoker]: Configured an authenticator for method BASIC11:45:32,634 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@83ff17511:45:32,648 INFO [Engine] StandardManager[/invoker]: Seeding random number generator class java.security.SecureRandom11:45:32,671 INFO [Engine] StandardManager[/invoker]: Seeding of random number generator has been completed11:45:32,969 INFO [Engine] StandardWrapper[/invoker:default]: Loading container servlet default11:45:33,038 INFO [Engine] StandardWrapper[/invoker:invoker]: Loading container servlet invoker11:45:34,025 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/http-invoker.sar/invoker.war/11:45:34,026 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/11:45:34,140 INFO [EmbeddedTomcatService] deploy, ctxPath=/jboss-net, warUrl=file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/11:45:34,367 INFO [Engine] SingleSignOnContextConfig[/jboss-net]: Added certificates - request attribute Valve11:45:34,369 INFO [Engine] SingleSignOnContextConfig[/jboss-net]: Configured an authenticator for method BASIC11:45:34,391 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@872c48311:45:34,392 INFO [Engine] StandardManager[/jboss-net]: Seeding random number generator class java.security.SecureRandom11:45:34,393 INFO [Engine] StandardManager[/jboss-net]: Seeding of random number generator has been completed11:45:34,396 INFO [Engine] StandardWrapper[/jboss-net:default]: Loading container servlet default11:45:34,469 INFO [Engine] StandardWrapper[/jboss-net:invoker]: Loading container servlet invoker11:45:34,888 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-net.sar/jboss-net.war/11:45:34,889 INFO [EmbeddedTomcatService] Started jboss.web:service=WebServer11:45:34,897 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jbossweb-tomcat41.sar/11:45:34,900 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-httpil.sar/11:45:34,972 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/11:45:35,345 INFO [EmbeddedTomcatService] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/11:45:35,623 INFO [Engine] SingleSignOnContextConfig[/jbossmq-httpil]: Added certificates - request attribute Valve11:45:35,624 INFO [Engine] SingleSignOnContextConfig[/jbossmq-httpil]: Configured an authenticator for method BASIC11:45:35,647 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@888828e11:45:35,647 INFO [Engine] StandardManager[/jbossmq-httpil]: Seeding random number generator class java.security.SecureRandom11:45:35,648 INFO [Engine] StandardManager[/jbossmq-httpil]: Seeding of random number generator has been completed11:45:35,650 INFO [Engine] StandardWrapper[/jbossmq-httpil:default]: Loading container servlet default11:45:35,651 INFO [Engine] StandardWrapper[/jbossmq-httpil:invoker]: Loading container servlet invoker11:45:35,961 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-httpil.sar/11:45:35,963 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-hail.sar/11:45:36,007 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-hail.sar/jbossmq-hail.jar11:45:36,255 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-hail.sar/11:45:36,258 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/management/console-mgr.sar11:45:36,501 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/tmp/deploy/tmp34947console-mgr.sar-contents/console-mgr-classes.jar11:45:36,536 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/tmp/deploy/tmp34947console-mgr.sar-contents/jcommon.jar11:45:36,584 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/tmp/deploy/tmp34947console-mgr.sar-contents/jfreechart-demo.jar11:45:36,683 INFO [SARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/tmp/deploy/tmp34947console-mgr.sar-contents/jfreechart.jar11:45:37,424 INFO [PluginManager] Started jboss.admin:service=PluginManager11:45:37,433 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/management/console-mgr.sar11:45:37,434 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/uuid-key-generator.sar11:45:37,524 INFO [UUIDKeyGeneratorFactoryService] Started jboss:service=UUIDKeyGeneratorFactory11:45:37,533 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/uuid-key-generator.sar11:45:37,537 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-jca.sar11:45:40,254 INFO [XSLSubDeployer] Created templates: org.apache.xalan.templates.StylesheetRoot@80623ce11:45:40,284 INFO [MainDeployer] Adding deployer: org.jboss.resource.RARDeployer@8b5d8bc11:45:40,285 INFO [RARDeployer] Started jboss.jca:service=RARDeployer11:45:40,285 INFO [MainDeployer] Adding deployer: org.jboss.deployment.XSLSubDeployer@8a5e3f111:45:40,286 INFO [XSLSubDeployer] Started jboss.jca:service=ConnectionFactoryDeployer11:45:40,295 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-jca.sar11:45:40,296 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jms-ra.rar11:45:40,460 INFO [RARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/tmp/deploy/tmp34950jms-ra.rar-contents/jms-ra.jar11:45:40,530 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jms-ra.rar11:45:40,530 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-xa-jdbc.rar11:45:40,609 INFO [RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA drivers11:45:40,609 INFO [RARMetaData] Required license terms present. See deployment descriptor.11:45:40,645 INFO [RARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/tmp/deploy/tmp34951jboss-xa-jdbc.rar-contents/jboss-xa-jdbc.jar11:45:40,666 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-xa-jdbc.rar11:45:40,667 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-local-jdbc.rar11:45:40,825 INFO [RARDeployer] nested deployment: file:/usr/wsl/jboss-3.2.3/server/all/tmp/deploy/tmp34952jboss-local-jdbc.rar-contents/jboss-local-jdbc.jar11:45:40,844 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jboss-local-jdbc.rar11:45:40,845 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jms-ds.xml11:45:42,213 INFO [JMSProviderLoader] Bound adapter to java:/DefaultJMSProvider11:45:42,213 INFO [JMSProviderLoader] Started jboss.mq:service=JMSProviderLoader,name=JBossMQProvider11:45:42,240 INFO [ServerSessionPoolLoader] pool factory StdJMSPool bound to java:/StdJMSPool11:45:42,240 INFO [ServerSessionPoolLoader] Started jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool11:45:42,370 INFO [RARDeployment] Started jboss.jca:service=ManagedConnectionFactory,name=JmsXA11:45:42,390 INFO [JBossManagedConnectionPool] Started jboss.jca:service=ManagedConnectionPool,name=JmsXA11:45:42,462 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jms-ds.xml11:45:42,465 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/hsqldb-ds.xml11:45:42,638 INFO [RARDeployment] Started jboss.jca:service=ManagedConnectionFactory,name=DefaultDS11:45:42,644 INFO [JBossManagedConnectionPool] Started jboss.jca:service=ManagedConnectionPool,name=DefaultDS11:45:42,649 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/hsqldb-ds.xml11:45:42,651 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/rmi-il-service.xml11:45:42,745 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/rmi-il-service.xml11:45:42,747 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/hsqldb-jdbc2-service.xml11:45:43,253 INFO [MessageCache] Started jboss.mq:service=MessageCache11:45:43,277 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/hsqldb-jdbc2-service.xml11:45:43,279 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-service.xml11:45:43,702 INFO [DynamicStateManager] Started jboss.mq:service=StateManager11:45:43,720 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-service.xml11:45:43,721 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/oil-service.xml11:45:43,791 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/oil-service.xml11:45:43,835 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-destinations-service.xml11:45:43,976 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jbossmq-destinations-service.xml11:45:43,979 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jvm-il-service.xml11:45:44,049 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/jvm-il-service.xml11:45:44,051 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/uil2-service.xml11:45:44,240 INFO [NamingAlias] Bound link UILConnectionFactory to UIL2ConnectionFactory11:45:44,241 INFO [NamingAlias] Started jboss.mq:service=InvocationLayer,type=UIL11:45:44,241 INFO [NamingAlias] Bound link UILXAConnectionFactory to UIL2XAConnectionFactory11:45:44,241 INFO [NamingAlias] Started jboss.mq:service=InvocationLayer,type=UILXA11:45:44,253 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/uil2-service.xml11:45:44,255 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/oil2-service.xml11:45:44,383 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/jms/oil2-service.xml11:45:44,385 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/transaction-service.xml11:45:44,544 INFO [CachedConnectionManager] Started jboss.jca:service=CachedConnectionManager11:45:44,618 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@84e673c11:45:44,646 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@84eacb411:45:44,646 INFO [JaasSecurityManagerService] Added JmsXARealm, org.jboss.security.plugins.SecurityDomainContext@84eacf2 to map11:45:44,707 INFO [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'11:45:44,708 INFO [TxConnectionManager] Started jboss.jca:service=TxCM,name=JmsXA11:45:44,743 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@84fd89111:45:44,744 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@84fdd6a11:45:44,744 INFO [JaasSecurityManagerService] Added HsqlDbRealm, org.jboss.security.plugins.SecurityDomainContext@84fdd84 to map11:45:44,792 INFO [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS'11:45:44,792 INFO [TxConnectionManager] Started jboss.jca:service=LocalTxCM,name=DefaultDS11:45:50,377 INFO [PersistenceManager] Started jboss.mq:service=PersistenceManager11:45:50,402 INFO [DestinationManager] Started jboss.mq:service=DestinationManager11:45:50,426 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@85c09f111:45:50,428 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@85c0eb711:45:50,428 INFO [JaasSecurityManagerService] Added jbossmq, org.jboss.security.plugins.SecurityDomainContext@85c0ed1 to map11:45:50,462 INFO [SecurityManager] Started jboss.mq:service=SecurityManager11:45:50,463 INFO [InterceptorLoader] Started jboss.mq:service=TracingInterceptor11:45:50,464 INFO [Invoker] Started jboss.mq:service=Invoker11:45:50,747 INFO [HTTPServerILService] Started jboss.mq:service=InvocationLayer,type=HTTP11:45:50,932 INFO [RMIServerILService] Started jboss.mq:service=InvocationLayer,type=RMI11:45:50,935 INFO [OILServerILService] JBossMQ OIL service available at : 0.0.0.0/0.0.0.0:809011:45:50,971 INFO [OILServerILService] Started jboss.mq:service=InvocationLayer,type=OIL11:45:50,985 INFO [JVMServerILService] Started jboss.mq:service=InvocationLayer,type=JVM11:45:50,987 INFO [UILServerILService] JBossMQ UIL service available at : 0.0.0.0/0.0.0.0:809311:45:51,138 INFO [UILServerILService] Started jboss.mq:service=InvocationLayer,type=UIL211:45:51,141 INFO [OIL2ServerILService] JBossMQ OIL2 service available at : 0.0.0.0/0.0.0.0:809211:45:51,184 INFO [OIL2ServerILService] Started jboss.mq:service=InvocationLayer,type=OIL211:45:51,291 INFO [DLQ] Bound to JNDI name: queue/DLQ11:45:51,291 INFO [DLQ] Started jboss.mq.destination:service=Queue,name=DLQ11:45:51,319 INFO [testTopic] Bound to JNDI name: topic/testTopic11:45:51,320 INFO [testTopic] Started jboss.mq.destination:service=Topic,name=testTopic11:45:51,321 INFO [securedTopic] Bound to JNDI name: topic/securedTopic11:45:51,322 INFO [securedTopic] Started jboss.mq.destination:service=Topic,name=securedTopic11:45:51,323 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic11:45:51,323 INFO [testDurableTopic] Started jboss.mq.destination:service=Topic,name=testDurableTopic11:45:51,330 INFO [testQueue] Bound to JNDI name: queue/testQueue11:45:51,332 INFO [testQueue] Started jboss.mq.destination:service=Queue,name=testQueue11:45:51,340 INFO [A] Bound to JNDI name: queue/A11:45:51,341 INFO [A] Started jboss.mq.destination:service=Queue,name=A11:45:51,349 INFO [B] Bound to JNDI name: queue/B11:45:51,349 INFO [B] Started jboss.mq.destination:service=Queue,name=B11:45:51,387 INFO [C] Bound to JNDI name: queue/C11:45:51,388 INFO [C] Started jboss.mq.destination:service=Queue,name=C11:45:51,395 INFO [D] Bound to JNDI name: queue/D11:45:51,395 INFO [D] Started jboss.mq.destination:service=Queue,name=D11:45:51,418 INFO [ex] Bound to JNDI name: queue/ex11:45:51,418 INFO [ex] Started jboss.mq.destination:service=Queue,name=ex11:45:51,425 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/transaction-service.xml11:45:51,425 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/user-service.xml11:45:51,452 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/user-service.xml11:45:51,453 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/sqlexception-service.xml11:45:51,542 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/sqlexception-service.xml11:45:51,543 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/client-deployer-service.xml11:45:51,677 INFO [MainDeployer] Adding deployer: org.jboss.deployment.ClientDeployer@869fc8811:45:51,679 INFO [ClientDeployer] Started jboss.j2ee:service=ClientDeployer11:45:51,685 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/client-deployer-service.xml11:45:51,686 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/cache-invalidation-service.xml11:45:51,747 INFO [InvalidationManager] Starting Invalidation Manager jboss.cache:service=InvalidationManager11:45:51,749 INFO [InvalidationManager] Started jboss.cache:service=InvalidationManager11:45:51,755 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/cache-invalidation-service.xml11:45:51,756 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/cluster-service.xml11:45:53,178 INFO [ClusterPartition] Set the JGroups logging to log4j with category:org.apache.log4j.Logger@878b904, priority: DEBUG, JGroupsLevel: 411:45:53,584 INFO [DefaultPartition] Initializing11:45:54,515 INFO [STDOUT]-------------------------------------------------------GMS: address is paula:2815 (additional data: 19 bytes)-------------------------------------------------------11:45:56,584 INFO [ClusterPartition] Starting channel11:45:56,594 INFO [DefaultPartition] Number of cluster members: 111:45:56,594 INFO [DefaultPartition] Other members: 011:45:56,639 INFO [ClusterPartition] Started ClusterPartition: DefaultPartition11:45:56,639 INFO [ClusterPartition] Started jboss:service=DefaultPartition11:45:56,781 INFO [EntityInstancePool] Started jboss.j2ee:jndiName=clustering/HTTPSession,plugin=pool,service=EJB11:45:56,781 INFO [EntityContainer] Started jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB11:45:58,286 INFO [ClusteredHTTPSessionService] Started jboss:service=ClusteredHttpSession11:45:58,573 INFO [HAILSharedState] Started jboss.mq:service=HAILSharedState11:45:58,594 INFO [HAILServerILService] Started jboss.mq:service=InvocationLayer,type=HAIL11:45:58,602 INFO [HAILServerILService] Notified to become singleton11:45:58,606 INFO [HASingletonController] Started jboss.mq:service=HAILSingletonController11:45:58,607 INFO [HASessionStateService] Started jboss:service=HASessionState11:45:58,865 INFO [HANamingService] Listening on 0.0.0.0/0.0.0.0:110011:45:58,876 INFO [HANamingService$AutomaticDiscovery] Listening on 0.0.0.0/0.0.0.0:1102, group=230.0.0.411:45:58,876 INFO [HANamingService] Started jboss:service=HAJNDI11:45:58,914 INFO [InvalidationManager] Subscribing a new cache-invalidation bridge11:45:58,921 INFO [JGCacheInvalidationBridge] Started jboss.cache:service=InvalidationBridge,type=JavaGroups11:45:58,923 INFO [JRMPInvokerHA] Started jboss:service=invoker,type=jrmpha11:45:58,942 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/cluster-service.xml11:45:58,943 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/schedule-manager-service.xml11:45:58,994 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/schedule-manager-service.xml11:45:58,994 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/mail-service.xml11:45:59,424 INFO [MailService] Mail Service bound to java:/Mail11:45:59,425 INFO [MailService] Started jboss:service=Mail11:45:59,431 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/mail-service.xml11:45:59,432 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/scheduler-service.xml11:45:59,451 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/scheduler-service.xml11:45:59,452 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/properties-service.xml11:45:59,531 INFO [PropertyEditorManagerService] Started jboss:type=Service,name=PropertyEditorManager11:45:59,531 INFO [SystemPropertiesService] Started jboss:type=Service,name=SystemProperties11:45:59,539 INFO [MainDeployer] Deployed package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/properties-service.xml11:45:59,540 INFO [MainDeployer] Starting deployment of package: file:/usr/wsl/jboss-3.2.3/server/all/deploy/iiop-service.xml11:45:59,989 INFO [CorbaORBService] Using OAIAddr=null11:46:04,168 INFO [CorbaORBService] Started jboss:service=CorbaORB11:46:04,170 INFO [IIOPInvoker] Started jboss:service=invoker,type=iiopsegmentation violation at 0x3ffbff28d14 r00 = 0x00000200010af600 r16 = 0x00000000212967e0 r01 = 0x0000000000000000 r17 = 0x0000000000000000 r02 = 0x0000000040863ed8 r18 = 0x0000000000000002 r03 = 0x0000000000090410 r19 = 0x0000000000000009 r04 = 0x0000000143f6a600 r20 = 0x0000000000000000 r05 = 0x000002000109fd70 r21 = 0x0000000000000000 r06 = 0x0000000000000001 r22 = 0x0000000000000001 r07 = 0x0000000000000008 r23 = 0x0000000000000001 r08 = 0x0000000000000001 r24 = 0x000002000109ed90 r09 = 0x0000000000000000 r25 = 0x0000000000000000 r10 = 0x00000000212967e0 r26 = 0x000003ffbff28e74 r11 = 0x0000000000000000 r27 = 0x000003ffbff68940 r12 = 0x0000000000000009 r28 = 0x000003ffbff867c0 r13 = 0x00000000212967e0 r29 = 0x000003fffff27320 r14 = 0x0000000143f6a660 r30 = 0x000002000109fbd0 r15 = 0x000000004036aca0 r31 = 0x0000000000000000Stack trace: pc 0x03ffbff80a10 sp 0x1407db260 debug_full_trace pc 0x03ffbff7fbb0 sp 0x1407db4f0 einfo_segv_handler pc 0x03ff800d5c20 sp 0x1407db560 __sigtramp pc 0x03ffbff28d14 sp 0x2000109fbd0 class_in_same_package pc 0x03ffbff28e70 sp 0x2000109fbd0 class_accessible pc 0x03ffbff68a9c sp 0x2000109fc00 JVM_InvokeMethod pc 0x030000811330 sp 0x2000109fc80 Java_java_lang_reflect_Method_invoke pc 0x00003e8ae138 sp 0x2000109fc90 -1: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x03ffbff8df18 sp 0x2000109fd50 unpack_and_call pc 0x03ffbff868bc sp 0x2000109fd60 make_native_call pc 0x03ffbff2fe60 sp 0x2000109fe10 interpret pc 0x03ffbff2fe60 sp 0x2000109fe10 62: org/jacorb/orb/TaggedComponentList.getComponentData([BLjava/lang/Class;)Ljava/lang/Object; pc 0x03ffbff30018 sp 0x200010a06d0 interpret pc 0x03ffbff864ec sp 0x200010a1190 exec_vararg pc 0x03ffbff85f60 sp 0x200010a1240 interp_wrapper pc 0x03ffbff8dc34 sp 0x200010a1270 comp_interp_stub pc 0x00003ed55c08 sp 0x200010a12f0 35: org/jacorb/orb/TaggedComponentList.getComponent(ILjava/lang/Class;)Ljava/lang/Object; pc 0x03ffbff8df18 sp 0x200010a1310 unpack_and_call pc 0x03ffbff868bc sp 0x200010a1320 make_native_call pc 0x03ffbff2fe60 sp 0x200010a13d0 interpret pc 0x03ffbff2fe60 sp 0x200010a13d0 6: org/jacorb/orb/iiop/IIOPProfile.getComponent(ILjava/lang/Class;)Ljava/lang/Object; pc 0x03ffbff2fe60 sp 0x200010a13d0 21: org/jacorb/orb/ParsedIOR.getComponent(ILjava/lang/Class;)Ljava/lang/Object; pc 0x03ffbff2fe60 sp 0x200010a13d0 23: org/jacorb/orb/ParsedIOR.getLongComponent(I)Ljava/lang/Integer; pc 0x03ffbff864ec sp 0x200010a1c90 exec_vararg pc 0x03ffbff85f60 sp 0x200010a1d40 interp_wrapper pc 0x03ffbff8dc34 sp 0x200010a1d70 comp_interp_stub pc 0x00003ed53ee8 sp 0x200010a1df0 240: org/jacorb/orb/ParsedIOR.decode(Lorg/omg/IOP/IOR;)V pc 0x03ffbff8df18 sp 0x200010a1e40 unpack_and_call pc 0x03ffbff86890 sp 0x200010a1e50 make_native_call pc 0x03ffbff2fe60 sp 0x200010a1f00 interpret pc 0x03ffbff2fe60 sp 0x200010a1f00 68: org/jacorb/orb/ParsedIOR.(Lorg/omg/IOP/IOR;Lorg/jacorb/orb/ORB;)V pc 0x03ffbff2fe60 sp 0x200010a1f00 115: org/jacorb/orb/Delegate.(Lorg/jacorb/orb/ORB;Lorg/omg/IOP/IOR;)V pc 0x03ffbff30018 sp 0x200010a27c0 interpret pc 0x03ffbff30018 sp 0x200010a27c0 26: org/jacorb/orb/ORB.getReference(Lorg/jacorb/poa/POA;[BLjava/lang/String;Z)Lorg/omg/CORBA/Object; pc 0x03ffbff30018 sp 0x200010a27c0 124: org/jacorb/poa/POA.getReference([BLjava/lang/String;Z)Lorg/omg/CORBA/Object; pc 0x03ffbff30018 sp 0x200010a27c0 56: org/jacorb/poa/POA.create_reference_with_id([BLjava/lang/String;)Lorg/omg/CORBA/Object; pc 0x03ffbff30018 sp 0x200010a27c0 298: org/jboss/iiop/CorbaNamingService.startService()V pc 0x03ffbff30018 sp 0x200010a3280 interpret pc 0x03ffbff864ec sp 0x200010a3d40 exec_vararg pc 0x03ffbff85f60 sp 0x200010a3df0 interp_wrapper pc 0x03ffbff8dc34 sp 0x200010a3e20 comp_interp_stub pc 0x00003e9dddcc sp 0x200010a3ea0 104: org/jboss/system/ServiceMBeanSupport.start()V pc 0x03ffbff8df18 sp 0x200010a3f40 unpack_and_call pc 0x03ffbff86890 sp 0x200010a3f50 make_native_call pc 0x03ffbff2fe60 sp 0x200010a4000 interpret pc 0x03ffbff3d7cc sp 0x200010a48c0 jni_call pc 0x03ffbff68c34 sp 0x200010a4950 JVM_InvokeMethod pc 0x030000811330 sp 0x200010a49d0 Java_java_lang_reflect_Method_invoke pc 0x00003e8ae138 sp 0x200010a49e0 -1: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003e906e80 sp 0x200010a4aa0 29: org/jboss/mx/capability/ReflectedMBeanDispatcher.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e91588c sp 0x200010a4b00 63: org/jboss/mx/server/MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e9d119c sp 0x200010a4b60 60: org/jboss/system/ServiceController$ServiceProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003eb02704 sp 0x200010a4ba0 9: $Proxy14.start()V pc 0x00003e915cdc sp 0x200010a4bd0 231: org/jboss/system/ServiceController.start(Ljavax/management/ObjectName;)V pc 0x00003e915e80 sp 0x200010a4c40 359: org/jboss/system/ServiceController.start(Ljavax/management/ObjectName;)V pc 0x03ffbff8df18 sp 0x200010a4cb0 unpack_and_call pc 0x03ffbff86890 sp 0x200010a4cc0 make_native_call pc 0x03ffbff2fe60 sp 0x200010a4d70 interpret pc 0x03ffbff3d7cc sp 0x200010a5630 jni_call pc 0x03ffbff68c34 sp 0x200010a56c0 JVM_InvokeMethod pc 0x030000811330 sp 0x200010a5740 Java_java_lang_reflect_Method_invoke pc 0x00003e8ae138 sp 0x200010a5750 -1: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003e906e80 sp 0x200010a5810 29: org/jboss/mx/capability/ReflectedMBeanDispatcher.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e91588c sp 0x200010a5870 63: org/jboss/mx/server/MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e914c04 sp 0x200010a58d0 416: org/jboss/mx/util/MBeanProxyExt.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003ea832a8 sp 0x200010a5930 16: $Proxy4.start(Ljavax/management/ObjectName;)V pc 0x00003e9d9cdc sp 0x200010a5970 57: org/jboss/deployment/SARDeployer.start(Lorg/jboss/deployment/DeploymentInfo;)V pc 0x00003e9d9710 sp 0x200010a59b0 111: org/jboss/deployment/MainDeployer.start(Lorg/jboss/deployment/DeploymentInfo;)V pc 0x00003eb8ff5c sp 0x200010a5a00 157: org/jboss/deployment/MainDeployer.deploy(Lorg/jboss/deployment/DeploymentInfo;)V pc 0x00003ebd3454 sp 0x200010a5a40 26: org/jboss/deployment/MainDeployer.deploy(Ljava/net/URL;)V pc 0x03ffbff8df18 sp 0x200010a5a80 unpack_and_call pc 0x03ffbff86890 sp 0x200010a5a90 make_native_call pc 0x03ffbff2fe60 sp 0x200010a5b40 interpret pc 0x03ffbff3d7cc sp 0x200010a6400 jni_call pc 0x03ffbff68c34 sp 0x200010a6490 JVM_InvokeMethod pc 0x030000811330 sp 0x200010a6510 Java_java_lang_reflect_Method_invoke pc 0x00003e8ae138 sp 0x200010a6520 -1: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003e906e80 sp 0x200010a65e0 29: org/jboss/mx/capability/ReflectedMBeanDispatcher.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e91588c sp 0x200010a6640 63: org/jboss/mx/server/MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e914c04 sp 0x200010a66a0 416: org/jboss/mx/util/MBeanProxyExt.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003eb4c9a8 sp 0x200010a6700 16: $Proxy6.deploy(Ljava/net/URL;)V pc 0x00003ebdc420 sp 0x200010a6740 52: org/jboss/deployment/scanner/URLDeploymentScanner.deploy(Lorg/jboss/deployment/scanner/URLDeploymentScanner$DeployedURL;)V pc 0x00003ea847a8 sp 0x200010a6770 638: org/jboss/deployment/scanner/URLDeploymentScanner.scan()V pc 0x03ffbff8df18 sp 0x200010a6820 unpack_and_call pc 0x03ffbff86890 sp 0x200010a6830 make_native_call pc 0x03ffbff2fe60 sp 0x200010a68e0 interpret pc 0x03ffbff2fe60 sp 0x200010a68e0 4: org/jboss/deployment/scanner/AbstractDeploymentScanner$ScannerThread.doScan()V pc 0x03ffbff2fe60 sp 0x200010a68e0 11: org/jboss/deployment/scanner/AbstractDeploymentScanner.startService()V pc 0x03ffbff864ec sp 0x200010a71a0 exec_vararg pc 0x03ffbff85f60 sp 0x200010a7250 interp_wrapper pc 0x03ffbff8dc34 sp 0x200010a7280 comp_interp_stub pc 0x00003e9dddcc sp 0x200010a7300 104: org/jboss/system/ServiceMBeanSupport.start()V pc 0x03ffbff8df18 sp 0x200010a73a0 unpack_and_call pc 0x03ffbff86890 sp 0x200010a73b0 make_native_call pc 0x03ffbff2fe60 sp 0x200010a7460 interpret pc 0x03ffbff3d7cc sp 0x200010a7d20 jni_call pc 0x03ffbff68c34 sp 0x200010a7db0 JVM_InvokeMethod pc 0x030000811330 sp 0x200010a7e30 Java_java_lang_reflect_Method_invoke pc 0x00003e8ae138 sp 0x200010a7e40 -1: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003e906e80 sp 0x200010a7f00 29: org/jboss/mx/capability/ReflectedMBeanDispatcher.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e91588c sp 0x200010a7f60 63: org/jboss/mx/server/MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e9d119c sp 0x200010a7fc0 60: org/jboss/system/ServiceController$ServiceProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003e9ddba4 sp 0x200010a8000 9: $Proxy0.start()V pc 0x00003e915cdc sp 0x200010a8030 231: org/jboss/system/ServiceController.start(Ljavax/management/ObjectName;)V pc 0x03ffbff8df18 sp 0x200010a80a0 unpack_and_call pc 0x03ffbff86890 sp 0x200010a80b0 make_native_call pc 0x03ffbff2fe60 sp 0x200010a8160 interpret pc 0x03ffbff3d7cc sp 0x200010a8a20 jni_call pc 0x03ffbff68c34 sp 0x200010a8ab0 JVM_InvokeMethod pc 0x030000811330 sp 0x200010a8b30 Java_java_lang_reflect_Method_invoke pc 0x00003e8ae138 sp 0x200010a8b40 -1: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003e906e80 sp 0x200010a8c00 29: org/jboss/mx/capability/ReflectedMBeanDispatcher.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e91588c sp 0x200010a8c60 63: org/jboss/mx/server/MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e914c04 sp 0x200010a8cc0 416: org/jboss/mx/util/MBeanProxyExt.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003ea832a8 sp 0x200010a8d20 16: $Proxy4.start(Ljavax/management/ObjectName;)V pc 0x00003e9d9cdc sp 0x200010a8d60 57: org/jboss/deployment/SARDeployer.start(Lorg/jboss/deployment/DeploymentInfo;)V pc 0x03ffbff8df18 sp 0x200010a8da0 unpack_and_call pc 0x03ffbff86890 sp 0x200010a8db0 make_native_call pc 0x03ffbff2fe60 sp 0x200010a8e60 interpret pc 0x03ffbff864ec sp 0x200010a9720 exec_vararg pc 0x03ffbff85f60 sp 0x200010a97d0 interp_wrapper pc 0x03ffbff8dc34 sp 0x200010a9800 comp_interp_stub pc 0x00003e9d9710 sp 0x200010a9880 111: org/jboss/deployment/MainDeployer.start(Lorg/jboss/deployment/DeploymentInfo;)V pc 0x03ffbff8df18 sp 0x200010a98d0 unpack_and_call pc 0x03ffbff86890 sp 0x200010a98e0 make_native_call pc 0x03ffbff2fe60 sp 0x200010a9990 interpret pc 0x03ffbff2fe60 sp 0x200010a9990 157: org/jboss/deployment/MainDeployer.deploy(Lorg/jboss/deployment/DeploymentInfo;)V pc 0x03ffbff2fe60 sp 0x200010a9990 26: org/jboss/deployment/MainDeployer.deploy(Ljava/net/URL;)V pc 0x03ffbff30018 sp 0x200010aa250 interpret pc 0x03ffbff30018 sp 0x200010aa250 34: org/jboss/deployment/MainDeployer.deploy(Ljava/lang/String;)V pc 0x03ffbff3d7cc sp 0x200010aad10 jni_call pc 0x03ffbff68c34 sp 0x200010aada0 JVM_InvokeMethod pc 0x030000811330 sp 0x200010aae20 Java_java_lang_reflect_Method_invoke pc 0x00003e8ae138 sp 0x200010aae30 -1: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x00003e906e80 sp 0x200010aaef0 29: org/jboss/mx/capability/ReflectedMBeanDispatcher.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e91588c sp 0x200010aaf50 63: org/jboss/mx/server/MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; pc 0x00003e914c04 sp 0x200010aafb0 416: org/jboss/mx/util/MBeanProxyExt.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; pc 0x03ffbff8df18 sp 0x200010ab010 unpack_and_call pc 0x03ffbff868bc sp 0x200010ab020 make_native_call pc 0x03ffbff2fe60 sp 0x200010ab0d0 interpret pc 0x03ffbff2fe60 sp 0x200010ab0d0 16: $Proxy5.deploy(Ljava/lang/String;)V pc 0x03ffbff2fe60 sp 0x200010ab0d0 307: org/jboss/system/server/ServerImpl.doStart()V pc 0x03ffbff2fe60 sp 0x200010ab0d0 43: org/jboss/system/server/ServerImpl.start()V pc 0x03ffbff864ec sp 0x200010ab990 exec_vararg pc 0x03ffbff85f60 sp 0x200010aba40 interp_wrapper pc 0x03ffbff8dc34 sp 0x200010aba70 comp_interp_stub pc 0x00003e88ccf0 sp 0x200010abaf0 319: org/jboss/Main.boot([Ljava/lang/String;)V pc 0x03ffbff8df18 sp 0x200010abb40 unpack_and_call pc 0x03ffbff86890 sp 0x200010abb50 make_native_call pc 0x03ffbff2fe60 sp 0x200010abc00 interpret pc 0x03ffbff2fe60 sp 0x200010abc00 13: org/jboss/Main$1.run()V pc 0x03ffbff30018 sp 0x200010ac4c0 interpret pc 0x03ffbff864ec sp 0x200010acf80 exec_vararg pc 0x03ffbff85f60 sp 0x200010ad030 interp_wrapper pc 0x03ffbff8dc34 sp 0x200010ad060 comp_interp_stub pc 0x00003e80fd00 sp 0x200010ad0e0 11: java/lang/Thread.run()V pc 0x03ffbff8df18 sp 0x200010ad0f0 unpack_and_call pc 0x03ffbff86890 sp 0x200010ad100 make_native_call pc 0x03ffbff2fe60 sp 0x200010ad1b0 interpret pc 0x03ffbff3d7cc sp 0x200010ada70 jni_call pc 0x03ffbff3e43c sp 0x200010adb00 jni_CallVoidMethodA pc 0x03ffbff3e4e0 sp 0x200010adb30 jni_CallVoidMethod pc 0x03ffbff36acc sp 0x200010adbb0 java_thread_start pc 0x03ffbff364dc sp 0x200010adbe0 thread_body pc 0x03ff8058a4a8 sp 0x200010adc10 __thdBaseabort from einfo_segv_handler, file /sys/alpha/einfo.c, line 549

    DB:2.38:Tru64 Jboss 3.2.3 Startup Crash When Trying To Deploy The 3c


    If you are not using this service, just rename the file iiop-service.xml in the deploy directory, so as to avoid startup of this service.eg: mv iiop-service.xml iiop-service.xml.bakRegdsThomas

  • RELEVANCY SCORE 2.38

    DB:2.38:Prohibited Package Name:Java.Util.Logging kk


    I'm using j2sdk1.4.1_02 and weblogic server 8.1, but I get following error when I trying to generate an EJB:

    Exception in thread "main" java.lang.SecurityException: Prohibited package name:
    java.util.logging
    at java.lang.ClassLoader.defineClass(ClassLoader.java:474)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    6)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at weblogic.ejbc20.init(ejbc20.java:82)
    at weblogic.ejbc.main(ejbc.java:29)

    Why do I get this error and is there a way to generate an EJB without getting the error?

    DB:2.38:Prohibited Package Name:Java.Util.Logging kk

    I just set my java classpath to use jdk141_03 instead. For example, in my code I have to do the following:

    JAVA_HOME=/opt/bea/jdk141_03
    PATH=${JAVA_HOME}/bin:$PATH

    ${JAVA_HOME}/bin/java weblogic.ejbc -compiler javac Server.jar -d ..

  • RELEVANCY SCORE 2.38

    DB:2.38:C# (-Javaagent) Functionality? 3m


    Is there functionality in the C# VM similar to Java's VM (-javaagent)?http://java.sun.com/javase/6/docs/api/java/lang/instrument/package-summary.html

    DB:2.38:C# (-Javaagent) Functionality? 3m

    The term VM in that link refers to the Java Virtual Machine which is the same thing as the .NET Common Language Runtime -- no relationship to virtualization technology like Hyper-V.Anyway, I'm not a Java programmer either but the linked page talks about instrumentation.  Are you looking to profile or debug your program?  You can always attach the Visual Studio debugger to another process and start debugging, no instrumentation needed.

  • RELEVANCY SCORE 2.38

    DB:2.38:Webex Does Not Start Up On Linux 7m



    The java applet fails with SecurityException with most recent java version (Java version: 1.7.0_51 in Firefox 27.0.1):
     

    ------------------------------

    JDownload version 2013.09.06Java version: 1.7.0_51Java home: /usr/java/jdk1.7.0_51/jreOS name: LinuxOS arch: i386OS version: 3.13.6-100.fc19.i686.PAEstart search lib!!!Load lib manually path is /usr/java/jdk1.7.0_51/jre/lib/i386/libjawt.so[JDownload] Java Client Service home:https://akamaicdn.webex.com/client/WBXclient-T29L10NSP4EP2-2/javaclient/webex/[JDownload] Production home: /home/user/.webex/12_1424[MySystem version 2009.02.05.01]InitSystem ...###1 Runtime total memory: 78118912, free memory: 63603136###2 Runtime total memory: 78118912, free memory: 63530800###### try to load class DBR in MyCloassLoader2...Loading native DBR...Native DBR loaded, inited=trueBegin of log initializationinitFileOutputStream() run ...3End of log initialization

    Begin of WBXTracePallet initialization94End of WBXTracePallet initializationException in thread "Thread-15" javax.xml.parsers.FactoryConfigurationError: Provider htmlhead could not be instantiated: java.lang.SecurityException: class "htmlhead" does not match trust level of other classes in the same package        at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:127)        at b.c(Unknown Source)        at b.b(Unknown Source)        at ma.f(Unknown Source)        at ma.init(Unknown Source)        at jmeetingclient.init(Unknown Source)        at JDownload.run(JDownload.java:319)        at java.lang.Thread.run(Thread.java:744)Caused by: java.lang.SecurityException: class "htmlhead" does not match trust level of other classes in the same package        at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.checkResource(Unknown Source)

            at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)        at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:117)        at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:178)        at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:333)        at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:255)        at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)        ... 7 more

     

    ---------------------------

    Older setup works well:

    JDownload version 2013.09.06Java version: 1.6.0_26Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jreOS name: LinuxOS arch: i386OS version: 2.6.32-5-686-bigmem

    DB:2.38:Webex Does Not Start Up On Linux 7m


    The java applet fails with SecurityException with most recent java version (Java version: 1.7.0_51 in Firefox 27.0.1):
     

    ------------------------------

    JDownload version 2013.09.06Java version: 1.7.0_51Java home: /usr/java/jdk1.7.0_51/jreOS name: LinuxOS arch: i386OS version: 3.13.6-100.fc19.i686.PAEstart search lib!!!Load lib manually path is /usr/java/jdk1.7.0_51/jre/lib/i386/libjawt.so[JDownload] Java Client Service home:https://akamaicdn.webex.com/client/WBXclient-T29L10NSP4EP2-2/javaclient/webex/[JDownload] Production home: /home/user/.webex/12_1424[MySystem version 2009.02.05.01]InitSystem ...###1 Runtime total memory: 78118912, free memory: 63603136###2 Runtime total memory: 78118912, free memory: 63530800###### try to load class DBR in MyCloassLoader2...Loading native DBR...Native DBR loaded, inited=trueBegin of log initializationinitFileOutputStream() run ...3End of log initialization

    Begin of WBXTracePallet initialization94End of WBXTracePallet initializationException in thread "Thread-15" javax.xml.parsers.FactoryConfigurationError: Provider htmlhead could not be instantiated: java.lang.SecurityException: class "htmlhead" does not match trust level of other classes in the same package        at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:127)        at b.c(Unknown Source)        at b.b(Unknown Source)        at ma.f(Unknown Source)        at ma.init(Unknown Source)        at jmeetingclient.init(Unknown Source)        at JDownload.run(JDownload.java:319)        at java.lang.Thread.run(Thread.java:744)Caused by: java.lang.SecurityException: class "htmlhead" does not match trust level of other classes in the same package        at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.checkResource(Unknown Source)

            at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)        at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:117)        at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:178)        at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:333)        at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:255)        at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)        ... 7 more

     

    ---------------------------

    Older setup works well:

    JDownload version 2013.09.06Java version: 1.6.0_26Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jreOS name: LinuxOS arch: i386OS version: 2.6.32-5-686-bigmem

  • RELEVANCY SCORE 2.38

    DB:2.38:Ora-06502 Jni.Call_String_Method Oracle Forms &Amp; Web Services xk


    Hello:

    A customer of us has been integrating Oracle Forms 10g and Web Services.

    There is a java class named WsGenQueryStub. That java class has been generated using Oracle JDeveloper.

    It implements the consume of a Web Service That class has a method named GetDat which receives 2 input parameters which are of VARCHAR2 type, containing XML text.

    This method returns an XML text string which may have more than 4000 characters .

    That class is incluedd at forms application by using the "Import Java Class" feature.

    Forms builds a package named WsGenQueryStub which includes the following funtion

    -- Method: GetData (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    FUNCTION GetData(

    obj ORA_JAVA.JOBJECT,

    a0 VARCHAR2,

    a1 VARCHAR2) RETURN VARCHAR2 IS

    BEGIN

    args := JNI.CREATE_ARG_LIST(2);

    JNI.ADD_STRING_ARG(args, a0);

    JNI.ADD_STRING_ARG(args, a1);

    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);

    END;

    Forms Version is 9.0.4.0.19 , and PL/SQL version ( of forms ) is 9.0.1.5.1 , both support variables of type VARCHAR2 up to 32767 characters long

    However when the form is run the line

    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);

    gets the ORA-06502 error when the returned text is longer than 4000 characters

    I thank your answers.
    Fernando.

    DB:2.38:Ora-06502 Jni.Call_String_Method Oracle Forms &Amp; Web Services xk

    Ferdo,

    could you split up the result string in chunks that don't exceed the max. length? A method exposed on the Java class to could do this and be called from Forms as long as there is data coming.

    Frank

  • RELEVANCY SCORE 2.38

    DB:2.38:Mediator To Spring Error-Could Not Convert From Java Interface To Interface 8m


    Hi,

    I have a requirement to using a Spring component and my composite application would be File Read - Mediator - Spring Component - File Write.

    I have to read a file and using mediator map the same to the Spring input and write the Spring component output to a file.

    I have created a Java interface ( Package Name - transformtospring , Interface Name - TransformInterface) and also created a Java Class ( TransformImpl ) which implements the Interface in this package. Saved all these artifacts in SCA-INF/src folder of the application.

    My Spring Bean configuration file is as follows ( saved the file in the same folder as composite.xml )

    ______________________

    ?xml version="1.0" encoding="windows-1252" ?
    beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:lang="http://www.springframework.org/schema/lang"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd"
    !--Spring Bean definitions go here--
    bean class="transformtospring.TransformImpl" name="TransformBean"/
    sca:service name="TransformService" target="TransformBean"
    type="transformtospring.TransformImpl"/
    /beans

    ________________________

    I have created a Spring Context which uses the above Spring Configuration. When i tried to map the mediator output to Spring , i'm getting an error shown below.

    " Could not convert from java interface to interface type wsdl . Exception=java.lang.ClassNotFoundException transformtospring.TransformImpl "

    Please do let me know where exactly i'm doing wrong.

    Regards,
    Sri.

    DB:2.38:Mediator To Spring Error-Could Not Convert From Java Interface To Interface 8m

    I am confused. The above error you mentioned was obvious (first no interface declared, and then a missing build path). Ok you are through this now.

    Which service, the composite service (or the intra composite spring service) is not returning anything? a flow of the composite would help to understand your problem much better.

    Cheers

  • RELEVANCY SCORE 2.38

    DB:2.38:Deployment Error: Java.Lang.Securityexception: Prohibited Package Name ff



    Hi all,

    I am trying to deploy a Java EE 6 webapp on JBoss AS 7, but I am stuck with a strange exception. I have a stateless EJB which implements java.util.concurrent.Executor (as described here: http://www.adam-bien.com/roller/abien/entry/conveniently_transactionally_and_legally_starting). I get the following exception:

    15:38:18,502 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."stackhunter-webapp-2.0-SNAPSHOT-war.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."stackhunter-webapp-2.0-SNAPSHOT-war.war".INSTALL: Failed to process phase INSTALL of deployment "stackhunter-webapp-2.0-SNAPSHOT-war.war"

    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_33]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_33]

    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]

    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011030: Could not configure component TransactionalExecutor

    at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:92)

    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

    ... 5 more

    Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    at org.jboss.classfilewriter.ClassFile.define(ClassFile.java:280)

    at org.jboss.invocation.proxy.AbstractClassFactory.defineClass(AbstractClassFactory.java:164)

    at org.jboss.invocation.proxy.AbstractProxyFactory.getCachedMethods(AbstractProxyFactory.java:145)

    at org.jboss.as.ejb3.component.stateless.StatelessComponentDescription$3.configure(StatelessComponentDescription.java:138)

    at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:921)

    at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)

    ... 6 more

    Caused by: java.lang.reflect.InvocationTargetException

    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) [:1.6.0_33]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_33]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_33]

    at org.jboss.classfilewriter.ClassFile.define(ClassFile.java:275)

    ... 11 more

    Caused by: java.lang.SecurityException: Prohibited package name: java.util.concurrent

    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479) [rt.jar:1.6.0_33]

    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625) [rt.jar:1.6.0_33]

    at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [rt.jar:1.6.0_33]

    ... 15 more

    I get the same kind of error if I implement Comparable instead of Executor. But if I don't implement any interface coming from the JDK it works.

    Also, I can successfully deploy my app on glassfish.

    (None of my class is located in a java.* package)

    Thanks for your help.

    DB:2.38:Deployment Error: Java.Lang.Securityexception: Prohibited Package Name ff


    As a possible (temporary) work around add to the class another interface in the implements, this can be a custom interface that you create that is empty of any methods or other definitions.

    I hope this is is fixed in the future to be consistent. It works at this time with 7.1.1.Final.

    https://issues.jboss.org/browse/AS7-6088

  • RELEVANCY SCORE 2.38

    DB:2.38:C++ Coherence Distributed-Scheme Unsupportedoperationexception ap


    I am a new bi here..

    I try to run C++ the sample code to connect to cache-server (Java) .

    CACH_CONFIG.XLS

    ?xml version="1.0"?
    !DOCTYPE cache-config SYSTEM "cache-config.dtd"
    cache-config
    caching-scheme-mapping
    cache-mapping
    cache-name*/cache-name
    scheme-namedefault-distributed/scheme-name
    /cache-mapping
    cache-mapping
    cache-nameVirtualCache/cache-name
    scheme-namedefault-distributed/scheme-name
    /cache-mapping
    /caching-scheme-mapping
    caching-schemes
    !--
    Default Distributed caching scheme.
    --
    distributed-scheme
    scheme-namedefault-distributed/scheme-name
    service-nameDistributedCache/service-name
    backing-map-scheme
    class-scheme
    scheme-refdefault-backing-map/scheme-ref
    /class-scheme
    /backing-map-scheme
    /distributed-scheme
    class-scheme
    scheme-namedefault-backing-map/scheme-name
    class-namecom.tangosol.util.SafeHashMap/class-name
    /class-scheme
    /caching-schemes
    /cache-config

    and this is the message i got when i run my sample application.

    error: coherence::lang::UnsupportedOperationException: configureCache: distributed-scheme
    at class coherence::lang::TypedHandleclass coherence::net::NamedCache __thiscall coherence::net::DefaultConfigurableCacheFactory::configureCache
    (class coherence::lang::TypedHandleclass coherence::net::DefaultConfigurableCacheFactory::CacheInfo const ,class coherence::lang::TypedHandleclass
    coherence::run::xml::XmlElement const )(DefaultConfigurableCacheFactory.cpp:342)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache
    at coherence::net::CacheFactory::getCache
    at main
    at __tmainCRTStartup
    at RegisterWaitForInputIdle
    on thread "main"

    SAMPLE CODE:

    String::View vsCacheName = "VirtualCache";

    // retrieve the named cacheCacheFactory
    NamedCache::Handle hCache;
    hCache = CacheFactory::getCache("VirtualCache");
    // create a key, and value
    String::View vsKey = "hello";
    String::View vsValue = "grid";

    // insert the pair into the cache
    hCache-put(vsKey, vsValue);
    CacheFactory::shutdown();

    i got coherence.dll from coherence-cpp-v3.5.2b463-windows-x86.zip package.

    please help....

    thanks,
    Leo

    DB:2.38:C++ Coherence Distributed-Scheme Unsupportedoperationexception ap

    As a C++ Coherence*Extend client, you need to connect via a Proxy.

    Refer to proxy-scheme and remote-cache-scheme:
    - http://coherence.oracle.com/display/COH33UG/proxy-scheme
    - http://coherence.oracle.com/display/COH33UG/remote-cache-scheme

    You can also refer to the example configuration (part of the CPP SDK) for an example of usage.

  • RELEVANCY SCORE 2.38

    DB:2.38:Jaxb Java.Lang.Illegalaccesserror ad


    hi there,
    I am very new to jaxb. I want to convert the XML schema into classes. I tried doing it manually.But when I try to do it automatically using ant script it gives me the following error.

    BUILD FAILED: java.lang.IllegalAccessError: org/apache/xerces/util/ObjectFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;

    here is my build.xml file:

    path id="project.classpath"
    fileset dir="${vendor.dir}"
    include name="**/*.jar"/
    include name="**/*.JAR"/
    /fileset
    fileset dir="D:/jwsdp-shared/lib"
    include name="*.jar" /
    /fileset
    fileset dir="D:/jaxp-1.2.2/lib"
    include name="*.jar" /
    /fileset
    fileset dir="${was.home}/lib"
    include name="j2ee.jar"/
    /fileset
    pathelement path="${build.dir}"/
    /path

    taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"
    classpath refid="project.classpath" /

    /taskdef

    target name="compile" depends="prepare"
    description="Compile source code"
    !-- generate the Java content classes from the schema --
    echo message="Compiling the schema..."/
    echo message="Compiling the schema done..."/
    xjc schema="tna-data-request.xsd" target="." package="primer.po"/
    echo message="Compiling the schema done..."/

    !-- compile all of the java sources --
    echo message="Compiling the java source files..."/
    javac srcdir="." destdir="${build.dir}"
    classpath refid="project.classpath" /
    /javac
    javac destdir="${build.dir}"
    target="1.3"
    debug="true"
    deprecation="true"
    optimize="false"
    failonerror="true"
    src path="${src.dir}"/
    include name="**/*.java"/
    exclude name="**/README,**/*.pj,**/*.xml,**/*.properties"/
    classpath refid="project.classpath"/
    /javac
    /target

    Please can you response ASAP.

    Thanks,
    Bindu

    DB:2.38:Jaxb Java.Lang.Illegalaccesserror ad

    hi there,
    I am very new to jaxb. I want to convert the XML schema into classes. I tried doing it manually.But when I try to do it automatically using ant script it gives me the following error.

    BUILD FAILED: java.lang.IllegalAccessError: org/apache/xerces/util/ObjectFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Object;

    here is my build.xml file:

    path id="project.classpath"
    fileset dir="${vendor.dir}"
    include name="**/*.jar"/
    include name="**/*.JAR"/
    /fileset
    fileset dir="D:/jwsdp-shared/lib"
    include name="*.jar" /
    /fileset
    fileset dir="D:/jaxp-1.2.2/lib"
    include name="*.jar" /
    /fileset
    fileset dir="${was.home}/lib"
    include name="j2ee.jar"/
    /fileset
    pathelement path="${build.dir}"/
    /path

    taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"
    classpath refid="project.classpath" /

    /taskdef

    target name="compile" depends="prepare"
    description="Compile source code"
    !-- generate the Java content classes from the schema --
    echo message="Compiling the schema..."/
    echo message="Compiling the schema done..."/
    xjc schema="tna-data-request.xsd" target="." package="primer.po"/
    echo message="Compiling the schema done..."/

    !-- compile all of the java sources --
    echo message="Compiling the java source files..."/
    javac srcdir="." destdir="${build.dir}"
    classpath refid="project.classpath" /
    /javac
    javac destdir="${build.dir}"
    target="1.3"
    debug="true"
    deprecation="true"
    optimize="false"
    failonerror="true"
    src path="${src.dir}"/
    include name="**/*.java"/
    exclude name="**/README,**/*.pj,**/*.xml,**/*.properties"/
    classpath refid="project.classpath"/
    /javac
    /target

    Please can you response ASAP.

    Thanks,
    Bindu

  • RELEVANCY SCORE 2.38

    DB:2.38:Resin Web Server In Windows xa



    Hello all,

    The GPL release of resin (3.0.10) doesn't work on windows with Jrockit.

    httpd.exe -java_home C:\Java\jrockit-jdk1.5.0
    java/lang/ClassFormatError: com/caucho/log/LogManagerImpl : invalid
    LocalVariableTypeTable count at 1
    at
    java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;(Unknown
    Source)
    at
    java/security/SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;(SecureClassLoader.java:124)
    at
    java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:260)
    at
    java/net/URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:56)
    at
    java/net/URLClassLoader$1.run()Ljava/lang/Object;(URLClassLoader.java:195)
    at
    java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;(URLClassLoader.java:188)
    at
    java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(Unknown
    Source)
    at
    sun/misc/Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(Launcher.java:268)
    at
    java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;(Unknown
    Source)
    at
    java/util/logging/LogManager$1.run()Ljava/lang/Object;(LogManager.java:163)
    at java/util/logging/LogManager.clinit()V(LogManager.java:156)
    at
    java/util/logging/LogManager.getLogManager()Ljava/util/logging/LogManager;(LogManager.java:229)
    at java/lang/System.initializeSystemClass()V(Unknown Source)
    at java/lang/LangAccessImpl.systemInitializeSystemClass()V(Unknown
    Source)
    --- End of stack trace
    Could not create the Java virtual machine.

    Is there something I can try?

    Regards,
    Luis Neves

    DB:2.38:Resin Web Server In Windows xa

    Is mybe problem that resin is compiled with retroweaver?
    http://retroweaver.sourceforge.net/
    maybe retroweaver f***'s things up?

  • RELEVANCY SCORE 2.38

    DB:2.38:Unsupportedoperationexception: Configurecache: Distributed-Scheme dj


    I am a new bi here..

    I try to run C++ the sample code to connect to cache-server (Java) .

    CACH_CONFIG.XLS

    ?xml version="1.0"?
    !DOCTYPE cache-config SYSTEM "cache-config.dtd"
    cache-config
    caching-scheme-mapping
    cache-mapping
    cache-name*/cache-name
    scheme-namedefault-distributed/scheme-name
    /cache-mapping
    cache-mapping
    cache-nameVirtualCache/cache-name
    scheme-namedefault-distributed/scheme-name
    /cache-mapping
    /caching-scheme-mapping
    caching-schemes
    !--
    Default Distributed caching scheme.
    --
    distributed-scheme
    scheme-namedefault-distributed/scheme-name
    service-nameDistributedCache/service-name
    backing-map-scheme
    class-scheme
    scheme-refdefault-backing-map/scheme-ref
    /class-scheme
    /backing-map-scheme
    /distributed-scheme
    class-scheme
    scheme-namedefault-backing-map/scheme-name
    class-namecom.tangosol.util.SafeHashMap/class-name
    /class-scheme
    /caching-schemes
    /cache-config

    and this is the message i got when i run my sample application.

    error: coherence::lang::UnsupportedOperationException: configureCache: distributed-scheme
    at class coherence::lang::TypedHandleclass coherence::net::NamedCache __thiscall coherence::net::DefaultConfigurableCacheFactory::configureCache
    (class coherence::lang::TypedHandleclass coherence::net::DefaultConfigurableCacheFactory::CacheInfo const ,class coherence::lang::TypedHandleclass
    coherence::run::xml::XmlElement const )(DefaultConfigurableCacheFactory.cpp:342)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache
    at coherence::net::CacheFactory::getCache
    at main
    at __tmainCRTStartup
    at RegisterWaitForInputIdle
    on thread "main"

    SAMPLE CODE:

    String::View vsCacheName = "VirtualCache";

    // retrieve the named cacheCacheFactory
    NamedCache::Handle hCache;
    hCache = CacheFactory::getCache("VirtualCache");
    // create a key, and value
    String::View vsKey = "hello";
    String::View vsValue = "grid";

    // insert the pair into the cache
    hCache-put(vsKey, vsValue);
    CacheFactory::shutdown();

    i got coherence.dll from coherence-cpp-v3.5.2b463-windows-x86.zip package.

    please help....

    thanks,
    Leo

    DB:2.38:Unsupportedoperationexception: Configurecache: Distributed-Scheme dj

    Hi Leo,

    I think that you want to use remote-cache-scheme from an extend client instead of distributed-scheme ...

    http://wiki.tangosol.com/display/COH33UG/Configuring+and+Using+Coherence*Extend
    http://wiki.tangosol.com/display/COH33UG/remote-cache-scheme

    Thanks,
    Tom

  • RELEVANCY SCORE 2.37

    DB:2.37:Problem Shutting Down Wls 6.1 From Command Line In Unix 7a



    I am currently running Weblogic Server 6.1 on Solaris 8 with JDK 1.3. Each time I
    run the "mydomain" or other examples and try to shut down the server from the command
    line, I receive the following error:

    Exception in thread "main" java.lang.SecurityException: Prohibited package name:
    java.lang.reflect
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.init(Compiled Code)
    at java.lang.Exception.init(Compiled Code)
    etc....

    I've tried executing the shutdown command as it appears in the support documentation
    and I've also executed the shutdown command as posted by this newsgroup:

    $JAVA_HOME/java -classpath $CLASSPATH weblogic.Admin -url t3://localhost:7001 -username
    $WLS_ADMIN -password $WLS_PW SHUTDOWN 0.

    Could somebody please assist me?

    DB:2.37:Problem Shutting Down Wls 6.1 From Command Line In Unix 7a

    Hi.

    Thanks for posting the extra info.

    Strange. This works for me. The stack trace is all jvm stuff - no weblogic code is listed.

    I suggest you open a case with support on this.

    Regards,
    Michael

    Adrian wrote:

    Hi, I've tried your suggestion, but without any luck. I've listed the full output,
    as you requested. Note also that this time, I tried using the shutdown command as
    given in the support docs:

    root@ebcynmtomq # ps -ef | grep startWebLogic.sh
    root 504 496 0 14:10:45 pts/3 0:00 grep startWebLogic.sh
    root 483 473 0 14:08:19 pts/1 0:00 /bin/sh startWebLogic.sh

    root@ebcynmtomq # setEnv.sh
    LD_LIBRARY_PATH=:/usr/openwin/lib:/opt/bea/wlserver6.1/lib/solaris:/opt/bea/wlserver6.1/lib/solaris/oci816_8
    CLASSPATH=/opt/bea/jdk131/lib/tools.jar:/opt/bea/wlserver6.1/lib/weblogic_sp.jar:/opt/bea/wlserver6.1/lib/weblogic.jar:/opt/mqm/java/lib:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/com.ibm.mqbind.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/java/lib/providerutil.jar:/opt/mqm/java/lib/jms.jar:/opt/mqm/java/lib/jndi.jar:/opt/mqm/java/lib/jta.jar:/opt/mqm/java/lib/connector.jar:/opt/mqm/java/lib/fscontext.jar:/opt/mqm/java/lib/ldap.jar:/opt/mqm/java/lib/ns.jar:/opt/mqm/java/lib/ras.jar:/opt/mqm/java/lib/utils.jar:/opt/bea/jdk131/jre/lib/rt.jar:/opt/bea/wlserver6.1/lib/wleorb.jar:/opt/bea/wlserver6.1/lib/weblogic.jar:
    PATH=/opt/bea/wlserver6.1/bin:/opt/bea/jdk131/jre/bin:/opt/bea/jdk131/bin:/opt/bea/wlserver6.1/lib/solaris:/opt/SUNWexplo/bin:/opt/SUNWvts/bin:/opt/sun/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/vnc:/opt/mqm/samp/bin:/usr/bin:/opt/mqm/java/lib:

    Your environment has been set.

    root@ebcynmtomq # java weblogic.Admin -url http://ebcynmtomq:7001 -username system
    -password password SHUTDOWN
    Exception in thread "main" java.lang.SecurityException: Prohibited package name:
    java.lang.reflect
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.init(Compiled Code)
    at java.lang.Exception.init(Compiled Code)
    at java.lang.RuntimeException.init(RuntimeException.java:47)
    at java.lang.SecurityException.init(SecurityException.java:39)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:485)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$1(URLClassLoader.java:217)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:192)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:290)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:256)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)

    Michael Young Reply@ToNewsgroup.Only wrote:
    Hi.

    Try running the setEnv.sh script prior to running the shutdown command.
    If it still
    doesn't work please post everything - including the exact command and the
    entire stack
    trace of the error you are seeing.

    Thanks,
    Michael

    Adrian wrote:

    I am currently running Weblogic Server 6.1 on Solaris 8 with JDK 1.3.Each time I
    run the "mydomain" or other examples and try to shut down the server fromthe command
    line, I receive the following error:

    Exception in thread "main" java.lang.SecurityException: Prohibited packagename:
    java.lang.reflect
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.init(Compiled Code)
    at java.lang.Exception.init(Compiled Code)
    etc....

    I've tried executing the shutdown command as it appears in the supportdocumentation
    and I've also executed the shutdown command as posted by this newsgroup:

    $JAVA_HOME/java -classpath $CLASSPATH weblogic.Admin -url t3://localhost:7001-username
    $WLS_ADMIN -password $WLS_PW SHUTDOWN 0.

    Could somebody please assist me?--
    Michael Young
    Developer Relations Engineer
    BEA Support
    --
    Michael Young
    Developer Relations Engineer
    BEA Support

  • RELEVANCY SCORE 2.37

    DB:2.37:Can Someone Help Me With Java.Lang.Nosuchmethoderror kj


    Hello ,

    I am developing a JSP page that calls a method from a Java class that I created (Helper.class) and compiles properly.
    Helper.java makes part of a package named package wtcore.jsp.admin.useraccount :

    package wtcore.jsp.admin.useraccount;

    public class Helper {

    public static WTUser searchUser(String name) {

    WTUser u = null;
    try { .... }
    catch (Exception e) { e.printStackTrace(); }
    return u;
    }
    }

    When calling the static method searchUser(String user) from my JSP:

    % WTUser u = wtcore.jsp.admin.useraccount.Helper.searchUser("johnwilliams");%

    I recieve the following error: java.lang.NoSuchMethodError: wtcore.jsp.admin.useraccount.Helper.searchUser(Ljava/lang/String;)Lwt/org/WTUser;

    Does anyone know what might be going wrong?

    Thanx for your help in advance

    DB:2.37:Can Someone Help Me With Java.Lang.Nosuchmethoderror kj

    I have already done this and it doesn't help. I'm not sure why :(

  • RELEVANCY SCORE 2.37

    DB:2.37:Jdev 10g Starting Problem z3


    Hi,

    when I liked to start my JDev 9.0.5 (the compled package) on Windows2003 it comes the following error:
    "Couldn't initialize VM: java/lang/NoClassDefFoundError: java/lang/System
    Fatal internal error: I/EX"

    I have set the JDK_HOME to his JDK without take place :(

    What can I do?

    JDev 9.0.3 runs perfect.

    Sebastian

    DB:2.37:Jdev 10g Starting Problem z3

    Hi,

    excuse my poor english.

    I use the VM that comes with JDev 10g.

    Now I run it with SUN 1.4.2 (SetJavaHome set to it) and it work.

    But not with OJVM :(

    I have no .jdev_jdk file in my JDev directory ...

    little Question: How can I run "memory profile" in 10g in 9i it work

    Best regards
    Sebastian

  • RELEVANCY SCORE 2.36

    DB:2.36:Problem Deploying Ejb 71


    I have problems deploying ejb's to 8.1.7
    JDev 3.2 cannot connect service and
    manual deploying says:

    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs.....................................done
    Compiling Stubs...Errors compiling the communication stubs

    /tmp/ejb/oraclex/java/lang/ObjectHolder.java:18: The super class "{0}" is not in the same package an
    d not public '8.6
    /tmp/ejb/oraclex/java/lang/ObjectHelper.java:18: The super class "{0}" is not in the same package an
    d not public '8.6
    /tmp/ejb/oraclex/java/lang/ObjectHelper.java:47: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/DbscEjbHolder.java:24: The super class "{0}" is not in the same package and not pub
    lic '8.6
    /tmp/ejb/dbscejb/DbscEjbHelper.java:24: The super class "{0}" is not in the same package and not pub
    lic '8.6
    /tmp/ejb/dbscejb/DbscEjbHelper.java:72: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_st_DbscEjb.java:25: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_DbscEjbImplBase.java:29: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_DbscEjbImplBase.java:37: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/DbscEjbOperations.java:38: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_tie_DbscEjb.java:26: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_tie_DbscEjb.java:49: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/DbscEjbHomeHolder.java:24: The super class "{0}" is not in the same package and not
    public '8.6
    /tmp/ejb/dbscejb/DbscEjbHomeHelper.java:24: The super class "{0}" is not in the same package and not
    public '8.6
    /tmp/ejb/dbscejb/DbscEjbHomeHelper.java:72: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_st_DbscEjbHome.java:25: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_DbscEjbHomeImplBase.java:29: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_DbscEjbHomeImplBase.java:34: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/DbscEjbHomeOperations.java:38: Can''t find type "java/rmi/RemoteException"
    /tmp/ejb/dbscejb/_tie_DbscEjbHome.java:26: Can''t find type "java/lang/String"
    /tmp/ejb/dbscejb/_tie_DbscEjbHome.java:49: Can''t find type "java/rmi/RemoteException"

    can anyone tell me where is the problem?
    please help!

    DB:2.36:Problem Deploying Ejb 71

    and about jdev's deploy it just suddenly started to work...don't know what was the problem...

  • RELEVANCY SCORE 2.36

    DB:2.36:Starting Iexporer.Exe From Java With J9 In An Ipaq fs


    Hi all,

    I'm trying to run IExplorer.exe from a java program in a IPAQ with j9 cvm.

    I did try it in Windows 2000 and it works fine but when running it in the IPAQ with Windows CE it throws an exception.
    Looks like the Exception is thrown because it can not find the file, but I think I'm writing the correct path and file name.

    Here is the code and the exception. Can any one try it and tell me what Am I doing wrong.

    Thanks a lot.

    String s = "\\Windows\\iexplore.exe";
    //String s = "\"C:\\Program Files\\Internet Explorer\\IEXPLORExx.EXE\"";
    try
    {
    System.out.println("s: " + s);

    Runtime runtime = Runtime.getRuntime();
    Process p = runtime.exec(s);
    }
    catch(IOException ioEx)
    {
    ioEx.printStackTrace();
    }

    java.io.IOException: Unable to start program

    Stack trace:
    com/ibm/oti/lang/SystemProcess.create([Ljava/lang/String;[Ljava/lang/String;L
    java/io/File;)Ljava/lang/Process;
    java/lang/Runtime.exec([Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)L
    java/lang/Process;
    java/lang/Runtime.exec(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Lj
    ava/lang/Process;
    java/lang/Runtime.exec(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Proce
    ss;
    java/lang/Runtime.exec(Ljava/lang/String;)Ljava/lang/Process;
    com/gestorPosicion/inicio/InicioCliente.main([Ljava/lang/String;)V

    DB:2.36:Starting Iexporer.Exe From Java With J9 In An Ipaq fs

    The problem is that on PocketPC you cannot redirect input or output and the exec() call will not work as expected so it instead throws the exception to indicate this doesn't work on PocketPC.

  • RELEVANCY SCORE 2.36

    DB:2.36:6300 Problem Running Snake 3d dp


    Hi when I got my 6300 about 3 months ago the game Snake 3/3d worked fine but I tried to play it the other day and now get this error "Error java/lang/Error Static initilizer: java/lang/SecurityException: MIDP lifecycle does not support system exit." What does it mean and how do I get snake to work again.

    Thanks

    ss30

    DB:2.36:6300 Problem Running Snake 3d dp

    I have the same problem. I`ve updated phones software, but it didnt help...

  • RELEVANCY SCORE 2.36

    DB:2.36:Able To Call .Net Web Service From Jdeveloper But Not From Forms. Why? zs


    Hi ,

    I have a web service written in .NET and I cope to call it from JDeveloper.
    I then created a Stub/Skeleton in JDeveloper and imported it into Oracle Form.
    My web service receives 5 strings and returns 1 string
    Here I copied the WHEN_BUTTON_PRESSED (1) trigger used to call the web service and the package (2 and 3) create from the java importer, I also imported the java.Lang and java.String classes.
    I copied also the Java class used in JDeveloper to call the web service (4).

    The When-button_pressed trigger used to call the web service cannot be compiled.
    "Error 382 expression is of wrong type"

    Any help?
    Thanks
    -------------------------------------------------
    (1)
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    BEGIN
    jo := PolygoneFromPointStub.new;
    --
    rv := PolygoneFromPointStub.getPolygonFromPoint(jo,'1.75','58.5','FIE_ID','fields','');
    --message (float_.floatValue(rv));
    --message (string_.stringValue(rv));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    null;
    END;

    --------------------------------------------------------

    (2)
    PACKAGE PolygoneFromPointStub /* mypackage1.PolygoneFromPointStub */ IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2;

    END;
    -------------------------------------------------
    (3)

    PACKAGE BODY PolygoneFromPointStub IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    args JNI.ARGLIST;

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := NULL;
    RETURN (JNI.NEW_OBJECT('mypackage1/PolygoneFromPointStub', '()V', args));
    END;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(5);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    JNI.ADD_STRING_ARG(args, a2);
    JNI.ADD_STRING_ARG(args, a3);
    JNI.ADD_STRING_ARG(args, a4);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage1/PolygoneFromPointStub', 'getPolygonFromPoint', '(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;

    BEGIN
    NULL;
    END;
    --------------------------------------------------------
    (4)
    package mypackage1;

    public class CallWebService
    {
    public CallWebService()
    {
    }

    public static void main(String[] args)
    {
    CallWebService callWebService = new CallWebService();
    System.out.println("test");
    PolygoneFromPointStub wspoly = new PolygoneFromPointStub();
    String returnstr;
    String returnparam="";
    try{
    returnstr = wspoly.getPolygonFromPoint("1.75","58.5","FIE_ID","fields",returnparam);
    System.out.println("returnstr="+returnstr);
    System.out.println("returnparam="+returnparam);
    }
    catch (Exception e)
    {
    System.out.println(e.getMessage() );
    }
    }
    }

    DB:2.36:Able To Call .Net Web Service From Jdeveloper But Not From Forms. Why? zs

    Hi ,

    I have a web service written in .NET and I cope to call it from JDeveloper.
    I then created a Stub/Skeleton in JDeveloper and imported it into Oracle Form.
    My web service receives 5 strings and returns 1 string
    Here I copied the WHEN_BUTTON_PRESSED (1) trigger used to call the web service and the package (2 and 3) create from the java importer, I also imported the java.Lang and java.String classes.
    I copied also the Java class used in JDeveloper to call the web service (4).

    The When-button_pressed trigger used to call the web service cannot be compiled.
    "Error 382 expression is of wrong type"

    Any help?
    Thanks
    -------------------------------------------------
    (1)
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    BEGIN
    jo := PolygoneFromPointStub.new;
    --
    rv := PolygoneFromPointStub.getPolygonFromPoint(jo,'1.75','58.5','FIE_ID','fields','');
    --message (float_.floatValue(rv));
    --message (string_.stringValue(rv));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    null;
    END;

    --------------------------------------------------------

    (2)
    PACKAGE PolygoneFromPointStub /* mypackage1.PolygoneFromPointStub */ IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2;

    END;
    -------------------------------------------------
    (3)

    PACKAGE BODY PolygoneFromPointStub IS

    --
    -- DO NOT EDIT THIS FILE - it is machine generated!
    --

    args JNI.ARGLIST;

    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := NULL;
    RETURN (JNI.NEW_OBJECT('mypackage1/PolygoneFromPointStub', '()V', args));
    END;

    -- Method: getPolygonFromPoint (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION getPolygonFromPoint(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2,
    a2 VARCHAR2,
    a3 VARCHAR2,
    a4 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(5);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    JNI.ADD_STRING_ARG(args, a2);
    JNI.ADD_STRING_ARG(args, a3);
    JNI.ADD_STRING_ARG(args, a4);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage1/PolygoneFromPointStub', 'getPolygonFromPoint', '(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;

    BEGIN
    NULL;
    END;
    --------------------------------------------------------
    (4)
    package mypackage1;

    public class CallWebService
    {
    public CallWebService()
    {
    }

    public static void main(String[] args)
    {
    CallWebService callWebService = new CallWebService();
    System.out.println("test");
    PolygoneFromPointStub wspoly = new PolygoneFromPointStub();
    String returnstr;
    String returnparam="";
    try{
    returnstr = wspoly.getPolygonFromPoint("1.75","58.5","FIE_ID","fields",returnparam);
    System.out.println("returnstr="+returnstr);
    System.out.println("returnparam="+returnparam);
    }
    catch (Exception e)
    {
    System.out.println(e.getMessage() );
    }
    }
    }

  • RELEVANCY SCORE 2.36

    DB:2.36:Class Loading 3f


    can java have one class name under different package names

    DB:2.36:Class Loading 3f

    Of course but be carefull when trying to create an object. For example you have a class called Date inside the java.util and the java.sql packages. But if you import both packages would be ambiguety and the code wont compile just be sure to import and use the right class.

  • RELEVANCY SCORE 2.36

    DB:2.36:Personal Profile And J9: Problems Help x7


    Hi,
    I'm trying to develop application for my PDA using WSDD 5.5 and J9, I coded a simple main that show a simple frame with a button. The program run correctly as a "Java application", but when i try to run it over "identified VM(local JRE)" and/or over my PDA it has problems like this:

    java.lang.NoClassDefFoundError: java.awt.Frame

    Stack trace:
    java/lang/Throwable.init()V
    java/lang/Throwable.init(Ljava/lang/String;)V
    java/lang/NoClassDefFoundError.init(Ljava/lang/String;)V
    java/lang/ClassLoader.defineClassImpl(Ljava/lang/String;[BII)Ljava/lang/Class;
    java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;
    java/security/SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;
    java/net/URLClassLoader.findClassImpl([Ljava/net/URL;Ljava/lang/String;)Ljava/lang/Class;
    java/net/URLClassLoader$4.run()Ljava/lang/Object;
    java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
    java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;
    com/ibm/oti/vm/URLAppClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;
    java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
    com/ibm/oti/vm/URLAppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
    java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
    p/Mainer.main([Ljava/lang/String;)V

    well, i don't know why it don't find the java.awt.frame definition...I opened the project as a PersonalProfile Project and i loaded all the .jar an .zip files containing class files for Personal Profiles provided by the microenvironement....

    Thank you very much
    Palastar

    DB:2.36:Personal Profile And J9: Problems Help x7

    First, you should update to WSDD 5.6 Tech Preview. Second, there are more IBM/J9/WSDD developers monitoring the newgroup for the product.

    news://news.software.ibm.com/ibm.software.websphere.studio.device-developer

    Google also indexes this newgroup so you can also try a quick search there first.

    If you are to post a problem, include version and the command line you are using. Often it's the command line parameters.

  • RELEVANCY SCORE 2.35

    DB:2.35:Re: Prohibited Package Name: Java.Util When Running A Servlet With Was 4.0.1 a3


    Have a look at, http://jakarta.apache.org/log4j/docs/critique.html for the explanation.

    DB:2.35:Re: Prohibited Package Name: Java.Util When Running A Servlet With Was 4.0.1 a3

    I still cannot quite explain what the problem was or to be more specific what in my code triggered the behavior.

    Nevertheless the problem is solved. I installed the WAS 4 FixPack 3 (4.0.3) and the problem evaporated. I assume it was a bug in the IBM CompoundClassLoader, but I didn't find it in the bug list of the FixPack.

    Now I only have a normal/standard problem with a ClassNotFoundException when dynamically loading a class. But I think I will be able to find an answer to that fairly easy. Nevertheless I would appreciate comments in that as well.

  • RELEVANCY SCORE 2.35

    DB:2.35:Application Deployment Issue On Jboss 4.2.3 k3


    Hi,

    I am trying to deploy a Java Application on JBoss 4.2.3 AS. This application run seamlessly on JBoss 3.0.5. After deploying, I could see errors below.

    Could any one please suggest what could be the issue? Were there any changes in the deployment file structure? Please advice.

    Thanks,

    2009-09-29 15:43:41,112 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar
    org.jboss.deployment.DeploymentException: expected one container-name tag
    2009-09-29 15:43:41,128 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
    org.jboss.deployment.DeploymentException: expected one container-name tag
    2009-09-29 15:43:41,165 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar
    org.jboss.deployment.DeploymentException: expected one container-name tag
    2009-09-29 15:43:41,177 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
    org.jboss.deployment.DeploymentException: expected one container-name tag
    2009-09-29 15:43:41,198 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar
    org.jboss.deployment.DeploymentException: expected one container-name tag
    2009-09-29 15:43:41,208 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
    org.jboss.deployment.DeploymentException: expected one container-name tag
    2009-09-29 15:43:41,256 ERROR [org.jboss.system.server.Server] Root deployment has missing dependencies; continuing
    Incomplete Deployment listing:

    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@cad26b26 { url=file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar }
    deployer: org.jboss.ejb.EJBDeployer@ab835a
    status: Deployment FAILED reason: expected one container-name tag
    state: FAILED
    watch: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar
    altDD: null
    lastDeployed: 1254203021081
    lastModified: 1254203019961
    mbeans:

    org.jboss.deployment.DeploymentInfo@7888101a { url=file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar }
    deployer: org.jboss.ejb.EJBDeployer@ab835a
    status: Deployment FAILED reason: expected one container-name tag
    state: FAILED
    watch: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar
    altDD: null
    lastDeployed: 1254203021154
    lastModified: 1254203020008
    mbeans:

    org.jboss.deployment.DeploymentInfo@8d818653 { url=file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar }
    deployer: org.jboss.ejb.EJBDeployer@ab835a
    status: Deployment FAILED reason: expected one container-name tag
    state: FAILED
    watch: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar
    altDD: null
    lastDeployed: 1254203021190
    lastModified: 1254203020008
    mbeans:

    --- MBeans waiting for other MBeans ---
    ObjectName: jboss:service=invoker,type=jrmp
    State: FAILED
    Reason: java.lang.AbstractMethodError: org.jboss.invocation.jrmp.server.JRMPInvoker.jbossInternalLifecycle(Ljava/lang/String;)V
    I Depend On:
    jboss:service=TransactionManager

    ObjectName: jboss:service=invoker,type=http
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

    ObjectName: jboss:service=invoker,type=httpHA
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

    ObjectName: jboss:service=invoker,type=http,target=Naming
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

    ObjectName: jboss:service=invoker,type=http,target=Naming,readonly=true
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

    ObjectName: jboss.jca:service=LocalTxCM,name=hsqldbDS
    State: CONFIGURED
    I Depend On:
    jboss.jca:service=LocalTxDS,name=hsqldbDS
    jboss.jca:service=LocalTxPool,name=hsqldbDS
    jboss.jca:service=CachedConnectionManager
    jboss.security:service=JaasSecurityManager
    jboss.jca:service=RARDeployer

    ObjectName: jboss.jca:service=LocalTxDS,name=hsqldbDS
    State: CONFIGURED
    I Depend On:
    jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
    jboss:service=Hypersonic
    Depends On Me:
    jboss.jca:service=LocalTxCM,name=hsqldbDS

    ObjectName: jboss.jca:service=XaTxCM,name=jmsra
    State: CONFIGURED
    I Depend On:
    jboss.jca:service=RARDeployer
    jboss.jca:service=XaTxDS,name=jmsra
    jboss.jca:service=XaTxPool,name=jmsra
    jboss.jca:service=CachedConnectionManager
    jboss.security:service=JaasSecurityManager

    ObjectName: jboss.jca:service=XaTxDS,name=jmsra
    State: CONFIGURED
    I Depend On:
    jboss.jca:service=RARDeployment,name=JMS Adapter
    Depends On Me:
    jboss.jca:service=XaTxCM,name=jmsra

    --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
    ObjectName: jboss.jca:service=RARDeployment,name=JMS Adapter
    State: NOTYETINSTALLED
    Depends On Me:
    jboss.jca:service=XaTxDS,name=jmsra

    ObjectName: jboss:service=invoker,type=http
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

    ObjectName: jboss:service=invoker,type=http,target=Naming,readonly=true
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

    ObjectName: jboss:service=invoker,type=jrmp
    State: FAILED
    Reason: java.lang.AbstractMethodError: org.jboss.invocation.jrmp.server.JRMPInvoker.jbossInternalLifecycle(Ljava/lang/String;)V
    I Depend On:
    jboss:service=TransactionManager

    ObjectName: jboss:service=invoker,type=http,target=Naming
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

    ObjectName: jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
    State: NOTYETINSTALLED
    Depends On Me:
    jboss.jca:service=LocalTxDS,name=hsqldbDS

    ObjectName: jboss:service=invoker,type=httpHA
    State: FAILED
    Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;

  • RELEVANCY SCORE 2.35

    DB:2.35:Java.Lang.Securityexception cp


    I am using the Logging api(jdk1.4),but when I try run my program I am getting the follwoing error message

    java.lang.SecurityException: Prohibited package name: java.util.logging

    Can anybody help me resolve this issue?
    Thanks in advance.

    DB:2.35:Java.Lang.Securityexception cp

    Hi,
    Please modify the java.policy file in the lib/security in your Jdk..You can use policytool to edit that file where you have to set all permission.
    regards vicky

  • RELEVANCY SCORE 2.35

    DB:2.35:Re: How To Replace Java.Io.File? 3s


    hi YATArchivist,

    i am very shocked, but if I compile these

    package java.io;
    public class Test {
    }andimport java.io.*;

    public class Test2 {
    public static void main(String [] arg) throws Exception {
    Test t = new Test();
    }
    }it works, but running gives

    H:\java\misc\forums\packjava Test2
    Exception in thread "main" java.lang.SecurityException: Prohibited package name: java.io
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at Test2.main(Test2.java:5)

    DB:2.35:Re: How To Replace Java.Io.File? 3s

    In runtime, first you have to load class my.FileBridge
    using default class loader, and then load changed
    version of java.io.File with a custom class loader -
    i've used URLClassLoader with a little modification -
    using findClass rather than delegating loading to the
    system loader.If you are loading with a custom class loader then why bother creating a new one at all?

  • RELEVANCY SCORE 2.35

    DB:2.35:Help Plzzzzzz fk


    i have nokia 6300
    and win i open any Applications he sead
    security java/lang/securityexception Access denied
    what i do plz

  • RELEVANCY SCORE 2.35

    DB:2.35:Missing Export File For Package Java/Lang 13


    I have a problem in creating projects in JCOP Development Tool...

    Every time i create a java card applet i got an error of "missing export file for package java/lang"..

    anybody have any idea about how to fix this bug ??!!!

    i use:

    IBM JCOP Tools version: 3.1.2
    Eclipse Version: 3.2.0
    Build id: M20060629-1905
    RE: JAVA 1.5
    OS: Windows XP

    Thanks in Advance..

    DB:2.35:Missing Export File For Package Java/Lang 13

    Hi,
    [see in the thread.|http://forums.sun.com/thread.jspa?threadID=5386486]
    T.

  • RELEVANCY SCORE 2.35

    DB:2.35:Java/Lang/Securityexception fd


    Hi Frns

    I developed a application earlier on Jbulider X mobile Edition now we had shifted to NetBeans but while i run my project in netBeans IDE

    It gives me following error

    Uncaught exception java/lang/SecurityException: Target port denied to untrusted applications.

    i checked my norton settings and project properties both are satisfactory

    i dont know why i m getting this

    Plz help me out guys

    DC

    DB:2.35:Java/Lang/Securityexception fd

    Hi Frns

    I developed a application earlier on Jbulider X mobile Edition now we had shifted to NetBeans but while i run my project in netBeans IDE

    It gives me following error

    Uncaught exception java/lang/SecurityException: Target port denied to untrusted applications.

    i checked my norton settings and project properties both are satisfactory

    i dont know why i m getting this

    Plz help me out guys

    DC

  • RELEVANCY SCORE 2.35

    DB:2.35:Cdc Compilation Error Ii 3j


    Hi,

    In the compilation of CDC Implementation in a Red Hat 9 with ksh, the process throw me the follow errors (over 100):

    ../../src/share/classes/java/lang/String.java:17: cannot resolve symbol
    symbol : class ByteToCharConverter
    location: package io
    import sun.io.ByteToCharConverter;
    ^
    ../../src/share/classes/java/lang/String.java:18: cannot resolve symbol
    symbol : class CharToByteConverter
    location: package io
    import sun.io.CharToByteConverter;
    ^
    ../../src/share/classes/java/lang/ClassLoader.java:37: cannot resolve symbol
    symbol : class URLClassPath
    location: package misc
    import sun.misc.URLClassPath;
    ^
    ../../src/share/classes/java/lang/ClassLoader.java:38: cannot resolve symbol
    symbol : class Resource
    location: package misc
    import sun.misc.Resource;
    ^
    ../../src/share/classes/java/lang/ClassLoader.java:39: cannot resolve symbol
    symbol : class CompoundEnumeration
    location: package misc
    import sun.misc.CompoundEnumeration;
    ^
    ../../src/share/classes/java/lang/String.java:117: cannot resolve symbol
    symbol : class ByteToCharConverter
    location: class java.lang.String
    private static ByteToCharConverter getBTCConverter(String encoding)
    ^
    ...
    ...

    ...

    What do I doing wrong?? or What do I need???

    DB:2.35:Cdc Compilation Error Ii 3j

    This happens due to using of windows JDK to compile the java classes. While compiling the JDK for windows treates ';' as seperator for the options bootclasspath, sourcepath, classpath etc.

    The cvm linux build script which under cygwin uses ':' as seperator.

    Need to change the substitue char ':' in lines 131 to 138 to ';'

    LIBCLASSES_SRCPATH0 = $(subst $(space),;,$(strip $(LIBCLASSES_SRCDIRS)))
    LIBCLASSES_SRCPATH = $(subst $(space),;,$(strip $(LIBCLASSES_SRCPATH0)))

    BTCLASSES_SRCPATH0 = $(subst $(space),;,$(strip $(BTCLASSES_SRCDIRS)))
    BTCLASSES_SRCPATH = $(subst $(space),;,$(strip $(BTCLASSES_SRCPATH0)))

    TESTCLASSES_SRCPATH0 = $(subst $(space),;,$(strip $(TESTCLASSES_SRCDIRS)))
    TESTCLASSES_SRCPATH = $(subst $(space),;,$(strip $(TESTCLASSES_SRCPATH0)))

    Next change the JAVA cmd to

    .compile.btclasses:
    $(AT)if [ -s .btclasses.list ] ; then\
    echo "Compiling build-time classes...";\
    $(JAVAC_CMD)\
    -d '$(CVM_BUILDTIME_CLASSESDIR)'\
    -bootclasspath '$(CVM_BUILDTIME_CLASSESDIR)' \
    -classpath '$(CVM_BUILDTIME_CLASSESDIR)'\
    -sourcepath '$(BTCLASSES_SRCPATH)'\
    `cat .btclasses.list` ;\
    fi

    Observe the change of sourcepath $(BTCLASSES_SRCPATH) to
    sourcepath '$(BTCLASSES_SRCPATH)' i.e added single quotes. These single quotes need to be added to other java commanads in .compile.libclasses:
    .compile.btclasses:
    .compile.testclasses:

    My guess is that, these changes may not be required if one could install jdk for cygwin instead of using windows jdk (I am not sure if such version of jdk really exist).