JNDI problem with Sun Application Server

I am trying to call a extremely simple EJB from a remote computer. But everytime I run the client I get a Class castException. I have used Weblogic and Jboss in the past and I never had any problem with JNDI. I included all the files except for the descriptor. Please help, this is driving me nut.
Here is the exception i get:
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at clients.testEjbTest.main(testEjbTest.java:42)
The remote Interface :
package ejb.test;
import javax.ejb.*;
public interface Test extends javax.ejb.EJBObject{
public String getResult() throws java.rmi.RemoteException;
The Home interface is:
package ejb.test;
import javax.ejb.*;
public interface TestHome extends javax.ejb.EJBHome{
public Test create() throws java.rmi.RemoteException, CreateException;
The Bean is:
package ejb.test;
import javax.ejb.*;
public class TestBean implements javax.ejb.SessionBean {
public TestBean() {}
public String getResult() { return "hello";}
public void ejbActivate() {  }
public void ejbPassivate() {  }
public void ejbRemove() {  }
public void ejbCreate() throws CreateException {  }
public void setSessionContext(javax.ejb.SessionContext sessionContext) { }
The client is:
public class testEjbTest {
public testEjbTest() { }
public static void main(String[] args) {
try{
Properties env = new Properties();
env.setProperty("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory" );
env.setProperty("java.naming.provider.url", "iiop://192.168.0.102:3700");
InitialContext ic = new InitialContext(env);
Object objref = ic.lookup("TestBean");
Object tt = PortableRemoteObject.narrow(objref, ejb.test.TestHome.class);
}catch(Exception e){e.printStackTrace();}

Hi,
I am new to this Forum.
I have an application running on Weblogic.
I want to shift to using SunOne as the Webserver and weblogic as application server.
But when I deploy the application I am getting this ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow.
java.lang.ClassCastException
     at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
     at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
     at com.elsevier.portal.admin.web.proxy.LoginProxy.getLoginSession(LoginProxy.java:156)
     at com.elsevier.portal.admin.web.proxy.LoginProxy.authenticateUser(LoginProxy.java:48)
    at com.elsevier.portal.admin.web.actions.LoginAction.login(LoginActi
on.java:201)
     at com.elsevier.portal.admin.web.actions.LoginAction.execute(LoginAction.java:80)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:
525)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
     at org.apache.catalina.core.StandardWrapperValve.invokeServletServic
e(StandardWrapperValve.java:771)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
warning: CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostVal
ve.java:209)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
     at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)The code snippet is as follows�.
protected LoginSession getLoginSession() throws ApplicationException {
LoginSessionHome home = null;
LoginSession object = null;
try {
home = (LoginSessionHome) (PortableRemoteObject.narrow(ProxyUtil.getEJBHome(getProperties().getProperty(DataCoreConstants.LOGIN_JNDI_NAME),getProperties()),LoginSessionHome.class));
object = home.create();
catch(ClassCastException cse){
cse.printStackTrace();
logger.error("Class Cast Exception is thrown while casting the Object to                      LoginSessionHome");
logger.error(cse);
throw new ApplicationException(ExceptionConstants.CLASS_CAST_EXCEPTION);
return object;
}Same method is running on weblogic without any problem�
Help needed urgently.
Regards,
Neha.

Similar Messages

  • JMS problem with Sun Application Server 8.2

    Hi!
    I've just started trying JMS and found a problem.
    I set a connection factory called "QueueConnectionFactory" in the Sun Application Server Admin Consol.
    After this I test this code:
    import javax.jms.*;
    import javax.naming.*;
    public class Sun_JNDI
    public static void main(String args[]) throws Exception
    Context jndiContext = null;
    System.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory" );
    System.setProperty("java.naming.factory.url.pkgs","=com.sun.enterprise.naming");
    System.setProperty("java.naming.provider.url","localhost:1024");
    jndiContext = new InitialContext();
    Object O = jndiContext.lookup("QueueConnectionFactory");
    System.out.println(jndiContext);
    in result I got this long Exception message:
    2006.02.12. 10:52:59 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1356"
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE: RAR6001 : Class Not found : com.sun.messaging.jms.ra.ResourceAdapter
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE:
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    2006.02.12. 10:53:00 com.sun.enterprise.naming.SerialContext lookup
    SEVERE: NAM0004: Exception during name lookup : {0}
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    Exception in thread "main" javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR]
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:317)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    ... 2 more
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    So I tested this code under Netbeans5 and I don't where to find jar file contains the class: com.sun.messaging.jms.ra.ResourceAdapter
    Other time I tryied to lookup this URL: "java:comp/env/jms/QueueConnectionFactory"
    The result was: javax.naming.NameNotFoundException
    I know it is a small code example but if I'm not able to solve this problem I can't go on with JMS.
    I would be glad by any help.
    Regards:
    Sandor

