Sample java client not running--showing a strange error-- help urgently

Hi,
I have followed all the steps, given in JDevloper help, to create and deploy an EJB onto a 9ias server and I have been successful in creating the EJB and deploying it from the JDevloper machine to 9ias machine.My JDevloper is on one machine and 9ias is on another. After deploying when I am creating a sample java client, as given in the JDevloper help file, it gives a very strange error
java.lang.NullPointerException
     void Samplemypackage1.MySessionEJB1Client.main(java.lang.String[])
Process exited with exit code 0.
I have tried a lot but it's not happening. Is it becuase
1. 9ias and JDevloper should be on the same machine
2. some configurational changes need to be done in the settings
3. jdk1.3.1 is not compatible with JDevloper.
I am enclosing the code snippet for your quick reference.
package Samplemypackage1;
import java.util.Hashtable;
//import javax.rmi.PortableRemoteObject;
import javax.naming.Context;
import javax.naming.InitialContext;
import mypackage1.MySessionEJB1;
import mypackage1.MySessionEJB1Home;
public class MySessionEJB1Client
public static void main(String [] args)
MySessionEJB1Client mySessionEJB1Client = new MySessionEJB1Client();
try
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "admin");
env.put(Context.SECURITY_CREDENTIALS, "admin");
env.put(Context.PROVIDER_URL, "ormi://9ias:23791/MySessionEJB1");
Context ctx = new InitialContext(env);
MySessionEJB1Home mySessionEJB1Home = (MySessionEJB1Home)ctx.lookup("MySessionEJB1");
MySessionEJB1 mySessionEJB1;
// Use one of the create() methods below to create a new instance
mySessionEJB1 = mySessionEJB1Home.create();
// Call any of the Remote methods below to access the EJB
System.out.println(mySessionEJB1.calc("om sri"));
catch(NullPointerException ne)
ne.printStackTrace();
catch(Throwable ex)
ex.printStackTrace();
When I tried to debug the program I found that the line " mySessionEJB1 = mySessionEJB1Home.create()" returns a null. I really fail to understand as to why it is happening.
Please help me.
Thankx

That's strange. home.create() should never return a null.
Do you see any exception trace on the server side?
Do you have the same version of oc4j.jar on client and server machine? Which version of Jdeveloper and 9iAs are you using?
Try copying oc4j.jar from the server machine to client machine and use that to connect to the bean.
HTH
Dhiraj

