Configuring java

Please, can sombody guide me through installing and configuring java so that I can run it from DOS command line? I will appreciate it. I took java four about five years ago and I'm surprise how muh I have forgotten. Thanks in advance
John

Hi,
This is what I did:
Download latest jdk (mine is 1.5.0_06) with jre as well. I make the assumption here that you are Windows user. It should by default be stored on C:\Program Files\Java.
Next go to Control Panel-->System-->Advanced-->Environment Variables. In the bottom half of the screen there should be a value called "Path". Double-click on that and add the path to the jdk\bin directory (probably C:\Program Files\Java\jdk1.5.0_06\bin). Remember to add a semi-colon to the end of the path you're adding the new path to. Click Apply and you should be away.
Open up a DOS window and type javac. If it's not recognised then there has been an error somewhere.
HTH,
Chris

Similar Messages

  • How to configure java.security file to run j2ee programs

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

    Hi,
    I am using Sun one application server to run my j2ee programs.
    plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
    I am not able to follow whats there in java.security file.Kindly tell how to configure it.
    Waiting for ur replies!
    Thanks,
    Akshatha

  • How to configure Java Plug-In to use Firefox keystore

    Does any one know how to configure Java Plugin 1.5.0 to use the Firefox kesystore either in Windows or in Linux environments?
    I installed and configured 'JSS' based on the information available at http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/keystores .html.
    but still the plugin is not using the keys from Firefox keystore.
    I noticed the following messages in Java Console.
    security: Accessing keys and certificate in Mozilla user profile: null
    security: JSS is not configured
    Thanks

    I was having this same issue prior to installing the JSS on my machine.
    I did not compile my own version of the code, but rather I took the jss34.jar file and put it in a 'jss' directory.
    I also copied the jss3.dll and jss3.lib files into the directory where Firefox was installed.
    That was all I had to do to get JSS to work for Firefox 1.0.4 and Mozilla 1.7.8.
    If that still does not work for you, you always have the option to use the Java Plugin keystore instead of using the browser cache to authenticate certificates.
    You can do that by doing the following on the Java Control Panel:
    1. Click the 'Certificates' button on the Security tab
    2. Import the certificate as a 'User' certificate (Make sure you select the appropriate certificate type)
    3. Disable the 'Use certificates and keys in browser keystore' option under the 'Security' section of the 'Advanced' tab.
    I hope that helps.

  • How to configure Java Card 3 in eclipse ?

    How to configure Java Card 3 in eclipse ? I have already configured Java Card2.2.2 by following
    1) http://eclipse-jcde.sourceforge.net/user-guide.htm
    And
    2)http://eclipse-jcde.sourceforge.net/
    the above two links.B ut for Java Card 3 when i am configuring window->preference->Java Card Home I am getting error as "Converter.jar" not found. i checked the lib and i didnt found these jar. I copied 2.2.2 converter.jar , then that jar file not matching. So please tell me how to configure this.
    Thanks in advance
    Anoop Michael

    there are many changes between 2.2.2 and 3.0.1. Folders and files are not same. EclipseJCDE is not going to work with JCDk3.0.1. Some one needs to update that plugin :).
    There is a NetBeans plugin in progress and you can try downloading latest NetBeans 6.7.1
    Some intro about the plugin can be found here http://weblogs.java.net/blog/2009/05/10/sneak-preview-java-card-tools-netbeans-67
    You can try Netbeans 6.8 nightly builds for latest changes, but it may be a while until the plugin is stable.
    -Anki.N

  • SAP J2EE engine for configuring Java mail Service.

    Hi
    I am experiencing following exception when trying to use JAVA mail API.
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 554 <email@ddress>: Recipient address rejected:
    Relay access denied
    email address above is valid..
    I have to use SAP J2EE engine for configuring Java mail Service.
    But is does not hav any such access permissions to check....!!

    Relay access denied
    To send mails from SAP system through the mail server which you have configured, SAP server should be permitted to relay through the mailserver. Then only you will be able to send mail to external email address. Otherwise, you will get the above message.
    You must contact the mail server administrator and ask him to add the ip of SAP server into the allowed relay list.
    If you are using MS exchange server as your mail server and if you have administrative access to the Exchange box, you can do it yourself by following the below steps:
    1.Verify that your Exchange computer is not an open mail relay. To do this, follow these steps:
    a.      Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
    b.      In Exchange System Manager, expand the following object:
    Servers\Your_Exchange_Server_Name\Protocols\SMTP
    c.      Right-click the virtual SMTP server where you want to prevent mail relay, and then click Properties.
    d.      Click the Access tab, and then click Relay.
    e.      By default, open relay is blocked. The default settings are as follows:
    u2022     The Only the list below check box is selected.
    u2022     The Allow all computers which successfully authenticate to relay, regardless of the list above check box is selected.
    f.      If you must permit a single computer, a group of computers, or a domain to relay through the server, click Add. In the Computer dialog box, click the appropriate selection for the computers you want to relay through the server. Then, type the required information.
    Note Enabling access by IP address or by domain name is helpful for users who do not authenticate with the Exchange computer.
    g.      In the Relay Restrictions dialog box, click OK.
    h.      Click Apply, and then click OK in the Default SMTP Virtual Server Properties dialog box.
    hope this helps you out...
    Cheers,
    Jazz

  • How to configure java

    I'm using a smartcard to log in to a Citrix environment. I can configure Safari setting it to translate to IE 7, works okay. Want to use Google Chrome, seems faster, but I get a general authentication error when logging in through Citrix. For what I can follow, it appears Java may be blocking or Java is not configured properly. I downloaded Java 7, but it cause other errors (prevented me from loggin in to wireless network)- so I removed and returned to native Java loaded with Mountain Lion.

    Sorry, I forgot to include the question????
    How do I configure Java? I cannot find a Java console.

  • How to Install and Configure Java and Tomcat

    Hi Everybody,
    I am using the following versions of java and tomcat:
    JAVA: j2sdk-1_4_2_13
    Tomcat: jakarta-tomcat-5.0.5
    I tried to configure several times both but everytime the result is the same. I am setting the following variables:
    PATH: .;D:\j2sdk1.4.2_13\bin;D:\Tomcat 5.0\bin
    CLASSPATH: .;D:\j2sdk1.4.2_13\lib;D:\Tomcat 5.0\common\lib\servlet-api.jar
    JAVA_HOME: D:\j2sdk1.4.2_13
    Please correct what mistake i am doing again and again. I appreciate your effort.
    Thanks in advance.
    Himanshu

    Fine sir, I will tell evrything in detail what steps i am following during installation and configuring java and Tomcat.
    1) I am using the following versions(exe) of java and tomcat:
    JAVA: j2sdk-1_4_2_13-windows-i586-p
    Tomcat: jakarta-tomcat-5.0.5
    2) Then, i follow exactly the same variable names and values to configure java as mentioned below to make java work under User variables header:
    PATH: .;D:\j2sdk1.4.2_13\bin
    CLASSPATH: .;D:\j2sdk1.4.2_13\lib
    JAVA_HOME: D:\j2sdk1.4.2_13
    Above steps i follow only for installing java. And it also not working properly. If i run my .java file from the destination of the file then it will be execulted but if i try to execute from any other location then it doesn't, it shows the following message in the DOS prompt:
    error: cannot read: Hello.java
    1 error
    Now, please correct what mistake i am doing.
    Thanks
    Himanshu

  • How to configure JAVA webdynpro in ECC 5.0??

    Hello Friends,
    I just installed ECC 5.0. Is java webdynpro already installed with ECC 5.0?? If not how to install it?? if yes how to configure it?? And how to run java webdynpro?? help me please
    Thanks

    No, not required.
    You will need to maintain JCo destinations when you deal with your backend R/3 system from WD but as of now you don't need to configure anything.
    Just install and start creating your project in WD Java.
    Happy Learning
    Murtuza

  • Issues while configuring java application using JDO with MS JDBC Driver 1.0

    We are in the process of configuring our java application with the production version of SQL Server 2005 Java Database Connectivity (JDBC) Driver 1.0. We are facing issues getting it to work with Sun App Server using JDO concept.
    After creating the data store, adding the JDBC driver to the application server classpath through console and also copying the driver into the lib directory, we are still getting the below error.
    Following is the stack trace encountered while running the application
    [#|2006-02-15T10:21:25.493+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.entity.finder|_ThreadID=30;|JDO74010: Bean 'InventoryEJB' method ejbFindAllInventoryItems: problems running JDOQL query.
    com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
    NestedException: java.sql.SQLException: Error in allocating a connection. Cause: javax.transaction.SystemException
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.initializeSQLStoreManager(SQLPersistenceManagerFactory.java:870)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:786)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:673)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:849)
         at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:681)
         at com.sun.j2ee.blueprints.supplier.inventory.ejb.InventoryEJB1142755294_ConcreteImpl.jdoGetPersistenceManager(InventoryEJB1142755294_ConcreteImpl.java:530)
         at com.sun.j2ee.blueprints.supplier.inventory.ejb.InventoryEJB1142755294_ConcreteImpl.ejbFindAllInventoryItems(InventoryEJB1142755294_ConcreteImpl.java:146)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:147)
         at com.sun.ejb.containers.EJBLocalHomeInvocationHandler.invoke(EJBLocalHomeInvocationHandler.java:185)
         at $Proxy164.findAllInventoryItems(Unknown Source)
         at com.sun.j2ee.blueprints.supplier.inventory.web.DisplayInventoryBean.getInventory(Unknown Source)
         at org.apache.jsp.displayinventory_jsp._jspService(displayinventory_jsp.java:119)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
         at com.sun.j2ee.blueprints.supplier.inventory.web.RcvrRequestProcessor.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Can anyone help me on this issue?
    Regards,
    Bindu

    I have already tried this before and this not work too, but strange that even if I use JDBC:ODBC bridge driver, the return value for output parameters are not correct, that is, only return the value that I input but not the value after executed in the procedure....
    The code that I used with JDBC:ODBC bridge is as follow:
    public static void main(String[] args) {
    String url = "jdbc:odbc:;DRIVER=SQL Server;Persist Security Info=False;database=db;Server=sql;uid=sa;pwd=pwd";
              Connection con;
              ResultSet rs = null;
    CallableStatement callS = null;
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              } catch(java.lang.ClassNotFoundException e) {
                   System.err.print("ClassNotFoundException: ");
                   System.err.println(e.getMessage());
              try {
                   con=DriverManager.getConnection(url);
    callS = con.prepareCall("{ call dbo.CpJavaTest (?)}");
    callS.registerOutParameter(1, Types.INTEGER);
    callS.execute();
    rs=callS.getResultSet();
    int ret = callS.getInt(1);
    System.out.println("return value : " + ret);
                   while (rs.next()) {
                        String f1 = rs.getString(4);
                        String f2 = rs.getString(5);
                        System.out.println(f1 + " " + f2);
              } catch(SQLException ex) {
                   System.out.println("SQLException: " + ex.getMessage());
    The value of the output parameter is same as what I inputed! Hope any one can teach me how to correct it...
    Thank you very much!

  • How to use/configure JAVA beans file in Forms10g?

    Hi!
    I'm using Forms10g. I need to use few java beans file in my forms. How do i call it and configure it. So, that i can access all the features of this file in Forms.
    Regards.
    Satyaki De.

    Hello,
    Java Beans Integration
    http://forms.pjc.bean.over-blog.com/article-4018331.html
    Hope it helps,
    Jose.

  • Fail to Configure Java Security Module. JPS-10902:Enrollment Server Error.

    I am unable to configure my Java Security Module Client in Controlled Mode. Everytime, I attempt to run the config command, I get an JPS-10902:Enrollment Server Error.
    Note that, while I run the configure Client command, the OES Administration Server is running on the same machine listening at 7002 with the default username password "weblogic/welcome1" (tested to work as expected on the Server console).
    Any help on this issue is appreciated. Below are the values in the smconfig.prp file, the command at the console and the error message.
    Values in the smconfig.java.controlled.prp:
    ==========================
    oracle.security.jps.runtime.pd.client.policyDistributionMode=controlled-push
    oracle.security.jps.runtime.pd.client.RegistrationServerHost=localhost [I also tried using my hostname]
    oracle.security.jps.runtime.pd.client.RegistrationServerPort=7002
    oracle.security.jps.runtime.pd.client.sm_name=MySM_Java
    # >>>>>>>>>>>>OPTIONAL PARAMETERS<<<<<<<<<<<<<<<<<
    # ------------ Only for Java SM, WS SM, and RMI SM in controlled-push mode --------------------
    # port to listen for policy distribution. Picked automatically by SM config tool if not specified
    #Port value set by Premal. It a random number
    oracle.security.jps.runtime.pd.client.DistributionServicePort=
    oracle.security.jps.runtime.pd.client.sm_type=java
    The Config command issued at the console:
    ===========================
    C:\Oracle\Middleware\oes_client\oessm\bin>config.cmd -smConfigId MySM_Java -prpFileName C:\Oracle\Middleware\oes_client\oessm\SMConfigTool\smconfig.java.controlled.prp
    The resulting error message:
    ======================
    C:\Oracle\Middleware\oes_client\oessm\bin>config.cmd -smConfigId MySM_Java -prpFileName C:\Oracle\Middleware\oes_clien
    t\oessm\SMConfigTool\smconfig.java.controlled.prp
    Configuring for Controlled Policy Distribution Mode
    Security Module configuration is created at: C:\Oracle\MIDDLE~1\OES_CL~1\oes_sm_instances\MySM_Java_3
    Enter password for key stores:
    Enter password for key stores again:
    Passwords are saved in credential store.
    Keystores are initialized successfully.
    Please enter a value for OES Admin Server User name:weblogic
    Please enter a value for OES Admin Server Password:
    Please re-enter a value for OES Admin Server Password:
    oracle.security.jps.service.policystore.PolicyStoreException: JPS-10902: Enrollment server error.
    at oracle.security.oes.enroll.EnrollmentClient.readFromSocket(EnrollmentClient.java:236)
    at oracle.security.oes.enroll.EnrollmentClient.enroll(EnrollmentClient.java:166)
    at oracle.security.oes.enroll.EnrollmentClient.main(EnrollmentClient.java:491)
    at oracle.security.oes.tools.EnrollmentTool.doEnroll(EnrollmentTool.java:103)
    at oracle.security.oes.tools.SMConfigTool.doEnrollment(SMConfigTool.java:610)
    at oracle.security.oes.tools.SMConfigTool.run(SMConfigTool.java:381)
    at oracle.security.oes.tools.SMConfigTool.main(SMConfigTool.java:346)
    JPS-10902: Enrollment server error.
    Enrollment is not proceeded successfully.

    Hi,
    Perhaps oracle.oes.admin.enroll, oracle.oes.admin.psl.ssl are not successfully deployed to the admin server or both are not in active state.
    Please try to redeploy the oracle.oes.admin.enroll, oracle.oes.admin.psl.ssl to the admin server, and make sure these two are active state. Then the SM couls be configured without issues hopefully.
    Thanks,
    Cris

  • How to configure Java Properties File location in WLW

    How do we tell Workshop 7.0 where to look for Java properties files (loaded by
    PropertyResouceBundle in code) ?
    Thanks,
    Ray

    Ray,
    The build number indicates that you have not upgraded to Service Pack 2 of
    version 7.0. I will strongly recommend you to do so. That will shield you
    from the issues which were fixed in the 2 service packs.
    Regards,
    Anurag
    "Ray Yan" <[email protected]> wrote in message
    news:[email protected]...
    >
    Raj,
    We are using WebLogic Workshop Build 7.0.1.0.0829.0 on Windows 2000.
    We shut down the WebLogic Server on Solaris 2.6, log off, log back on,startWebLogic
    in production nodebug mode, and re-run jwsCompile on the same source code.The
    error does not occur anymore. Everything seems to be fine now.
    Thanks,
    Ray
    "Raj Alagumalai" <[email protected]> wrote:
    Hello Ray,
    Can you let me know if you are using the GA version of WebLogic Workshop
    or
    if you have the latest Service Pack.
    Thank You,
    Raj Alagumalai
    WebLogic Workshop Support
    "Ray Yan" <[email protected]> wrote in message
    news:[email protected]...
    Anurag:
    Thanks for your response!
    By moving the property files to WEB-INF/classes from WEB-INF, we arealmost there.
    But we have a follow up problem. We use a static initializer to loadthe
    log4j
    property file like this:
    static {
    try {
    ClassLoader cl= (new Log()).getClass().getClassLoader();
    InputStream is = cl.getResourceAsStream(logfile);
    Properties props = new Properties();
    props.load(is);
    PropertyConfigurator.configure(props);
    } catch (Exception e) {
    e.printStackTrace();
    When we run jwsCompile, we keep getting this:
    Compiling: com/****/TestWS.jws
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[weblogic.management.Admin
    may only be used on the Server ]
    at weblogic.management.Admin.getInstance(Admin.java:104)
    at
    weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrin
    cipalValidatorImpl.java:79)
    at
    weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipal
    ValidatorImpl.java:59)
    at
    weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(Privileg
    edActions.java:70)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    weblogic.security.service.SecurityServiceManager.createServerID(SecurityServ
    iceManager.java:1826)
    at
    weblogic.security.service.SecurityServiceManager.getServerID(SecurityService
    Manager.java:1839)
    at
    weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServic
    eManager.java:538)
    at
    weblogic.security.service.SecurityServiceManager.getCurrentSubjectForWire(Se
    curityServiceManager.java:1737)
    at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:434)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
    88)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :255)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :230)
    at
    weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
    Source)
    atweblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
    atweblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
    at javax.naming.InitialContext.lookup(InitialContext.java:345)
    at weblogic.knex.bean.EJBGenerator$1.run(EJBGenerator.java:101)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    atweblogic.knex.bean.EJBGenerator.lookupAdminHome(EJBGenerator.java:84)
    atweblogic.knex.bean.EJBGenerator.ensureAdminHome(EJBGenerator.java:122)
    at weblogic.knex.bean.EJBGenerator$6.run(EJBGenerator.java:660)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:821)
    atweblogic.knex.bean.EJBGenerator.generateJar(EJBGenerator.java:482)
    at
    weblogic.knex.dispatcher.DispJar.generateJar(DispJar.java:401)
    atweblogic.knex.dispatcher.DispCache.ensureDispUnit(DispCache.java:695)
    atweblogic.knex.compiler.JwsCompile.compileJws(JwsCompile.java:872)
    at
    weblogic.knex.compiler.JwsCompile.compile(JwsCompile.java:619)
    at weblogic.knex.compiler.JwsCompile.main(JwsCompile.java:109)
    ejbc successful.
    Generating EAR ...
    The EAR was generated and we can even deploy it on Solaris. But whatdoes
    the
    AssertionError mean?
    Thanks,
    Ray
    "Anurag Pareek" <[email protected]> wrote:
    Ray,
    ResourceBundle looks for the properties file in the current thread's
    classpath.
    Since a Workshop webservice's project is nothing but a webapp, the
    properties files can be kept in the WEB-INF/classes directory, which
    is part
    of the webapp classpath.
    You can also use
    Thread.currentThread().getContextClassLoader().getResourceAsStream("MyProp
    s
    properties"); to get access to the properties file.
    Thanks,
    Anurag
    "Ray Yan" <[email protected]> wrote in message
    news:[email protected]...
    How do we tell Workshop 7.0 where to look for Java properties files(loaded by
    PropertyResouceBundle in code) ?
    Thanks,
    Ray

  • Giving error for NearCache Configuration-java.lang.IllegalArgumentException

    Hi,
    I tried to use near cache topology but it is giving the below error(I am unable to masp the near cache)
    java.lang.IllegalArgumentException: Unresolved reference to scheme:
    example-local
    at com.tangosol.net.DefaultConfigurableCacheFactory.resolveScheme(DefaultConfigurableCacheFactory.java:840)
    at com.tangosol.net.DefaultConfigurableCacheFactory.resolveScheme(DefaultConfigurableCacheFactory.java:893)
    at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:130
    6)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:294)
    at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
    at com.tangosol.coherence.component.application.console.Coherence.doCache(Coherence.CDB:18)
    at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.CDB:209)
    at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:37)
    at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.tangosol.net.CacheFactory.main(CacheFactory.java:827)
    I given the below configuration in the cache server side....
    <caching-scheme-mapping>
         <cache-mapping>
    <cache-name>NearCache</cache-name>
    <scheme-name>example-near</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <near-scheme>
         <scheme-name>example-near</scheme-name>
         <front-scheme>
         <local-scheme>
         <scheme-ref>example-local</scheme-ref>
         </local-scheme>
         </front-scheme>
    <back-scheme>
         <remote-cache-scheme>
         <scheme-ref>example-remote</scheme-ref>
         </remote-cache-scheme>
    </back-scheme>
    </near-scheme>
    <remote-cache-scheme>
    <scheme-name>example-remote</scheme-name>
    <service-name>ExtendTcpCacheService</service-name>
    <initiator-config>
    <tcp-initiator>
    <remote-addresses>
    <socket-address>
    <address>localhost</address>
    <port>9099</port>
    </socket-address>
    </remote-addresses>
    </tcp-initiator>
    <outgoing-message-handler>
    <request-timeout>30s</request-timeout>
    </outgoing-message-handler>
    </initiator-config>
    </remote-cache-scheme>
    </caching-schemes>
    PLease provide the configurastion for the nearcache topology....
    Thank you.

    You are missing the example-local
    <local-scheme>
    <scheme-ref>example-local</scheme-ref>
    </local-scheme>
    for example,
    <local-scheme>
          <scheme-name>example-local</scheme-name>
          <eviction-policy>HYBRID</eviction-policy>
          <high-units>{back-size-limit 0}</high-units>
          <unit-calculator>BINARY</unit-calculator>
          <expiry-delay>{back-expiry 1h}</expiry-delay>
    </local-scheme>Examples can be found in the coherence.jar that contains coherence-cache-config.xml

  • How to configure Java Plug-In in Mozilla 1.4 and Netscape 7 on Red Hat 9?

    How to configure the java plug-in (Java 2 v1.4.2) to work on Mozilla 1.4 and Netscape 7 on Red Hat 9?
    Thanks in advance.

    I have redhat 9 and mozilla 1.2. Installed java sdk 1.4.2 which comes with JRE 1.4.2. Had no problems/errors while installing. The about plugin page doesnot indicate that the plugin is installed. and i get the pop-up saying application/x-java-vm is not available while browsing. Any help here please ??
    Thanks

  • CBS error after configuring java 1.5 for CE builds

    Hi,
    I have some trouble with building my old projects on the CBS when I try to configure the CBS so that it can build java 1.5 applications. The guide I did use to configure the CBS was the "Setup_an_NWDI_Track_for_Composition_Environment_Developments.pdf".
    There were only two things to do to change the CBS service:
    I changed the following things in the Visual Administrator:
    the 'BUILD_TOOL_JDK_HOME' from C:\j2sdk1.4.2_14-x64 to 'C:\jdk1.5.0_17-x64'
    the 'JDK_HOME_PATH' from 'JDK1.3.1_HOME=C:\j2sdk1.4.2_14-x64;'
    to 'JDK1.3.1_HOME=C:\j2sdk1.4.2_14-x64;default=C:\j2sdk1.4.2_14-x64;JDK1.5.0_HOME=C:\jdk1.5.0_17-x64'
    after that I get the following error message when I try to build an old project:
    Change request state from PROCESSING to FAILED
    Error! The following problem(s) occurred during request processing:
    Error! The following error occurred during request processing:An I/O error occurred on attempt to start an external process to perform the build. The arguments used the start the process are as follows:
    Maybe someone had the same experience?
    regards
    Carsten

    Hi,
    I have some trouble with building my old projects on the CBS when I try to configure the CBS so that it can build java 1.5 applications. The guide I did use to configure the CBS was the "Setup_an_NWDI_Track_for_Composition_Environment_Developments.pdf".
    There were only two things to do to change the CBS service:
    I changed the following things in the Visual Administrator:
    the 'BUILD_TOOL_JDK_HOME' from C:\j2sdk1.4.2_14-x64 to 'C:\jdk1.5.0_17-x64'
    the 'JDK_HOME_PATH' from 'JDK1.3.1_HOME=C:\j2sdk1.4.2_14-x64;'
    to 'JDK1.3.1_HOME=C:\j2sdk1.4.2_14-x64;default=C:\j2sdk1.4.2_14-x64;JDK1.5.0_HOME=C:\jdk1.5.0_17-x64'
    after that I get the following error message when I try to build an old project:
    Change request state from PROCESSING to FAILED
    Error! The following problem(s) occurred during request processing:
    Error! The following error occurred during request processing:An I/O error occurred on attempt to start an external process to perform the build. The arguments used the start the process are as follows:
    Maybe someone had the same experience?
    regards
    Carsten