    Hello
    In my code it looks like that:
    1: System.setProperty("com.sun.jndi.ldap.LdapCtxFactory", "iiop://localhost:3700");
    2: Context ctx = new InitialContext();
    3: TopicConnectionFactory factory = (TopicConnectionFactory)ctx.lookup("jms/DailyDestinationFactory");
    4: TopicConnection connection = factory.createTopicConnection();
    5: TopicSession session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    6: Topic topic = (Topic)ctx.lookup("jms/DailyBean");
    7: TopicPublisher pub = session.createPublisher(topic);
    8: TextMessage msg = session.createTextMessage();
    9: msg.setText("NewMessage");
    10: pub.send(msg);
    and it work with Sun App Server 8.2.

  • Problem with sun app server startup

    hi,
    i am getting problem with sun app server default start.the error is::
    [#|2006-03-01T13:54:35.121+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
    now i am useing Win Xp operating system,
    show me a solution.
    Regs..
    Narasimha

    You haven;t specified the exceptions you r getting ........while starting your default server.
    if u r getting exception about InetClass then connect your system with LAN/Internet then your problem will be solved becoz i m using same location address as you specified, space doesn't matter at all - i think so, it is running fine........

  • Can't print under Tomcat but no problem under sun application server 8!

    Hi,
    I am rather puzzle by the fact that a programme written by me using all the print api and printable implementation when being called by the JSF page is capable of being successfullly print out when being deployed under sun application server 8 but got hang or met with no response when the same war file generated by the JSC 2 is being deployed onto Tomcat 5.17 .
    Was it due to some missing jar file or api , I really have no idea at all
    Any suggestion please ?
    Thank

    Hi,
    I got rather stupid question to ask regarding the font size.
    if I got a font size of 10, I know it is only refering to the height in pixel , my problem start when I need to know , how many characters can I print across in a A4 size paper. The pixel point is 1/72 of an inch, it is vertical .
    Is there any formula that I can use to determine how many characters per inch that particular font is supposed to print?
    Suggestion that I received is to use trial and error method.
    Thank

  • How to keep up to date with Sun Application Server 9.1

    Hi All: I'm just starting out deciding between Tomcat and Sun Application Server 9.1. Is there a patch number on SunSolve so I can keep the product up to date with any fixes?
    Any comments on which way to go for this for .war applications that do not have EJBs?
    Thanks,
    Rich

    Hello,
    recently I upgraded from Sun AppServer 9.1 U1 to U2. I downloaded Glassfish V2 U2, what is equivalent to AppServer 9.1 U2. Installing this download there is an option to upgrade the domain of an existing installation of the AppServer.
    This worked pretty well.
    Bernd

  • Eclipse Europa with Sun Application Server 9

    Does anyone know if Europa supports version 9.0_01 of the Sun Application Server? And, if so, how to get it setup?
    In Europa, I see the following, perhaps one of these is the one I should choose?
    Sun Application Server 8.1
    Sun Application Server 8.2
    GlassFish V1 Java EE 5
    GlassFish V2 Java EE 5
    GlassFish V3
    Many thanks in advance!

    Another Update:
    So I tried Glassfish V1, and it appears to be the best fit so far. Still trying to get it all up and running though, not sure I am having too much luck as I gets errors every time it tries to deploy new versions of my application, but I suppose it is progress:)
    Think I am on the right track - thanks anyhow!

  • Deploying ejb with Sun Application Server 8

    I'm deploying a container-managed entity, my status & my problem is listed below:
    Deploytool:
    When I verify my entity, I see this error:
    Error: Exception [ JDO74033: Cannot deploy application 'LibrarianApp' module 'ejb-jar-ic' with CMP beans: cmp-resource is not defined for this module. The minimum requirement for a cmp-resource is to specify the jndi-name of a jdbc-resource or a persistence-manager-factory-resource to be used with the beans. ] while initializing JDOCodeGenerator. Please check your descriptors and mapping files for consistency
    Deploying has not any error but running the application has :
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:170)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    in CMP Database of my entity, JNDI Name = jndi/MySQL
    Sun Java System Application Server Platform Edition 8 Admin Console:
    in JDBC Resource JNDI Name: jdbc/MySQL & Pool Name MySQL2
    in Connection Pools > MYSQL2 > Data Source Class Name: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    Please Help Me. thx