Similar Messages

  • Missing " Create Sample Java Client" from the context menu when debugging

    Jdev 11.1.1.3 on Windows 7 x64
    I have created an EJB - Session Bean from the ADF components and have put some logic into it with one public method.
    I have exposed the method in the local interface.
    I start the integrated server in the debug mode
    When I right-click there is no option to do the sample client.
    Am I missing a plug-in - like JUnit or something?
    From the manual:
    The integrated Oracle WebLogic Server runs within JDeveloper. You can run and test EJBs quickly and easily using this server, and then deploy your EJBs with no changes to them. You do not need to create a deployment profile to use this server, nor do you have to initialize it.
    To run a sample client on the integrated Oracle WebLogic Server: In the Application Navigator, right-click on an EJB and choose Run.
    Notice in the Message pane that Oracle WebLogic Server has been launched. Right-click on an EJB and choose Create Sample Java Client from the context menu. The default choice is to create a client for the integrated Oracle WebLogic Server, so click OK.
    The client is created and opens in the code editor. If your session bean serves as a facade over JPA entities, code is generated to instantiate the query methods. If you exposed methods on your bean, the generated client contains methods that can be uncommented to call them.
    After your EJB has been successfully started from the Application Navigator, right-click on the sample client and choose Run.

    Shay,
    Pretty much what I did exactly - except - since my apps are all using the local interface - I did not create the remote.
    This may be an old habit - but generally it is not a good practice to do both - though this may have changed lately.
    I have this app working and the EJBs are executing fine.
    I used a testview and drug the method onto it - and was able to debug it that way - but still no create java client in the menu.
    Is there any other place to find this other than the context menu? Then I can check to see if it is available.
    I am using WLS 10.3 that ships with Jdev 11.1.1.3 (forgot that little bit) without any changes.

  • Java will not run in IE9

    I find this problem posted all over the internet -- however, I have found few answers and no solutions that work.
    Java will not run in IE9 
    In the last three days I have installed Java 7.5 at least five times (after total uninstalls).
    I have Windows 7 Home premium with all updates installed.  Anti-virus programs are installed.
    Even the java website   http://www.java.com/en/download/testjava.jsp cannot detect the Java program in IE9.  It displays the following message:  “No working Java was detected
    on your system.  Install Java by clicking the button below.”
    I know you don’t want to hear about other browsers, however, this is part of the diagnoses – Java works fine in Chrome.  (Obviously, there are some programs that can only be accessed in IE.)
    I have tried turning off the firewall, anti-virus AVG, active x filtering, and every other program.  I have cleared the browsing history, cookies, etc.  50 times = nothing works.
    I experienced that Java did work once and only once in IE9 after each of two new reinstallations of Java 7.5.
    Process Explorer shows that Java is running, I’ve included a screen- shot (hope it shows up)
    All knowledgeable answers are appreciated.

    Hi,
    Have you tried the compatibility mode in Internet Explorer 9? Or does this issue occur to previous Internet Explorer versions?
    For reference about compatibility mode:
    http://blogs.msdn.com/b/ie/archive/2010/10/19/testing-sites-with-browser-mode-vs-doc-mode.aspx
    How to use Compatibility View in Internet Explorer 9
    You could try to deselect the “Automatically Detect Settings” to check how it works.
    And enable the scripting of Java applets settings:
    1. Click "Tools" --> "Internet Options"  
    2. Next, select the Security Tab, and select the "Custom Level" button
    3. Scroll down to "Scripting of Java applets"
    4. Make sure the "Enable" radio button is checked.
    5. Click OK to save your preference.
    Or you could try to change the settings in group editor:
    Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Internet Zone\Java Permissions
    Meanwhile, I suggest you could
    reset Internet Explorer settings to see the results.
    Hope this helps.
    Vincent Wang
    TechNet Community Support

  • DCNM LAN JAVA Client Not working

    Hi , 
    Recently i installed the DCNM server , we are using nexus 7k in dc environment . I  purchased the DCNM server license and assigned it to  switches thourgh web dcnm client . Login in Java DCNM LAN is  not working , It says check your username/password . Only with SAN its working Fine , Authetication to the dcnm is configured to check the TACACS server  . Can you help on this. 
    Thanks , Vedagiri Gopinath

    Duplicate posts.  :P
    Go here:  http://supportforums.cisco.com/discussion/12164196/dcnm-lan-java-client-not-working

  • HT1338 java is not running and there are no updates.  what do i do?

    Java is not running and all software updates are current.  What can I do?

    Is Java enabled?

  • Windows installer package not running or installing properly error when i try to install and update to the new icloud control panel.

    i get a windows installer package not running or installing properly error when i try to install and update to the new icloud control panel.

    Okay ... so it's not one of the cases of bodged up ACLs on the Apple folder in Common Files. (That's been underlying a few of the recalcitrant E7W5s.
    Just in case, let's try the fixit from the following document:
    Fix problems with programs that can't be installed or uninstalled

  • TS3694 When I want to restore my IPhone 3G, it can not restore & show an Unkown error (1015). What can I do now?

    When I want to restore my IPhone 3G, it can not restore & show an Unkown error (1015). What can I do now?

    Please see the quoted text below, taken from the Apple article you linked.
    "Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state."

  • Java program not running by the Ant

    i have a small java program.
    its a classpath problem.
    cant figure out where is the problem.
    i am running the code via Ant.
    build.xml
    <?xml version="1.0"?>
    <project name="myproject" basedir="." default="all">
        <property name="src.dir"     value="src"/>
         <property name="classes.dir" value="classes"/>
         <property name="lib.dir"     value="C:/tomcat/webapps/axis/WEB-INF/lib"/>
         <property name="runclass" value="TestClient"/>
         <target name="all" depends="clean,compile"/>
         <target name="clean">
            <delete dir="${classes.dir}"/>
        </target>
        <path id="classpath">
            <fileset dir="${lib.dir}" includes="**/*.jar"/>
        </path>
        <target name="compile">
            <mkdir dir="${classes.dir}"/>
         <javac srcdir="${src.dir}"
          destdir="${classes.dir}"
          deprecation="on"
          debug="on">
       <classpath><path refid="classpath"/></classpath>
      </javac>
         </target>
         <target name="run" depends="compile">
       <!-- run the class -->
       <java classname="${runclass}">
            <classpath>
              <pathelement path="${classpath}"/>
              <fileset dir="${lib.dir}">
                <include name="**/*.jar"/>
            </fileset>
              </classpath>
           </java>
      </target>
         </project>i invoked
    ant runand got this
    Buildfile: build.xml
    compile:
    run:
         [java] Could not find TestClient. Make sure you have it in your classpath
         [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
    .java:170)
         [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
         [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
         [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
         [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:275)
         [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
         [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
         [java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
         [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
    a:1216)
         [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         [java]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
    faultExecutor.java:40)
         [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1068
         [java]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
         [java]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
         [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
         [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    BUILD SUCCESSFUL
    Total time: 2 secondsso, code is not running......its dfinitely a classpath problem , because error message says "Could not find TestClient. Make sure you have it in your classpat".
    TestClient is the name of main class file.
    not sure whats wrong with this build.xml ? whats wrong in it ?
    one thing , i guess, i did not mention "." , current directory in the build.xml ......is it because of that ?
    i browsed apache manual......To Run a Java program.....first, they are making a JAR file ...and then they are executing the JAR.
    i really, dont need the JAR file......i just want to run it.....thats enough.
    somewhere, i have to do some modification in this buld.xml.......do you have any idea ?
    thank you

    TestClient folder has
    1)src
    2)classes
    3)build.xml
    i have posted the build.xml already.
    now, src folder has TestClient.java
    TestClient.java
    ==================
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    public class TestClient {
       public static void main(String [] args) {
         try {
           String endpoint =
               "http://ws.apache.org:5049/axis/services/echo";
           Service  service = new Service();
           Call     call    = (Call) service.createCall();
           call.setTargetEndpointAddress( new java.net.URL(endpoint) );
           call.setOperationName(new QName("http://soapinterop.org/","echoString"));
           String ret = (String) call.invoke( new Object[] { "Hello!" } );
           System.out.println("Sent 'Hello!', got '" + ret + "'");
         } catch (Exception e) {
           System.err.println(e.toString());
    }and i did
    ant runand i got those errors.
    clearly, its not able to run it.
    looked the manual....did not find anything special about java task....still not working.

  • Endpoint Protection Client not running run scheduled scan

    Hi,
    We are running SCCM 2012 R2 CU1 on our site system and clients, having upgraded from SCCM 2012 sp1 12 months ago.
    A few of our clients will not run a scheduled scan, even though it displays the Scan date and time in the client properties. 
    Someome did create a new EP policy and pointed the clients at it, but that didn't fix this problem.
    The AV engine and AV definitions are upto date and the real time monitor is running.
    In the SCCM console, Active Clients at Risk, the client has Endpoint Protection Enabled showing as Disabled, nothing in the Endpoint Protection Engine Version, nothing for Last Full Scan Start Time, Endpoint Protection Pending Full Scan - No.
    The MPLog-xxxx-xxx.log shows:
    Signature updated on 02-11-2015 05:57:13
    Product Version: 4.7.205.0
    Service Version: 4.7.205.0
    Engine Version: 1.1.11302.0
    AS Signature Version: 1.191.4588.0
    AV Signature Version: 1.191.4588.0
    2015-02-11T05:57:15.492Z IWscAVStatus::UpdateStatus() succceeded writing instance with state (1) and up-to-date state(1)
    2015-02-11T05:57:15.492Z IWscASStatus::UpdateStatus() succceeded writing instance with state (1) and up-to-date state(1)
    2015-02-11T05:57:40.982Z Process scan (postsignatureupdatescan) started.
    2015-02-11T05:57:50.420Z Process scan (postsignatureupdatescan) completed.
    2015-02-11T06:06:47.173Z AutoPurgeWorker triggered with dwWork=0x3
    2015-02-11T06:06:47.173Z Product supports installmode: 0
    2015-02-11T06:06:47.173Z Task(Scan -ScheduleJob -RestrictPrivileges) is scheduled to run in 604800000(ms) from now with period 21957080(ms)
    2015-02-11T06:06:47.173Z Task(SignatureUpdate -ScheduleJob -RestrictPrivileges) is scheduled to run in 28800000(ms) from now with period 28800000(ms)
    2015-02-11T06:06:47.173Z Task(Scan -ScheduleJob -RestrictPrivileges -ScanType 2) is scheduled to run in 86400000(ms) from now with period 70114864(ms)
    2015-02-11T06:06:47.844Z Detection State: Finished(0) Failed(0) CriticalFailed(0) Additional Actions(0)
    The EndpointProtectionAgent.log shows:
    Endpoint is triggered by message. EndpointProtectionAgent 11/02/2015 12:12:00 2692 (0x0A84)
    File C:\WINDOWS\ccmsetup\SCEPInstall.exe version is 4.5.216.0. EndpointProtectionAgent 11/02/2015 12:12:00 2692 (0x0A84)
    EP version 4.7.205.0 is already installed. EndpointProtectionAgent 11/02/2015 12:12:00 2692 (0x0A84)
    EP 4.7.205.0 is installed, version is higher than expected installer version 4.5.216.0. EndpointProtectionAgent 11/02/2015 12:12:00 2692 (0x0A84)
    Re-apply EP AM policy. EndpointProtectionAgent 11/02/2015 12:12:00 2692 (0x0A84)
    Apply AM Policy. EndpointProtectionAgent 11/02/2015 12:12:00 2692 (0x0A84)
    Create Process Command line: "c:\Program Files\Microsoft Security Client\\ConfigSecurityPolicy.exe" "C:\WINDOWS\CCM\EPAMPolicy.xml". EndpointProtectionAgent 11/02/2015 12:12:00 2692 (0x0A84)
    Applied the C:\WINDOWS\CCM\EPAMPolicy.xml with ConfigSecurityPolicy.exe successfully. EndpointProtectionAgent 11/02/2015 12:12:01 2692 (0x0A84)
    Save new policy state 1 to registry SOFTWARE\Microsoft\CCM\EPAgent\PolicyApplicationState EndpointProtectionAgent 11/02/2015 12:12:01 2692 (0x0A84)
    State 1 and ErrorCode 0 and ErrorMsg  and PolicyName Default Client Antimalware Policy
    SCEP Standard Desktop EP Policy and GroupResolveResultHash 5E75089B490B85DD66BBA85BC91E15A5EA853B9C is NOT changed. EndpointProtectionAgent 11/02/2015 12:12:01 2692 (0x0A84)
    Skip sending state message due to same state message already exists. EndpointProtectionAgent 11/02/2015 12:12:01 2692 (0x0A84)
    Firewall provider is installed. EndpointProtectionAgent 11/02/2015 12:12:01 2692 (0x0A84)
    Installed firewall provider meet the requirements. EndpointProtectionAgent 11/02/2015 12:12:01 2692 (0x0A84)
    Could anyone provide any pointers on why the scheduled scan wont work?
    Jaz

    Hi,
    Please verify if any GPO applied and overwrite the setting, you can check registry key:
    http://blogs.technet.com/b/mspfe/archive/2013/11/13/system-center-configuration-manager-2012-scep-policy-behavior.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Custom OIM java client not working

    Hi all,
    I am trying to execute a custom OIM java client in my server. The java file just has the code to connect to the OIM server and it is failing at the line
    ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    The basic content of the java file OIMTry.java is given below:
    env.put("java.security.auth.login.config", "/u01/apps/resetpwd/config/auth.conf");
    env.put("java.security.policy", "/u01/apps/resetpwd/config/xl.policy");
    env.put("XL.HomeDir", "/u01/apps/resetpwd");
    ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    env = config.getAllSettings();
    I have set the OIM related jar files in classpath in .bash_profile and able to echo the classpath as well.
    However, the file is executing perfectly in Eclipse tool but not from command prompt.The file is getting compiled properly at command prompt.
    I have tried various options of executing the java file as shown below.
    java -Djava.security.manager -DXL.HomeDir=/u01/apps/oim_server/xellerate -Djava.security.policy=/u01/apps/oim_server/xellerate/config/xl.policy -Djava.security.auth.login.config=/u01/apps/oim_server/xellerate/config/auth.conf -Djava.naming.provider.url=jnp://oim_server_host:12401/ OIMTry
    java -Dclasspath=/u01/apps/resetpwd/lib/xlUtils.jar:/u01/apps/resetpwd/lib/xlAPI.jar:/u01/apps/resetpwd/lib/xlCrypto.jar OIMTry
    The error we are getting is given below:
    Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: com.thortech.xl.util.config.ConfigurationClient
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at JvResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at OIMTry.main(java.lang.String[]) (Unknown Source)
    Caused by: java.lang.ClassNotFoundException: javax.crypto.Cipher not found in [file:/u01/apps/resetpwd/lib/activation.jar, file:/u01/apps/resetpwd/lib/ojdbc14.jar, file:/u01/apps/resetpwd/lib/XLCustomClient.ear, file:/u01/apps/resetpwd/lib/commons-beanutils.jar, file:/u01/apps/resetpwd/lib/oscache.jar, file:/u01/apps/resetpwd/lib/xlDataObjectBeans.jar, file:/u01/apps/resetpwd/lib/commons-collections.jar, file:/u01/apps/resetpwd/lib/sax.jar, file:/u01/apps/resetpwd/lib/xlDataObjects.jar, file:/u01/apps/resetpwd/lib/commons-dbcp-1.2.1.jar, file:/u01/apps/resetpwd/lib/wlXLSecurityProviders.jar, file:/u01/apps/resetpwd/lib/xlDDM.jar, file:/u01/apps/resetpwd/lib/commons-digester.jar, file:/u01/apps/resetpwd/lib/xalan.jar, file:/u01/apps/resetpwd/lib/xlGenConnector.jar, file:/u01/apps/resetpwd/lib/commons-logging.jar, file:/u01/apps/resetpwd/lib/XellerateClient.jar, file:/u01/apps/resetpwd/lib/xlGenericUtils.jar, file:/u01/apps/resetpwd/lib/commons-pool-1.2.jar, file:/u01/apps/resetpwd/lib/xercesImpl.jar, file:/u01/apps/resetpwd/lib/xliGCProviders.jar, file:/u01/apps/resetpwd/lib/commons-validator.jar, file:/u01/apps/resetpwd/lib/xerces.jar, file:/u01/apps/resetpwd/lib/xlInputPreprocessor.jar, file:/u01/apps/resetpwd/lib/crimson.jar, file:/u01/apps/resetpwd/lib/XIMDD.jar, file:/u01/apps/resetpwd/lib/xlInstaller.jar, file:/u01/apps/resetpwd/lib/csv.jar, file:/u01/apps/resetpwd/lib/XL10SecurityProviders.jar, file:/u01/apps/resetpwd/lib/xlLogger.jar, file:/u01/apps/resetpwd/lib/dom.jar, file:/u01/apps/resetpwd/lib/xlAdapterUtilities.jar, file:/u01/apps/resetpwd/lib/xlRemoteManager.jar, file:/u01/apps/resetpwd/lib/ejb.jar, file:/u01/apps/resetpwd/lib/xlAPI.jar, file:/u01/apps/resetpwd/lib/xlRequestPreview.jar, file:/u01/apps/resetpwd/lib/jakarta-oro-2.0.8.jar, file:/u01/apps/resetpwd/lib/xlAttestation.jar, file:/u01/apps/resetpwd/lib/xlSampleApp.jar, file:/u01/apps/resetpwd/lib/javagroups-all.jar, file:/u01/apps/resetpwd/lib/xlAuditor.jar, file:/u01/apps/resetpwd/lib/xlScheduler.jar, file:/u01/apps/resetpwd/lib/jaxp-api.jar, file:/u01/apps/resetpwd/lib/xlAuthentication.jar, file:/u01/apps/resetpwd/lib/xlUtils.jar, file:/u01/apps/resetpwd/lib/jhall.jar, file:/u01/apps/resetpwd/lib/xlBackOfficeBeans.jar, file:/u01/apps/resetpwd/lib/xlVO.jar, file:/u01/apps/resetpwd/lib/log4j-1.2.8.jar, file:/u01/apps/resetpwd/lib/xlBackofficeClient.jar, file:/u01/apps/resetpwd/lib/xlWebClient.jar, file:/u01/apps/resetpwd/lib/mail.jar, file:/u01/apps/resetpwd/lib/xlCache.jar, file:/u01/apps/resetpwd/lib/xlWSCustomClient.jar, file:/u01/apps/resetpwd/lib/oc4jclient.jar, file:/u01/apps/resetpwd/lib/xlCrypto.jar, file:/u01/apps/resetpwd/lib/xml-apis.jar, file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.type.compatible(_Jv_BytecodeVerifier.type&, JvBytecodeVerifier) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    ...3 more
    Please let me know if I have to set something else in the environment to get rid of this error.
    Thanks,
    Mahendra.

    Hi,
    We were unable to create tcUtilityFactory instance when the env variables are set using the hashmap.
    Instead it is working when we set using System.setProperty() as shown below:
    System.setProperty("XL.HomeDir", "/u01/apps/OIMPwdReset");
    System.setProperty("java.security.policy", "/u01/apps/OIMPwdReset/config/xl.policy");//server or client
    System.setProperty("java.security.auth.login.config", "/u01/apps/OIMPwdReset/config/auth.conf");//server or client
    Hope this helps other guys..
    -Mahendra.

  • Java is not running in Firefox, but runs in other browsers.

    I am trying to run java in my Firefox 3.6.13 browser.
    Java works perfectly in Internet Explorer, but I rather use fire fox.
    I have java installed, and it appears in my (about:plugins) page as all enabled.
    yet when I go to the java website to detect java, I end up watching the swirling bar go on forever and then it reports I have no java installed.
    Every page that uses java appears blank, the page loads around the java perfectly, but its just an empty space where anything java is.
    I made sure to check the control panel and make sure it is enabled for mozilla family as well as the next gen java is selected. unfortunatley no matter how many times I uninstall java/fire fox, and re install, Java will not work

    The ''' "Search" ''' box isn't going to do you any good, you need the '''Run''' box. There isn't a "file" in the Firefox Program Files folder that you can use to launch the Firefox SafeMode. ''Firefox 4.0 has a fix to get around this problem in Vista and Win7, so you won't have to activate the '''Run''' box.''
    See if this works in Windows 7: <br />
    http://blogs.msdn.com/b/tims/archive/2006/09/18/windows-vista-secret-3-bringing-back-start-run.aspx

  • CE 7.2 Java server not running

    Hi,
    We have installed CE 7.2 on a 32 bit Windows XP SP2 machine with 4GB of ram.
    According to the 7.2 download page this more than meets the 3GB recommended amount of ram but the server is still not running.
    The log for server0 is as follows:
    F  ********************************************************************************
    I  [Thr 3792] MtxInit: 10002 0 2
    I  [Thr 3792] MPI: dynamic quotas disabled.
    I  [Thr 3792] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    I  [Thr 3792] *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=84239 KB)
                   [shmnt0.c     2249]
    I  [Thr 3792] *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x000005D0) failed with Err=0
                   [shmnt0.c     2249]
    I  [Thr 3792] *** ERROR => ShmCreate: Attach (62,86260736,2) failed [shmnt0.c     426]
    I  [Thr 3792] *** ERROR => ShmCreate( ATTACH 62, 86260728) failed 1 [mpixx.c      1064]
    I  [Thr 3792] *** ERROR => FcaInit: MpiInit failed (rc=MPI_ERROR: General error(1)) [fcaxxcomm.c  928]
    I  [Thr 3792] *** ERROR => JfcaInit(): Native FCA layer broken: 1 ***unknown error occurred*** [sfxxjfca.c   5264]
    F  [Thr 3792] *** ERROR => SfCSapVm::initJniClasses: com.sap.bc.proj.jstartup.fca.FCAProperties::mInit() failed (rc = 1) [sfxxjvm.hpp  362]
    F  [Thr 3792] *** ERROR => SfEInternalError: JNI <b>class</b> init failed  [sfxxjvm.hpp  373]
    F  [Thr 3792] *** ERROR => Operation failed: SfEInternalError: JNI <b>class</b> init failed
    [sfxxmain.cpp 1171]

    F  ********************************************************************************
    F  *** ERROR =>
    F  ***
    F  *** Please see section 'Java VM shared library issues'
    F  *** in SAP Note 1316652 <b>for</b> additional information and trouble shooting advice.
    F  ********************************************************************************

    F  [Thr 3792] *** LOG => exiting (exitcode -21001, retcode 2).
    I have looked at the suggested SAP note 1316652 and couldn't find any relevant fixes.
    Any help would be appreciated.
    Thanks,
    Will

    Hi,
    Java version ?
    Configured Virtual Memory ?
    The Supported Operating system to run NW CE is 64 Bit OS. The installation of SAP NW CE is only supported on 64-bit platforms.
    For supported operating system and database releases, see its corresponding[ Product Availability Matrix for NW CE 7.2|http://service.sap.com/~form/handler?_EVENT=DISP_NEW&_APP=00200682500000001303&00200682500000002804=01200615320900001418]. SAP JVM 5.1 is recommended to use with SAP CE 7.2 on Windows Platform.
    You will face memory address space related issue in 32 bit Windows OS with more than 2 GB of physical memory. You can avoid this problem by switching to 64bit OS Platform.
    Please refer [SAP Note 129813 - Windows: Problems due to address space fragmentation|https://service.sap.com/sap/support/notes/129813] to get more information.
    In that SAP Note 129813, one alternative is mentioned to deal with this address related issue by activating 3GB feature in your existing Windows OS. Please refer Microsoft KB article [283037 |http://support.microsoft.com/kb/283037]and KB [268363|http://support.microsoft.com/kb/268363/*] for the same. You will have to edit your boot.ini file to append /PAE switch.
    Regards,
    Bhavik G. Shroff

  • QT/KDE Java does not run

    I decided to learn Qt Java and KDEJava. I found some demo code here but I can't get it to work.
    It compiles fine.
    $ javac -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow.java
    But does not run.
    $ java -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no qtjava in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at org.kde.qt.qtjava.initialize(qtjava.java:272)
    at org.kde.qt.qtjava.<clinit>(qtjava.java:283)
    at ScribbleWindow.<clinit>(ScribbleWindow.java:300)
    $
    Wiki says that
    ==> Kdebindings has been built with support for Java and GTK.
    ==> If you want to use these features use the following pacman commands:
    ==> 'pacman -S j2sdk'
    ==> 'pacman -S gtk'
    I have kdebindings and j2sdk installed. After searching the forum I'm not sure if Wiki is right. Is kdebindings compiled with java support or not? Am I supposed to install or recompile something to get it working?

    phrakture wrote:
    ummm, try it like this:
    $ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
    It gives different error:
    $ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
    Exception in thread "main" java.lang.NoClassDefFoundError: org/kde/qt/QWidget
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

  • Java Plugin not running on Mac OS X browsers

    Hi
    I have created an applet that runs on any browser on Windows, and runs only as an application on Mac OS X. But when I try to run it as an applet on Mac OS X, it does not run. I have installed the latest Java from apple, and changed the preferences to run 1.6 Java on the browsers.
    I get the following error:
    MRJ Plugin for Mac OS X v1.0.1
    [starting up Java Applet Security @ Tue Feb 03 11:34:26 EST 2009]
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@c7980c, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@36a1a1
    basic: Loading applet/u2026
    basic: Initializing applet/u2026
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@c7980c, refcount=2
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@c7980c, refcount=1
    basic: httpCompression = true
    network: Connecting http://192.168.2.50:8080/MCA_V3_1/Clientlib/lms-common.jar with proxy=DIRECT
    basic: Downloading http://192.168.2.50:8080/MCA_V3_1/Clientlib/lms-common.jar to cache
    basic: encoding = null for http://192.168.2.50:8080/MCA_V3_1/Clientlib/lms-common.jar
    basic: Cached file name: lms-common.jar-277a142b-79528a22.zip
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: User has granted the priviledges to the code for this session only
    security: Adding certificate in Deployment session certificate store
    security: Added certificate in Deployment session certificate store
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
         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 sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:605)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1864)
         at jep.AppletFramePanel.createApplet(AppletFramePanel.java:189)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
         at sun.applet.AppletPanel.run(AppletPanel.java:326)
         at jep.AppletFramePanel.run(AppletFramePanel.java:176)
         at java.lang.Thread.run(Thread.java:613)
    basic: Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
         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 sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:605)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1864)
         at jep.AppletFramePanel.createApplet(AppletFramePanel.java:189)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
         at sun.applet.AppletPanel.run(AppletPanel.java:326)
         at jep.AppletFramePanel.run(AppletFramePanel.java:176)
         at java.lang.Thread.run(Thread.java:613)
    Any ideas how I can fix this?
    Thanks,
    GK

    After doing some research, I still cannot fix this problem.
    I Build the applet on Mac OS X using netbeans 6.7.1, with Java 6 (64-bit, there is no Java 6 - 32 Bit on Mac OS X)
    When I run the applet on safari or firefox on Mac OS X, The console says running on Java 5. (Although the properties have been changed in Mac OS X /Utilities/Java Preferences)
    I have been struggling with no end in site, for this issue.
    I was able to get the Applet working by reverting to Java 5 and using the Java Swing jar from Java.net. But I still want to be able to just use Java 6 in Mac OS X. (I can't use the GUI Builder in netbeans with the separate swing jar).
    ANY HELP please.

  • HPCM sample batch client not working

    Hi,
    When trying to use the HPCM sample batch client I get the following error message:
    [http://pastie.org/private/q5johajzify7ng4pyztlw]
    I have copied the following files into the same directory:
    %EPM_ORACLE_HOME%/../user_projects/domains/EPMSystem/config/fmwconfig/jps-config.xml
    %EPM_ORACLE_HOME%/../user_projects/domains/EPMSystem/config/fmwconfig/wsm-keystore.jks
    %EPM_ORACLE_HOME%/../user_projects/domains/EPMSystem/config/fmwconfig/cwallet.sso
    I have edited my hpm_ws_client.properties files appropriately, as you can see here:
    [http://pastie.org/private/acq5ibvrbipxzd7daggwxw]
    The profitability service is running correctly, when I visit http://qubixepm:6756/profitability/ I get:
    Use Workspace to launch Hyperion Profitability Management.
    Josh.

    Hi,
    When trying to use the HPCM sample batch client I get the following error message:
    [http://pastie.org/private/q5johajzify7ng4pyztlw]
    I have copied the following files into the same directory:
    %EPM_ORACLE_HOME%/../user_projects/domains/EPMSystem/config/fmwconfig/jps-config.xml
    %EPM_ORACLE_HOME%/../user_projects/domains/EPMSystem/config/fmwconfig/wsm-keystore.jks
    %EPM_ORACLE_HOME%/../user_projects/domains/EPMSystem/config/fmwconfig/cwallet.sso
    I have edited my hpm_ws_client.properties files appropriately, as you can see here:
    [http://pastie.org/private/acq5ibvrbipxzd7daggwxw]
    The profitability service is running correctly, when I visit http://qubixepm:6756/profitability/ I get:
    Use Workspace to launch Hyperion Profitability Management.
    Josh.

Maybe you are looking for

  • Jabber for Windows - periodically tries to re-install and fails

    Jabber 9.1 CUCM 7.1.3 Windows 7 32 bit Cisco Presence   8.0.2.10000-30 Jabber for windows - periodically tries to re-install and fails. After install Jabber works for awhile but then when trying to open another program(Outlook, IE Explorer) it tries

  • Do I have to have a capture card to use FCP?

    I'm considering laying out the dough to upgrade from FCE to FCP but I noticed that the apple site says I have to have a "support 3rd partycapture card". I'll admit I'm green on what that means. I currently import all my video media directly from my s

  • Field separator problem in file

    Hi All, I have a req in content converion . I have 2 fields A and  B mapping is one to one only for this I have used fieldseparator =','                                  Endseparator='nl' My req is like this if only A is coming then comma should also

  • I cannot upload fotos from Photoshop Cs6 or Lightroom 5 to Wordpress

    I cannot upload fotos from Photoshop Cs6 or Lightroom 5 to Wordpress whatsoever. When I export with lightroom 4 trial, no problem. Social media marketing is an important part of my business as a photographer, so it is very important for me to make th

  • How to deliver 2-tier project with Project Builder?

    Hi all, I am playing around with Project Builder and try to deliver form with Delivery Wizard in 6i. However, I am unable to select the radio button where we ask Project Builder to create installation script. It is gray out. Am I missing something he