Not able to start the remote server - class not found exception

All,
I am quite new to RMI programming, although i am an experienced java programmer. I am facing a problem in starting the remote server program which i wrote for RMI. I am getting class not found exception for "stub" class eventhough the class is in the classpath.
Following is the error console:
cmd> java -classpath "D:\Eclipse_WorkSpaces\WS2\RMITests\classes" MyServerImplementation
GetNames error: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at MyServerImplementation.main(MyServerImplementation.java:21)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: MyServerImplementation_Stub
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: MyServerImplementation_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:434)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
... 12 morePLEASE ADVISE HOW TO RESOLVE THIS...
Following are my classes:
MyRemoteInterface.java
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface MyRemoteInterface extends Remote {
public String[] getNames() throws RemoteException;
public class MyServerImplementation extends UnicastRemoteObject implements
MyRemoteInterface {
public MyServerImplementation()throws RemoteException{
super();
public String[] getNames() throws RemoteException{
return new String[]{"Name1","Name2","Name3","Name4"};
public static void main(String args[]) {
try {
// Create an object of the HelloWorldServer class.
MyRemoteInterface obj = new MyServerImplementation();
// Bind this object instance to the name "HelloServer".
Naming.rebind("rmi://localhost:1985/GetNames", obj);
System.out.println("GetNames bound in registry");
catch (Exception e) {
System.out.println("GetNames error: " + e.getMessage());
e.printStackTrace();
public class MyRMIClient {
*@param args*
public static void main(String[] args) {
try {
MyRemoteInterface remObj = (MyRemoteInterface) Naming.lookup("rmi://localhost:1985/GetNames");
System.out.println("Names are "+remObj.getNames());
catch(Exception e) {
System.out.println("Problem encountered accessing remote object "+e);
}

That's a remote exception coming from the registry. You need to learn to recognize remote exceptions and their source, it's a mjaor source of confusion in RMI.
In this case it's the registry that can't find the stub class.
The stub class needs to be in the CLASSPATH of (i) the Registry and (ii) the client as well. Ditto the remote interface; ditto any application classes it refers to, and so on until closure.
The easiest way to achieve (i) is to start it in the server's JVM, with LocateRegistry.createRegistry().

Similar Messages

  • Not able to start the weblogic server ....

    Hi All,
    I am using JDeveloper  11.1.1.6 .
    I am not able to start the weblogic server .I am getting below Exception .I am not sure where I  need to check,,
    Error at line:2333 col:31  '' expected a valid beginning name character
    at weblogic.xml.babel.scanner.Name.read(Name.java:33)
        at weblogic.xml.babel.scanner.Name.read(Name.java:20)
        at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
        at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
        at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
        at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
        at weblogic.xml.babel.baseparser.Space.parse(Space.java:19)
        at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:474)
        at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
        at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
        at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunctionParameters(StaxPolicyStoreParser.java:2207)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunction(StaxPolicyStoreParser.java:2135)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processFunctions(StaxPolicyStoreParser.java:2072)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processAppPolicy(StaxPolicyStoreParser.java:796)
        at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processPolicyStore(StaxPolicyStoreParser.java:521)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntryStax(XmlDataStoreParser.java:120)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:180)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:187)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.loadXmlDataStore(XmlDataStore.java:411)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.<init>(XmlDataStore.java:276)
        at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.getInstance(XmlDataStore.java:209)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFromFile(XmlPolicyStore.java:492)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.<init>(XmlPolicyStore.java:276)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:100)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:74)
        at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
        at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
        at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
        at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
        at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)
        at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2827)
        at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2821)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2821)
        at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097)
        at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
        at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
        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:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1339)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
        at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
        at weblogic.security.SecurityService.start(SecurityService.java:141)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Jul 19, 2013 11:11:09 AM IST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: Cannot read from policy store. Reason is PolicyStore Error, javax.xml.stream.XMLStreamException: Error at line:2333 col:31  '
    Thanks ...

    hi user,
    did you check this.
    diehn.net/blog &amp;raquo; Blog Archive &amp;raquo; Weblogic AdminServer refused to start &amp;#8211; truncated syste…

  • Not able to start Integrated Weblogic server

    Hi All,
    I have installed Jdeveloper & Weblogic server in my system. I am able to deploy my SOA peojects in em console. But when i try to run a JSF project , it is throwing an error message like not able to start Integrated Weblogic Server. And Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt. I dont have my middleware in D:\OracleOSB\Middleware, But i have created the Middleware home in D:\Oracle\Middleware.
    I reinstalled SOA sutie, Jdeveloper & Weblogic server but stilll then i am getting the same error when i try to start Integrated Weblogic server. Please find below the error message:
    *** Using port 7101 ***
    C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    The system cannot find the path specified.
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;D:\OracleOSB\Middleware\wlserver_10.3\server\lib\xqrl.jar
    PATH=D:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\OracleOSB\Middleware\wlserver_10.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -da -Dplatform.home=D:\OracleOSB\Middleware\wlserver_10.3 -Dwls.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Dweblogic.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\OracleOSB\Middleware\oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\OracleOSB\Middleware\oracle_common\modules\oracle.ossoiap_11.1.1,D:\OracleOSB\Middleware\oracle_common\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
    [WARN ] Use of -Djrockit.optfile is deprecated and discouraged.
    [ERROR][cgdir  ] Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt: Could not open D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: weblogic.Server. Program will exit.
    Process exited.
    Can anyone help me to overcome this issue.
    thanks in advance.

    Try checking the "C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd" startup file. It seems containing old references to D:\OracleOSB instead of D:\Oracle ...

  • Not able to start the listener in oracle 10g  after the domain name changed

    Hi
    I had installed the oracle 10g on zLinux. It was working fine( was able to mount the database and start the listener). Now my server's domain name got changed. So i have added the new domain name in the tnsnames.ora and listeners.ora file . now i could able to mount the databases but am not able to start the listener . whille starting the listener , am getting the following error
    oracle@ptcr4d00:~> lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 05-AUG-2009 10:31:05
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /opt/oracle/10g/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.2.0 - Production
    System parameter file is /opt/oracle/10g/network/admin/listener.ora
    Log messages written to /opt/oracle/10g/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PTCR4D00)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 104: Connection reset by peer
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PTCR4D00)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    I have posted the contents of the tnsnames.ora and listeners.ora
    TNSNAMES.ORA
    TC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TC)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    LISTENERS.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/10g)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = PTCR4D00)(PORT = 1521))
    Could you please help me to resolve this issue ?
    Regards
    Mani

    Hi
    Please find the content of the /etc/hosts below
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #127.0.0.1 localhost
    9.124.114.49 PTCR4D00
    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback
    fe00::0 ipv6-localnet
    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    9.124.114.49 PTCR4D00 PTCR4D00
    Regards
    Mani

  • Not able to start the Sun Java System Access Manager 7 Console

    Hi All,
    I have successfully installed the Sun Java System Portal Server 7 on RHEL 4.0.The problem I am facing is not able to start the Sun Java System Access Manager 7 Console while accessing the URL: http://fqdn:8080/amconsole
    As soon as I try to access this URL it gives me following Excepiton:::::::
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    com.iplanet.jato.NavigationException: Exception encountered during forward
    Root cause = [java.lang.NullPointerException]
         com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:386)
         com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:267)
         com.iplanet.am.console.base.ConsoleServletBase.onUncaughtException(ConsoleServletBase.java:338)
         com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1023)
         com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:469)
         com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
         com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:294)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    If anyone have any idea about the cause of this error,please let me know.All suggestions are welcome .
    Thanx and Regards,
    Chirag.

    Hi All,
    I am having exactly the same problem with the same stack trace. Has anybody have an idea how to fix this?
    I have downloaded the Java Identity Management Suite.(java_es-5-identsuite-ga-windows-x86.zip) The first time installation was fine and I was able to bring the Access Manager console. I was able to create users groups etc.
    However, when I uninstalled and installed it again, I got exactly the same error described in the thread. Running "amserver start" and "amserver restart" did not help. I did the installation one more time
    but again I got the same error.
    Thanks for the help.
    celikkan

  • Not able to Start the oracle db error "ORA-01031: insufficient privileges"

    Hi experts,
    I have oracle 11g setup on so solaris. i changed the db_cache_size
    & processes values and stopped the DB services after that i am not able to start the oracle DB. Listener is running.
    when i start the db server its giving the below error(startup.log)
    ./dbstart: Starting up database "orcl"
    Mon Sep 27 04:31:08 MDT 2010
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 27 04:31:08 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    SQL> ERROR:
    ORA-01031: insufficient privileges
    SQL> ORA-01031: insufficient privileges
    SQL>
    ./dbstart: Database instance "orcl" warm started.
    Please help me to ressolve this issue.
    Thanks
    Krishna

    yes, password file is there in /etc/passwd
    here are the contents:
    root:x:0:0:Super-User:/:/sbin/sh
    lroot:x:0:0:Super-User:/:/sbin/sh
    daemon:x:1:1::/:
    bin:x:2:2::/usr/bin:/bin/false
    sys:x:3:3::/:
    adm:x:4:4:Admin:/var/adm:/bin/false
    lp:x:71:8:Line Printer Admin:/usr/spool/lp:/bin/false
    uucp:x:5:5:uucp Admin:/usr/lib/uucp:/bin/false
    nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
    listen:x:37:4:Network Admin:/usr/net/nls:/bin/false
    nobody:x:60001:60001:Nobody:/:/bin/false
    noaccess:x:60002:60002:No Access User:/:/bin/false
    nobody4:x:65534:65534:SunOS 4.x Nobody:/:/bin/false
    itunix:x:50000:14:IT Unix Account:/export/home/itunix:/bin/csh
    hharika:x:765:38:Harpal Harika:/export/home/hharika:/bin/csh
    prsingh:x:795:38:Pradeep Singh:/export/home/prsingh:/bin/csh
    mmir:x:1229:21:Mir Monis Ali:/export/home/mmir:/bin/csh
    bogunnai:x:1207:21:Bose Ogunnaike:/export/home/bogunnai:/bin/ksh
    mpokala:x:2117:21:Mahesh Pokala:/export/home/mpokala:/bin/ksh
    apopov:x:2385:38:Anton Popov:/export/home/apopov:/bin/csh
    kkeith:x:2629:227:Kevin Keith:/home/kkeith:/usr/bin/ksh
    sshd:x:22:22:SSH Privsep:/var/empty:/bin/false
    patrol:x:2784:10:Patrol User:/opt/bmc:/usr/bin/ksh
    smmsp:x:25:25:Sendmail Submission user:/none:/bin/false
    ldap:x:50001:1002::/export/home/ldap:/bin/sh
    perfuser:x:884:268::/export/home/perfuser:/bin/csh
    webservd:x:80:80::/home/webservd:/bin/pfsh
    oracle:x:156:40:Oracle Software Owner:/export/home/oracle:/bin/bash
    perfuser_idc:x:64383:1::/home/perfuser_idc:/bin/sh
    idc_perf:x:64384:292::/home/idc_perf:/bin/sh

  • NOt able to start the listener..

    After Indtalling oracle 11g .. i am not able to start the listener
    dbstart $ORACLE_HOME
    lsnrctl start
    ORACLE_SID=orcl
    export ORACLE_SID
    lsnrctl start
    [oracle@test1 bin]$ lsnrctl start
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 27-DEC-2012 15:35:36
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    System parameter file is /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 27-DEC-2012 15:35:37
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
    **The listener supports no services**The command completed successfully
    tried all posibalaties as here
    Oracle 11g Listener Supports No services
    Please help me beacuse of which my work is struck for whole day

    [oracle@test1 bin]$ ps -ef|grep tns
    oracle 13498 11176 0 16:41 pts/5 00:00:00 grep tns
    [oracle@test1 bin]$
    [oracle@test1 bin]$ lsnrctl start
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 27-DEC-2012 16:41:08
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    System parameter file is /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 27-DEC-2012 16:41:10
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/test1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.com)(PORT=1521)))
    The listener supports no services+The command completed successfully
    [oracle@test1 bin]$
    [oracle@test1 bin]$ echo $ORACLE_SID
    orcl
    [oracle@test1 bin]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.1.0/db_1
    [oracle@test1 bin]$
    [oracle@test1 bin]$

  • We've encountered the following issues: The remote server is not responding in a proper manner

    I have never downloaded Adobe Creative Cloud/Suite/Photoshop basically anything for myself before and have just bought the Creative suite (£15.88/month) and am trying to install it to my computer (Windows 8). I have downloaded the Creative Cloud Set-Up but am unable to get any further than this. When I click on the download, it looks like it is going to download (Adobe Installer, Downloading Creative Cloud desktop and a loading bar) but then it tells me it has encountered the following issues: The remote server is not responding in a proper manner.
    Now, I have been looking online for a solution and I saw something about changing an OOBE file in Program Files x86>Common Files>Adobe and at first there was no OOBE file so after more looking I thought I might have to download the Adobe Application Manager, which I did, but that doesn't work either, it just says unable to Reach Adobe servers, check internet connectivity (don't think there is anything wrong with this, I've not had any ther problems with internet connectivity) and firewall settings (i disabled the firewalls).
    So I really have no idea what to do, the forums and help sites are confusing and none of the suggestions appear to work?!
    Please help!
    Thanks in advance!

    HI Jneilon,
    Try folowing the kb article : Error "Remote server is not responding" | Install and confirm if its working fine or not .
    If you are behind a corporate network with network restrictions ? If yes, You might want to connect with your IT department and request them to white list the entries for Adobe as mentioned in the article : Creative Cloud Help | About Creative Cloud Packager
    Site/Port information used by Creative Cloud Packager
    The following host/port combinations may need to be whitelisted when logging in with an Adobe ID to download, install, and package applications using the Creative Cloud Packager.
    Address
    Ports
    ccmdls.adobe.com
    443
    ims-na1.adobelogin.com
    80
    443
    ims-prod06.adobelogin.com
    443
    na1r.services.adobe.com
    80
    443
    prod-rel-ffc-ccm.oobesaas.adobe.com
    443
    prod-rel-ffc.oobesaas.adobe.com
    443
    lm.licenses.adobe.com
    80
    443
    ccmdl.adobe.com
    80
    swupmf.adobe.com
    80
    swupdl.adobe.com
    80
    Cheers,
    Kartikay Sharma

  • HELP!!!   Dreamweaver could not connect you to the remote server"

    Hi all,
    I have been struck by what seems a common problem with
    Dreamweaver/Contribute.
    I get this message when trying to “Enable Contribute
    compatibility” in Dreamweaver:
    “Dreamweaver could not connect you to the remote
    server. You cannot perform Contribute administration tasks without
    a connection to a remote server. Please fix the remote connection
    before continuing.”
    I have read that DW will try to write and delete a file to
    confirm the connection… When I look at the FTP log of DW, it
    confirms that the Temp file has been written and deleted.
    So, it has in fact connected to the remote server...!
    Things I have done to try to eliminate errors includes:
    • Ensure Contribute is not open on the PC.
    • Contacted my ISP to ensure that “/” is
    the “Host directory”
    • Modified the URL in each of the tabs listed below
     Including the Base web address
    Below are the settings I have selected in the Site definition
    window:
    Local info:
    Local root folder: v\website\
    Links relative to Document:
    Http address:
    http://www.website.com
    Remote Info:
    Access FTP
    FTP Host www.website.com
    Host directory /
    Contribute:
    Rollback enabled: Currently off
    CPS enable Currently off
    Site URL:
    http://www.website.com
    I have spoken to my ISP: www.webcentral.com.au
    • They have confirmed that Contribute is used on their
    products by other users.
    • They also stated that they sell Sharepoint as their
    CMS option
    What other things can I try to eliminate this problem?

    Hi,
    Can you please try adding the DNS in your machine where DW
    is running?
    Steps to add:
    1) In the Network Connections, right click Local Area
    Connection.
    2) Select Properties.
    3) Select Internet Protocal (TCP/IP) and click Properties
    button.
    4) Select the radio button Use the following DNS server
    addresses and provide your preferred DNS and Alternate DNS server
    addresses.
    5) Click Advanced button and select DNS tab in the Advanced
    PCT/IP setting dialog.
    6) Select the radio button "Append these DNS suffixes (in
    Order)" and add the values and also add DNS suffix for this
    connection.
    7) Click ok and close all the dialogs.
    Hope this helps.

  • HT1937 my iphone could not be activated because the activation server could not be rached. how can i solve this problem?

    my iphone could not be activated because the activation server could not be rached. how can i solve this problem?

    Make sure the wifi you're connecting to has a strong connection. Also, it has to be set up with basic security, meaning you can't activate your phone using wifi that needs you to access Safari to sign in.
    You can also always use iTunes on your computer (with a strong Internet connection) to do this as well.

  • I've had a 4s for two years and today when i turned it on it told me my phone could not be activated becasue the activation server could not be reached.  what should i do?  i'm lost.

    i've had a 4s for two years and today when i turned it on it told me my phone could not be activated becasue the activation server could not be reached.  what should i do?  i'm lost.

    i do not know what this means.  I purchased the phone brand new two years ago and have never had any problems with it.  The message i am getting reads:
    "your iphone could not be activated because the activation server cannot be reached.  try connecting your iphone to itunes (which i don't have) to activate it, or try again over cellular connection in a couple minutes. (which i have tried several times with no success)  you can also try to activate using wi-fi connection (which i do not have).  if this problem persists, contact apple support at apple.com/support."

  • "Your iPhone could not be activated because the activation server could not be reached"

    It won't let me set up my phone due to the wifi- it keeps coming up with "Your iPhone could not be activated because the activation server could not be reached". The wifi is definitely working- I'm using it now! However, after you have entered the password for this wifi you do have to enter details into a portal but this hasn't popped up so I can't do it.  This is the wifi I have, any ideas? Thank you in advance

    3 possible causes for this message:
    1] activation server is actually down. Extremely rare occurrence and of very short duration
    if it happens.
    2] iPhone is jailbroken or hacked.
    3] computer the iPhone is hooked to has been used to jailbreak or hack iOS devices.
    For 1], try again. Try different wifi at friend's, school, public place like Starbucks or McDonalds.
    For 2] & 3], you are on your own. Google may provide some insight. Terms of Use for this
    forum prohibit discussion of hacked and jailbroken devices.

  • Iam using iphone 5s frequently problem is "your i phone couls not be activated because the activation server can not be reached. connect to wifi or i tunes to activate.

    iam using iphone 5s frequently problem is "your i phone couls not be activated because the activation server can not be reached. connect to wifi or i tunes to activate.

    Hi HT201407,
    Welcome to the Apple Support Communities!
    I know it can be frustrating when your iPhone does not activate the way you would expect. In this situation there are some great troubleshooting steps I would recommend. Please use the attached article as a troubleshooting reference.
    Get help activating your iPhone - Apple Support
    Cheers,
    Joe

  • I am not able to start the server

    Hi all,
    This looks like straight forward but.. even after changing the port at http-web-site.xml i am not able to start. Could you please help me out in this..
    C:\10g\oas\j2ee\home>java -jar oc4j.jar
    10/04/20 03:02:26 Error starting HTTP-Server: Address already in use: JVM_Bind
    10/04/20 03:02:26 Unable to register the NameService:
    10/04/20 03:02:26 Error starting up the IIOPService ..
    10/04/20 03:02:26 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)
    initialized
    Thanks in advance..

    Hi,
    iWS4.1sp9 is not supported(tested) in Win2000 server..
    check the link :-
    http://docs.iplanet.com/docs/manuals/enterprise/41/rn41sp9.html#17605
    iWS 6.0 version his supported for Win2000 server.
    check the link:-
    http://docs.iplanet.com/docs/manuals/enterprise/60sp2/rn60sp2.html#36474
    Thanks,
    Daks.

  • Not able to start the Presentation services and BI Server

    Hi,
    My prsentation services has gone down, after the changed the default rpd and oped another rpd which was password lock. De-Commented the AUTHENTICATION_TYPE = BYPASS_NQS and restarted the BI Server and stopped it again, then logged into the rpd without any password and then changed the password and close the BI Admin tool and started the BI Server.
    But now the presentation server is not starting."Could not start the BI Presentation Services on the Local Computer. For more information, review system event log....."
    The instanceconfig.xml has the right path "<CatalogPath>C:/OracleBIData/web/catalog/xxx</CatalogPath>
    the catalog is the same as what is mentioned in the NSQConfig.ini.
    Never this this kind of error before.
    Can somebody please help.
    Rgds,
    Amit

    Hi Saichand,
    Sorry i had resolved it. Actually i had done some cryptotools for adding the Impersonator, and when i changed the RPD it gave me error bcos of that, i removed the entries from
    credentialstore.xml and also from instanceconfig.xml and the Presentation Services where up.
    I really appreciate your promptness in answering the question, do u get an alert in email or you keeping checking the site.
    Thanks & Rgds
    Amit