    hi
    I am working with Sun java application Server 8.
    I can able to create application(*.ear),
    (Enterprise Java Bean) bean component,
    client application
    Problem is, i am unable to provide JNDI name for client application
    advice needed to provide JNDI name for the client applications
    i dont know whats the use of pointbase/cloudscape
    (As i am new to this sjaServer 8, i need your advice)
    Response to the following mail id
    [email protected]
    Please do the favour
    thank you

  • JNDI on a Sun Application Server 9.0 from a Java SE Client

    Where do I go to find a listing of property pairs I have to set to allow my Java SE application to make use of JNDI (to find Session and Entity beans)?
    This is my approach from what I have read so far:
          Context context;
          Properties properties = new Properties();
            // Assign configuration properties here.
            try {
                context = new InitialContext(properties);
            } catch (NamingException ex) {
                ex.printStackTrace();
            // Put code here to start getting references to JNDI stuff....
            // ...and other neat Java EE things. :)If anyone in-the-know can help steer me a little on this, I'd be very grateful!
    My current setup is just a netbeans development environment. I'm using the included application server.

    I receive an exception in the J2SE client when trying to do lookups.
    I have created a simple test of a bean and a JMS Queue
    package ent1;
    @Remote
    public interface HelloWorld {
      public String sayHello();
      public void sendQueueMessage(String message);
    package ent1;
    @Stateless
    public class HelloWorldBean implements HelloWorld {
      @Resource(mappedName="jms/QueueFactory")
      private QueueConnectionFactory m_QueueFactory;
      @Resource(mappedName="jms/myQueue")
      private Queue m_Queue;
      private static final Logger logger = Logger.getLogger("ent1.HelloWorldBean");
      public HelloWorldBean() {
      public String sayHello() {
        return "Hello From "+this.getClass().toString()+"!";
      public void sendQueueMessage(String message) {
        Connection conn;
        Session session;
        MessageProducer producer;
        TextMessage msg;
        try{
          conn=m_QueueFactory.createQueueConnection();
          session=conn.createSession(false,Session.AUTO_ACKNOWLEDGE);
          producer=session.createProducer(m_Queue);
          msg=session.createTextMessage(message);
          producer.send(msg);
        }catch(JMSException e){
          logger.log(Level.SEVERE,e.getMessage(),e);
          return;
        logger.log(Level.INFO,"Message '"+message+"' sent");
    }And I can connect to the bean and Queue from an enterprise application with resource injection.
    But when I try to lookup the bean or JMS QueueConnectionFactory from an J2SE client..
        InitialContext ic;
        HelloWorld hello;
        Hashtable<String, String> env = new Hashtable<String, String>();
        env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
        env.put("java.naming.provider.url", "iiop://localhost:3700");
        try{
          ic=new InitialContext(env);
          hello=(HelloWorld)ic.lookup("ent1.HelloWorld");
        }catch(NamingException ne){
        }or
        javax.jms.ConnectionFactory connectionFactory;
        try{
          ic=new InitialContext(env);
          connectionFactory=(javax.jms.ConnectionFactory)ic.lookup("jms/ConnectionFactory");
        }catch(NamingException ne){
        }I get an exception
    javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
            at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:44)
            at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:484)
            at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:523)
            at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:501)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at jms_j2seconsumer.Main.main(Main.java:49)
    Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
            at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
            at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:406)
            at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:470)
            ... 4 more

  • Problem installing sun application server 8.2