Maybe you are looking for

  • Safari quit unexpectedly while using the SystemConfiguration plug-in

    Hi everyone, When I try to launch Safari, I get this message: Safari quit unexpectedly while using the SystemConfiguration plug-in. Any idea how to solve this problem? Thanks so much! Below is all relevant information: Process:         Safari [5745]

  • Using EyeTV 2 EZ to connect my PS2 to my iMac

    Hello, all... Is there anyone that could tell me what cable I need to buy to connect my PS2 to the EyeTV box I have on my iMac? I've seen several posts stating it does well with this EyeTV model. Unfortunately, I can't seem to find a working website

  • Early upgrade, (Switching from unlimited to capped data?) 4g LTE

    Okay so I originally had a Droid 3 on the unlimited data plan, (blackberry tour before that).  I was grandfathered into the unlimited data plan, my Droid 3 was having the same issues everyone else's had so I got rid of it and switched to an HTC Thund

  • Individual update for an iBook purchase not allowing update

    I recently purchased an iBook (Wheelmen) on my iPad using iBooks in iOS 7.1 and shortly after Ian update to the book came out. I downloaded the update and now a second update has shown up in my purchased section of my books account. I tried downloadi

  • Convert selection for ipod?

    When I right click a video file in my library, "convert selection does not show up". It just says "Convert selection to AAC" (which is my importing file-type.) How do I get it to say "convert selection for ipod"??