Maybe you are looking for

  • VCenter SRM Installation and Configuration

    Hello, We have installed and configured SRM 5.5.1 in Main site and DR site. In DR site we have two hosts and no shared storage. Each have one vsphere replication appliance deployed and both the sites connected and we have also replicated two virtual

  • Enable more than two concurrent sessions in Server 2012 r2

    Hello, I have setup RDS on Server 2012 R2 with the following roles:  (RD Connection Broker, RD Session Host, RD Gateway, RD Licensing, RD Web Access).  My sole purpose for this setup was to enable this server and only this server to allow more than 2

  • Will a 510 intel SSD work with MacBook Pro?

    Coulnd't find anyone who has tried this. I am trying to update my crappy harddrive which is on the edge of dying and want to go SSD to speed up the performance and boot times. Will an intel 510 series SSD work with my 2.4GHz intel core duo / DDr3 15.

  • FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline.

    FCPX 10.0.7 collapses when working with 25p and 23,98p clips in the same timeline. Did anybody reported this? never happened to me in previous versions. It seems to be solved when transcoding the 25p clips to 23,98p (both Canon EOS 5dMKII clips) But

  • Why BRBACKUP cmd does not save SAP control files?

    Hello!     We experience some issues running BRBACKUP utility to save SAP's data objects. When we run the BRBACKUP cmd, we see that all tablespaces and configurations files are save, but BRBACKUP cmd does not save control files. Why, we don't know? B