    Hi,
    I couldn't still install the 8.2 version.
    However I'm trying to install it in Java 1.5.0._05 updated version?
    Is there a specific version of Java which is causing the problem?
    quoted from my previous email
    I tried to reinstall appserver on my localhost and i have a problem: when the installer copied files and start to confgiure domains the following error occured =>>
    INFO - unpacked jar file: activation.jar.pack
    INFO - unpacked jar file: appserv-assemblytool.jar.pack
    INFO - unpacked jar file: appserv-cmp.jar.pack
    INFO - unpacked jar file: appserv-ext.jar.pack
    INFO - unpacked jar file: appserv-jstl.jar.pack
    INFO - unpacked jar file: appserv-rt1.jar.pack
    INFO - unpacked jar file: appserv-rt2.jar.pack
    INFO - unpacked jar file: appserv-rt3.jar.pack
    INFO - unpacked jar file: appserv-rt4.jar.pack
    INFO - unpacked jar file: appserv-tags.jar.pack
    INFO - unpacked jar file: commons-launcher.jar.pack
    INFO - unpacked jar file: commons-logging.jar.pack
    INFO - unpacked jar file: deployhelp.jar.pack
    INFO - unpacked jar file: j2ee-svc.jar.pack
    INFO - unpacked jar file: j2ee.jar.pack
    INFO - unpacked jar file: jax-qname.jar.pack
    INFO - unpacked jar file: jaxr-api.jar.pack
    INFO - unpacked jar file: jaxr-impl.jar.pack
    INFO - unpacked jar file: jaxrpc-api.jar.pack
    INFO - unpacked jar file: jaxrpc-impl.jar.pack
    INFO - unpacked jar file: jsf-api.jar.pack
    INFO - unpacked jar file: jsf-impl.jar.pack
    INFO - unpacked jar file: mail.jar.pack
    INFO - unpacked jar file: relaxngDatatype.jar.pack
    INFO - unpacked jar file: saaj-api.jar.pack
    INFO - unpacked jar file: saaj-impl.jar.pack
    INFO - unpacked jar file: sun-appserv-ant.jar.pack
    INFO - unpacked jar file: xsdlib.jar.pack
    INFO - unpacked jar file: sun-as-jsr88-dm.jar.pack
    INFO - number of merged jar entries: 2671
    INFO - number of merged jar entries: 1425
    INFO - number of merged jar entries: 2459
    INFO - number of merged jar entries: 1169
    INFO - Start core server configuration.
    ERROR - default domain creation returned following exception:
    20.09.2005 12:29:21 com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl getInstance
    WARNING: Error loading pluggable features class com.sun.enterprise.admin.pluggable.PEClientPluggableFeatureImpl
    java.lang.ClassNotFoundException: com.sun.enterprise.admin.pluggable.PEClientPluggableFeatureImpl
    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:164)
    at com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.getInstance(Plugga bleFeatureFactoryBaseImpl.java:104)
    at com.sun.enterprise.cli.commands.BaseLifeCycleCommand.createPluggableFeatureFact ory(BaseLifeCycleCommand.java:97)
    at com.sun.enterprise.cli.commands.BaseLifeCycleCommand.<init>(BaseLifeCycle Command.java:67)
    at com.sun.enterprise.cli.commands.CreateDomainCommand.<init>(CreateDomainCo mmand.java:65)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at com.sun.enterprise.cli.framework.CommandFactory.createCommand(CommandFactory.ja va:57)
    at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:131)
    at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:46)
    20.09.2005 12:29:21 com.sun.enterprise.cli.commands.BaseLifeCycleCommand createPluggableFeatureFactory
    WARNING: SERVER0009: Pluggable features using class com.sun.enterprise.admin.pluggable.PEClientPluggableFeatureImpl could not be initialized. Server will run with default features.
    CLI130 Could not create domain, domain1
    INFO - End core server configuration.
    INFO - Start samples configuration.
    INFO - End samples configuration.
    INFO - Start Sun Java System Message Queue configuration
    INFO - End Sun Java System Message Queue configuration
    INFO - Start PointBase configuration
    INFO - Java home location configured
    INFO - End PointBase configuration
    More Information:
    Log File: C:\DOCUME~1\jk\LOCALS~1\Temp\Install_Application_Server_8PE_200509201227.log
    I get this error, however I deleted the folder c:\sun/AppServer before doing the installation.
    Can anyone please help
    The version is Java Sun App Server 8.2 version!
    Should i delete the file productregistry in the windows32 folder?
    Regards,
    Manisha

    I resolved the problem, the main reason was their was appserv-rt.jar file in the Java lib folder, once this was taken out, it worked perfectly.
    Manisha

  • Installation/Config Problem with Sun Directory Server Control Center (6.0)

    Hi All,
    I have recently attempted an installation of Sun Directory Server EE 6.0 on a x86 Solaris 10 machine.
    I have selected to install Core Directory Server and Sun Directory Server Control Center with my installation.
    After installation, if I check the status of the SUNDSCC, I receive the following message:
    bash-3.00# ./dsccsetup status
    DSCC Application is not installed
    DSCC Agent is registered in Cacao
    DSCC Registry has been created
    Path of DSCC registry is /var/opt/SUNWdsee/dscc6/dcc/ads
    Port of DSCC registry is 3998
    I have also tried to re-start the Sun Java Web Console using the /usr/sbin/smcwebserver start command but that does not do anything.
    If i try to initialize the SUNDSCC usin the ./dsccsetup initialize command, the registry got created, but it still displays as "application not installed".
    I do not understand. I have already installed this application using the JES installer.
    please help!
    Regards,
    Saahil Goel

    I had a similar issue. Here is how I fixed it.
    Run dsccsetup status with the -v option. it will show you where it is trying to find the DSCC Application. Then do a find on your system to see where it is actually installed. Then simply copy it over to where dsccsetup is looking for it. Then do dsccsetup initialize. Below is what it looked like on my system when I did it:
    # ./dsccsetup status -v
    ## /usr/sbin/smreg is present
    ## /usr/sbin/smcwebserver is present
    ## /opt/server/sun/dscc6/dccapp is MISSING
    DSCC Application is not installed
    ## /opt/sun/cacao/bin/cacaoadm is present
    ## /opt/server/sun/dscc6/lib/jar/nquickmodule.jar is present
    ## Running /opt/sun/cacao/bin/cacaoadm list-modules -r
    DSCC Agent is registered in Cacao
    ## Running /opt/sun/cacao/bin/cacaoadm status
    ## Running /opt/sun/cacao/bin/cacaoadm list-modules
    ## Running /opt/sun/cacao/bin/cacaoadm get-param network-bind-address
    ## Running /opt/sun/cacao/bin/cacaoadm get-param jmxmp-connector-port
    ## /opt/server/sun/ds6/bin/dsadm is present
    DSCC Registry has been created
    Path of DSCC registry is /var/opt/sun/dscc6/dcc/ads
    Port of DSCC registry is 3998
    # find / -name dccapp
    /opt/server/dscc6/dccapp
    # cp -R /opt/server/dscc6 /opt/server/sun
    # ./dsccsetup dismantle
    DSCC Application is not registered in Sun Java(TM) Web Console
    Unregistering DSCC Agent from Cacao...
    Deleting DSCC Registry...
    All server registrations will be definitively erased.
    Existing server instances will not be modified.
    Do you really want to delete the DSCC Registry ? [y/n]y
    Server stopped
    DSCC Registry has been deleted successfully
    # ./dsccsetup initialize
    Registering DSCC Application in Sun Java(TM) Web Console
    This operation is going to stop Sun Java(TM) Web Console.
    Do you want to continue ? [y,n] y
    Stopping Sun Java(TM) Web Console...
    Registration is on-going. Please wait...
    DSCC is registered in Sun Java(TM) Web Console
    Restarting Sun Java(TM) Web Console
    Please wait : this may take several seconds...
    Sun Java(TM) Web Console restarted successfully
    Registering DSCC Agent in Cacao...
    Checking Cacao status...
    Deploying DSCC agent in Cacao...
    DSCC agent has been successfully registered in Cacao.
    Choose password for Directory Service Manager:
    Confirm password for Directory Service Manager:
    Creating DSCC registry...
    DSCC Registry has been created successfully
    Hope this helps.

  • Problems starting Sun Application Server 8.1

    I can not start my applications server, the following msg appears, what can I do?:
    SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;
    |UnknownException during startup. Disable quick startup by setting system property
    com.sun.enterprise.server.ss.ASQuickStartup to false
    com.sun.appserv.server.ServerLifecycleException: [C4003]:
    Error al crear la conexi�n - interceptada java.net.ConnectException: Connection refused:
    no further information
    at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:427)

    If you have any firewall software running, turn it off and then try starting the server again. If that works, you'll have to allow the server to bind to the ports specified in <INSTALL>/domains/domain1/config/domain.xml in your firewall.
    -Ian Evans

  • Problem with Sun Directory Server 6.0 Console

    Hi,
    I posted same onto wrong forum earlier hope I am in correct place :).
    I have installed Sun Directory server on my Sparc box and now I am unable to start the management console. I followed some instruction on net and it say we have to refister the product using folowing command from dscc6/bin folder for installation
    System SnapShot_
    # ./dsccsetup initialize
    DSCC Application is already registered
    DSCC Agent is already registered
    Choose password for Directory Service Manager:
    Confirm password for Directory Service Manager:
    Creating DSCC registry...
    DSCC Registry has been created successfully
    *and it suppose to be started on https://Ip_address:6789 but its not. Can any one please tell me how to start the admn console to manage my directory server effectively.
    Note: I have already started the instance I have created during the installation using slapd-start script and its running successfully.
    Thanks,
    Sheeraz

    NOOOOO :( ..... Now i can see the login page.,.. Thanks mate.... Now when I am trying to log in using the UserName and Password I have supplied during the installation process (Sun Directory Server) it says Authentication failed.????
    This looks like a general webconsole... do I need to provide an specific URL for diretory server page ?????

  • Problem with installation application server 10g on Solaris 10 sparc

    Hello all.
    Help me, please.
    I'm trying to install Oracle aplication server 10.0.1.2.0.2 on Solaris 10 sparc.
    Server - Sun Fire v210.
    When i install oracle infrastructure(metadata repository and identify management),
    i have a problem - on first step of configuration "end of communication channel".
    Failed
    Anybody know, how solve this problem?
    Sorry for my english.

    There is known bug in installing Oracle10gAS infra. You have to apply the following note during the installation.
    see MetaLink Note:330016.1 for current AS 10.1.2 installation requirements for Solaris 10.
    Regards,
    Amir

  • How to create the deployment descriptor with the sun application server

    I have packaged my .war and ejb-jar files. I go to autodeploy and it says i need a deployment descriptor?

    this is actually an example .ear file that i am trying to run. When i create the client with the deploytool that comes with suns application server i get
    C:\appclient>appclient -client swe645-appClient.jar
    Caught an unexpected exception!
    javax.naming.NameNotFoundException: EditEmpBean not found
            at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.
    java:185)
            at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.ja
    va:157)
            at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialCont
    extProviderImpl.java:101)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(Reflecti
    veTie.java:123)
            at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tchToServant(CorbaServerRequestDispatcherImpl.java:648)
            at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tch(CorbaServerRequestDispatcherImpl.java:192)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    Request(CorbaMessageMediatorImpl.java:1709)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:1569)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(C
    orbaMessageMediatorImpl.java:951)
            at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.call
    back(RequestMessage_1_2.java:181)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:721)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatc
    h(SocketOrChannelConnectionImpl.java:473)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(
    SocketOrChannelConnectionImpl.java:1262)
            at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.
    run(ThreadPoolImpl.java:409)

  • Application Deployer Tool not in Sun Application Server PE 9

    Hi,
    I am new to Sun Application Server PE9. I remember using Sun "Application Deployment Tool" user interface to package EAR files some time back Sun Application Server 8. Does any one have any idea whether this deployment tool with GUI interface is available with Sun Application Server 9 or Do I need to download it separately.
    Thanks in advance.
    rsreddych.

    - deploytool was made available with Sun Java System Application server until version 8.2.
    You can download SJSAS 8.2 from: http://java.sun.com/j2ee/1.4/download.html
    From the above page, you can download either the standalone application server or (NetBeans 5.0 + SJSAS 8.2) bundle.
    - deploytool was removed from SJSAS 9.0 onward. From version 9.0, NetBeans is the IDE offered for deploying apps on to SJSAS 9.0 (glassfish) and deploytool is not offered anymore. Please download NetBeans 5.5, which is the tool now offered by Sun for deploying to 9.0.
    - It is not expected that deploytool shipped with 8.2 will work with 9.0. It most likely will not, even for j2ee 1.4 apps.

Maybe you are looking for

  • XLIFF TRANSLATION

    Hello, I have a question for anyone whom has gotten the XLIFF tranlation working. Per Oracle, they are stating that we need to install language packs for each language we want to use in translation. I was confused as to why, because XLIFF is just usi

  • Sx 20 and third party mic mixers

        What is the proper way to connect these, we are using a shop made cable, xlr (mixer) to 4 pole mini ( +,- and grd only) but when they are pugged in the  local audio drops and there is background noise and the far end incoming audio clips. Unplug

  • Why does safari close down when mac not in use

    This just recently started in the past few days to a week. When my computer goes to sleep, safari shuts down. Any pages I have left open to come back and look at are gone. I know I can use history, but this has a never happened before. Is safari corr

  • Time Machine  - 283gb backup take 60 days?

    After about 2 years of not backing up my desktop (iMac 21.5 inch, late 2009, 4GB, running Mac OS X Lion 10.7.5) - I decided to run a back up so bought a WD My Passport for Mac, 1TB ... so I select the My Passport in Time Machine Preference, hit "star

  • Firmware update failing and constant restart loop  PLEASE HELP

    I was updating my firmware, the update that fixes problems with batteries over 1000 loads. The loading bar on the apple screen gets half way, then it shuts down. I turn the computer on again and it just repeats. Please help.