Flash Remoting, Sun ONE AS

Hi all
Im working with flash remoting, an AMF tech
I need to deploy my classes somewhere that flash remoting knows about it
in Jrun i used to put them in server-inf/classes folder
Do you know where to deploy them in java sun ONE AS?

String requestString = "GET " + path + " HTTP/1.0\r\n" + hostName + "\r\nConnection: close\r\n\r\n";What's "path" and "hostName"? Anything in the web server logs (access & error)?
Print out requestString. Don't assume what it is; print it out. Extra points for printing it so that you can explicitly see and tell apart space, \t, \r, and \n (\n vs \r\n shouldn't matter, but still.)

Similar Messages

  • Remote Interface problem using Sun ONE App & web server

    HI,
    1) I am using an S'less SB. I have local & remote interfaces. I am using the sun one appserver7 & the sun ones's htttp server. By default it doesnt pick up the remote interfaces is it ? How do i make my remote interfaces work ? what are the changes required in config/xml ?
    2) However i changed my client code (i.e my action class which is called by the struts action servlet ) to access the localhome rather than the remote home, but then i get java.lang.classcastexception.
    pls help !
    sanjay

    Hi parsuram,
    Thanks for the tip. After looking at the sample source code, I did finally figure out the solution - so I'll post it in case anyone else happens to be working with websphere studio has the same issue deploying on sun one.
    To access local interface ejb, you must have the following
    1. ejb-local-ref tag in the ejb-jar.xml like so underneath the <session> or <entity> tag of the bean which you plan to access the local ejb with.
    <ejb-local-ref>
    <ejb-ref-name>TestL</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>memory.simple.TestLLocalHome</local-home>
    <local>memory.tool.simple.TestLLocal</local>
    <ejb-link>TestL</ejb-link>
    </ejb-local-ref>
    2. similar ejb-ref tag in sun-ejb-jar.xml
    <ejb-ref>
    <ejb-ref-name>TestL</ejb-ref-name>
    <jndi-name>localejbs/module_memory.betaEJB/TestL68640023372300293</jndi-name>
    </ejb-ref>
    note: sun generates the <jndi-name> and overwrites whatever you put in that tag no matter what you put in there.
    3. here is the code to access
    Context initial = new InitialContext();
    TestLLocalHome tlHome=(TestLLocalHome) Initial.lookup
    ("TestL");
    //the string must match <ejb-ref-name> underneath <ejb-local-ref>
    4. note that the jndi name for the local interface bean becomes irrelevant. only the <ejb-ref-name> in the ejb-jar and sun-ejb-jar matter. furthermore, both <ejb-ref-name> must be the same or you won't be able to deploy.
    5. This is completely my fault for not checking the "proper" way to access local interfaces. in websphere, they let you get away without the ejb-ref tags and just use the string "local:/TestL"!
    -matt

  • Remote debugging in sun one application server 8.1 options

    Hello Techies,
    I want to remote debug sun one application server 8.1
    I had followed remote debugging documentation on MyEclipse site. My sun one server is running under 8080 port. so I had done the modifications in domain.xml as follows
    debug-enabled="true" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8080"When i change this address to 8080, I am unable to start up the server. Can you guys tell me am i missing any thing ??
    Why I am unable to start up the server?? If i change the port no to 8000 I am able to start up the server.
    regards,
    Krishna

    And just to make an unfounded guess: do you have to specify the debug port or the request port there? If it's the former, it'll stand in its own way.

  • Sun ONE Web Server & Remote User field

    Hi,
    I look for a tip to my Sun ONE Web Server 6.1 SP2 configuration.
    I have:
    - OS: Sun Solaris 8
    - Apache 1.3 (listen port :80)
    - Sun ONE Web Server 6.1 SP2 (listen port :81)
    - Weblogic 8.1 SP4 (listen port :8001)
    The 3 applications are in the same server.
    My first configuration works:
    - Apache works with basic authentification by password file (generate with htpasswd) and communicates with Weblogic
    - Weblogic listens http requests and work with the remote user id (use method HttpServletRequest.getRemoteUser())
    My second configuration doesn't work:
    - Apache works with basic authentification by password file (generate with htpasswd) + reverse proxy mode (use VirtuaHost) and communicates with Sun ONE Web Server
    - Sun ONE Web Server works with no authentification mode and communicates with Weblogic
    - Weblogic listens http requests and works with the remote user id (use method HttpServletRequest.getRemoteUser())
    The HttpServletRequest.getRemoteUser() returns null in my second configuration.
    How I can configure my Sun ONE Web Server to foward the remote user id ?
    Thank you.
    Christophe.

    Can you send your obj.conf?
    I do not have a 6.1 Web Server installed, by guess work try
    NameTrans fn="redirect" from="/index.html" url="/"
    Also remove find-index or any such SAFs if you have in your obj.conf
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"Why do you need this?

  • Remote Deployment W/O installing SUN One AS.

    Hi,
    I am trying to deploy an archive using wsdeploy.bat command. For this I need to have SUN One AS installed on my localmachine. Is it possible to issue the wsdeploy.bat command W/O installing the SUN One AS on my localmachine or I can copy only the needed jars (from the wsdeploy.bat) and issue the command.
    Thanks.
    Cheers,
    Vivek James.

    Because wsdeploy runs on a local server it is unlikely that you'll run it without a local installation. What you'll need to do is telnet to the box where the server is and proceed to call wsdeploy.bat. In order for this to work you have to ftp the EAR, WAR or whatever you want to deploy beforehand to the server filesystem. Maven uses Ant anyway so you guys could use the ant telnet task and the ant ftp task. Maven could just calls these from a maven.xml or from a plugin. We build a customised maven plugin to deploy portlet applications from any workstation to an integration server that follows the same process. It was OK.
    Cheers.

  • Authentication getting failed in sun one Ldap

    HI,
    Any one please can assist me for sun one ldap.
    My application developed(ldap related) based on lotus domino ldap server and webspere.
    now we are trying to deploy the same code with Websphere and sun one ldap server at our local environment.
    Iam getting the prblem of authentication fail.
    please follow the logs as.
    My question is what ever the code written for lotus domino is compatible with sun one ldap.Iam new to LDAP .
    pls any one give the suggestions.
    LDAP Interface: Performing LDAP authentication for user [NYilmaz]
    17 Dec 2007 18:43:13,359 [WARN ] NABLDAP: Transmission will be over an unencrypted connection. The username and password are transmitted in clear text form which is very insecure. Consider replacing the LDAP protocol with LDAPS (SSL).
    17 Dec 2007 18:43:13,359 [DEBUG] NABLDAP: Establishing a new authenticating connection to [ldap://gpat.bsdev.com]
    17 Dec 2007 18:43:13,375 [INFO ] NABLDAP: Failed to authenticate with the remote server on [ldap://gpat.bsdev.com] because of error '[LDAP: error code 34 - Invalid DN]'
    17 Dec 2007 18:43:13,375 [WARN ] LDAP Interface: Unsuccessful authentication attempt for user [NYilmaz]
    17 Dec 2007 18:43:13,375 [DEBUG] LDAP Interface: Writing the value {javax.naming.InvalidNameException:[LDAP: error code 34 - Invalid DN]} to General[1].OnionErrorMessage
    17 Dec 2007 18:43:13,390 [WARN ] NABLDAP: Transmission will be over an unencrypted connection. Consider replacing the LDAP protocol with LDAPS (SSL).
    17 Dec 2007 18:43:13,390 [DEBUG] NABLDAP: Establishing a new anonymous connection to [ldap://gpat.bsdev.com]
    17 Dec 2007 18:43:13,390 [DEBUG] NABLDAP: Connection established.
    17 Dec 2007 18:43:13,390 [DEBUG] NABLDAP: Searching remote LDAP directory using the filter of [(&(objectclass=person)(&(cn=NYilmaz)))]

    Hello Vinay,
    when configuring multiple Ldap directories, There are a number of prerequisities that you need to
    consider.
    For example, One prerequisite for Multi domains is that logon IDs must be unique across mutliple LDAP datasources. This will cause issue if duplicate IDs exist.
    Please see the following Documentation and notes for more information on this.
    Examples of Data Source Configuration Files - Identity Management - SAP Library
    Example: Configuration of Multiple LDAP Data Sources - Identity Management - SAP Library
    1618342 - Multiple LDAP Datasources - Active Directories where logon IDs
    are not unique
    762419 - Multi-Domain Logon Using Microsoft Active Directory
    Please have a look at the above notes which documet this and also tells
    you what to do in these situations.
    Regards,
    David

  • Sun One application server connection problem for Oracle DB

    On our project in live environments we have six Sun One application servers that have been configured to connect to RAC Oracle database using OCI drivers. ( JDBC thick driver)
    Sun one application server : Version 7.0.0
    Oracle Database : Version 9.2.0.4.0
    Following are two scenarios where Sun one server receives an error while attempting to perform any DML operations onto the database e.g. when you will try to send a insert/update msg through sun One.
    Case 1: - If the Oracle package/procedure/function is compiled using �Alter package/function/procedure....� command
    problem
    Any attempt to perform a DML operation using RMI calls though Sun one application server with already established oracle connection will fail.
    Sun One application server needs to be bounced to get an up-to-date state of the package.
    Case 2: If the Oracle package/procedure/function is compiled using �Create or Replace package/function/procedure....� command
    problem
    First attempt to perform any DML operation using RMI calls though Sun one application server with already established oracle connection will always fail. Any subsequent attempts will be successful.
    We are using JDBC OCI think drivers. I tried flushing Shared pool at the Oracle side but it didn't help. For some reason Sun One seems to Cache the session information for already establised connections with Oracle database. As its live system we don't want any outage. i.e we know bouncing oracle app server will solve the problem.
    So just wondering is there way/workaround to make aware the already estlised connection from sun one appserver to Oracle DB about changed packages/proceduress in the DB?
    Any thoughts on this would be much appreciated.
    txns
    Ravi

    Forgot one thing: when I use remote debugging , it works.

  • How would a corporation deploy Sun ONE Web Proxy Server?

    A corporation should deploy Sun ONE Web Proxy Server at the following key places:
    * The Internet gateway: Sun ONE Web Proxy Server deployed just behind the firewall facilitates access to the Internet and reduces response times and communications expense.
    * Major sub-network connections: Marketing, Sales, Product Development, Human Resources, and Finance departments might have their own subnetworks. An Sun ONE Web Proxy Server deployed at each subnet can reduce traffic on the corporate backbone.
    * Remote offices that are disconnected from the internal network: Sun ONE Web Proxy Server can provide a quick mechanism for replicating content when necessary, providing better company integration and increasing network performance without large capital and communications expense.
    * Internationally: Outside the United States, communications bandwidth is typically much more expensive, making Sun ONE Web Proxy Servers even more cost effective. Every international office can make use of an Sun ONE Web Proxy Server.
    * Outside the firewall as a Web server substitute in reverse proxy configuration: This protects information on the secure Web server behind the firewall and offers load balancing via caching.

    http://wwws.sun.com/software/download/products/3ef1fcb5.html
    If u wait for a week or so, SP4 will also be there.
    Maneesh

  • Error : Content not available in jsr 168 portlet in sun one portal 7.1

    I deployed jsr 168 portlet in Sun one portal and i have added that portlet ot one channel. But i am unable to see the content of that portlet
    NewPortlet      
    ERROR: Content is not available
    In the log file i am getting a null pointer exception
    java.lang.NullPointerException
         at com.sun.portal.portletappengine.impl.RequestResponseFactoryImpl.<init>(RequestResponseFactoryImpl.java:111)
         at com.sun.portal.portletappengine.PortletAppEngineServlet.init(PortletAppEngineServlet.java:121)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4535)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:811)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:646)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1331)
         at com.sun.enterprise.web.HttpServiceWebContainer.loadWebModule(HttpServiceWebContainer.java:867)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1040)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:246)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
         at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
         at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
         at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
         at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:703)
         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.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
         at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
         at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
         at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:264)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:178)
         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:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235)
         at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114)
    Please provide some help

    Hi,
    Thanks for bringing this issue. Yes, the message should be SEVERE. This will be fixed.
    You may also want to subscribe to [email protected] and bring up any issues, enhancements.
    Regards,
    Deepak

  • Integrating Sun One 8 with 3rd party queue provider

    Hi,
    I am trying to deploy a Message driven Bean based application on
    "Sun System Java Application Server 8.1". The MDBs are configured to listen on queues which are hosted on a third party software "SeeBeyond SRE 5.0.4 ".
    We already have a working environment on sun one 7.0.0._3b.
    Doing following things on 8.1:
    1. Creating a queue on "SeeBeyond SRE 5.0.4".
    2. Binding the queue on a LDAP server
    3. Creating a "remote-jndi-resource" on "Sun System Java Application Server 8.1" so that it looks-up in the LDAP and binds to the physical queue on Seebeyond
    4. Creating an MDB application which listens to the above created queue and deploys it on the Application server.
    The error message while we deploy the application/boot the server, is
    [#|2005-11-11T14:30:54.924+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=15;|com.sun.enterprise.connectors.ConnectorRuntimeException
    com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : jms/BridgeQueue
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:560)
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:444)
    at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
    at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:224)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:496)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    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:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
    at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:360)
    at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-11-11T14:30:54.939+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=15;|EJB5090: Exception in creating EJB container [
    com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : jms/BridgeQueue]|#]
    [#|2005-11-11T14:30:54.939+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=15;|appId=bridge-app moduleName=bridge-ejb_jar ejb
    Name=TMSBridgeMessageEJB|#]
    [#|2005-11-11T14:30:54.939+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=15;|LDR5004: UnExpected error occured while cr
    eating ejb container
    com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : jms/BridgeQueue
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:560)
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:444)
    at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
    at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:224)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:496)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    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:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
    at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:360)
    at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-11-11T14:30:54.955+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=15;|CORE5021: Application NOT loaded: [bridge-app]|#]
    [#|2005-11-11T14:30:54.986+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=15;|com.sun.enterprise.admin.event.AdminEventListene
    rException: Error while loading application [bridge-app]. Please refer to the server log for more details.
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:501)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    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:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
    at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:360)
    at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-11-11T14:30:55.018+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.
    system.tools.admin|_ThreadID=15;|ADM5603:Event listener error [Error while loadi
    ng application [bridge-app]. Please refer to the server log for more details. ]|
    [#|2005-11-11T14:30:55.033+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.sys
    tem.tools.admin|_ThreadID=15;|ADM1042:Status of dynamic reconfiguration event pr
    ocessing:[listener_error]|#]
    [#|2005-11-11T14:30:55.033+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.
    system.tools.admin|_ThreadID=15;|ADM1075:Error on listening event:[Error while l
    oading application [bridge-app]. Please refer to the server log for more details
    . ]|#]
    -Kshitij.

    Hi,
    I am trying to deploy a Message driven Bean based application on
    "Sun System Java Application Server 8.1". The MDBs are configured to listen on queues which are hosted on a third party software "SeeBeyond SRE 5.0.4 ".
    We already have a working environment on sun one 7.0.0._3b.
    Doing following things on 8.1:
    1. Creating a queue on "SeeBeyond SRE 5.0.4".
    2. Binding the queue on a LDAP server
    3. Creating a "remote-jndi-resource" on "Sun System Java Application Server 8.1" so that it looks-up in the LDAP and binds to the physical queue on Seebeyond
    4. Creating an MDB application which listens to the above created queue and deploys it on the Application server.
    The error message while we deploy the application/boot the server, is
    [#|2005-11-11T14:30:54.924+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=15;|com.sun.enterprise.connectors.ConnectorRuntimeException
    com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : jms/BridgeQueue
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:560)
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:444)
    at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
    at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:224)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:496)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    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:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
    at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:360)
    at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-11-11T14:30:54.939+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=15;|EJB5090: Exception in creating EJB container [
    com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : jms/BridgeQueue]|#]
    [#|2005-11-11T14:30:54.939+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=15;|appId=bridge-app moduleName=bridge-ejb_jar ejb
    Name=TMSBridgeMessageEJB|#]
    [#|2005-11-11T14:30:54.939+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=15;|LDR5004: UnExpected error occured while cr
    eating ejb container
    com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : jms/BridgeQueue
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:560)
    at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:444)
    at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
    at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:224)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:496)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    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:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
    at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:360)
    at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-11-11T14:30:54.955+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=15;|CORE5021: Application NOT loaded: [bridge-app]|#]
    [#|2005-11-11T14:30:54.986+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=15;|com.sun.enterprise.admin.event.AdminEventListene
    rException: Error while loading application [bridge-app]. Please refer to the server log for more details.
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:501)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    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:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:119)
    at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:360)
    at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-11-11T14:30:55.018+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.
    system.tools.admin|_ThreadID=15;|ADM5603:Event listener error [Error while loadi
    ng application [bridge-app]. Please refer to the server log for more details. ]|
    [#|2005-11-11T14:30:55.033+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.sys
    tem.tools.admin|_ThreadID=15;|ADM1042:Status of dynamic reconfiguration event pr
    ocessing:[listener_error]|#]
    [#|2005-11-11T14:30:55.033+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.
    system.tools.admin|_ThreadID=15;|ADM1075:Error on listening event:[Error while l
    oading application [bridge-app]. Please refer to the server log for more details
    . ]|#]
    -Kshitij.

  • Sun One 7 2004Q2 restart on breakpoint in debug

    Hi,
    I have a very annoying problem.
    I took over a project from another team of another company. I have to migrate the web application (using Struts, J2EE, EJB 2.0, ...) from Sun One to JBoss.
    For this, a specific profile is searched, and awaiting this profile, i have to get to know the project, structure and code (i don't know any EJB 2.0, i know Hibernate and Spring and like that a lot more than EJB).
    Now i'm working a month and a half already on this project, reading documentation, adding documentation, inspecting the code, and developing small changes and bugfixes.
    Every time i wanted to perform a remote application debug from within Eclipse to the Sun One AS, things fail.
    I start Sun One in debug mode, i check the address port, i connect to that port from Eclipse in debug mode (remote application debug), but when the application reaches the breakpoint, the Sun One AS just restarts, and the application gives a page not found.
    First i thought it was a memory problem (i read logs with OutOfMemory and parallel GC errors, but i can't find the logs anymore), and i finally got a computer with 2GB RAM (we work on VPC's). But that didn't solve the problem either.
    I removed the -Xmx option for maximum heap size, but that didn't do any good either.
    Does anyone know how i can perform debugging from within Eclipse to the Sun One AS without problems?
    Thanks very much in advance.

    And i found an error log in the /config directory of the used server instance:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  Internal Error (50532D41524B33574545500E435050011C), pid=3964, tid=2368
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_11-b06 mixed mode)
    ---------------  T H R E A D  ---------------
    Current thread (0x00d89968):  VMThread [id=2368]
    Stack: [0x05900000,0x05a00000)
    [error occurred during error reporting, step 110, id 0xc0000005]
    [error occurred during error reporting, step 120, id 0xc0000005]
    VM_Operation (0x0c5bfbb4): parallel gc failed allocation, mode: safepoint, requested by thread 0x066e1008
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x06eb1008 JavaThread "service-j2ee-2" [_thread_in_native, id=2108]
      0x0eb52e00 JavaThread "Thread-54" daemon [_thread_blocked, id=276]
      0x070b9110 JavaThread "SingleSignOnExpiration" daemon [_thread_blocked, id=2796]
      0x06eb1170 JavaThread "StandardManager[]" daemon [_thread_blocked, id=1804]
      0x00f915f8 JavaThread "Thread-53" daemon [_thread_blocked, id=1984]
      0x069cfb70 JavaThread "StandardManager[/kwatraWeb]" daemon [_thread_blocked, id=3772]
      0x06eccbe0 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=2592]
      0x06c0dfb8 JavaThread "GC Daemon" daemon [_thread_blocked, id=3680]
      0x06e03258 JavaThread "RMI Reaper" [_thread_blocked, id=772]
      0x06594dd8 JavaThread "Thread-52" daemon [_thread_blocked, id=2920]
      0x06adac70 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=3528]
      0x06c3adf8 JavaThread "Thread-51" [_thread_blocked, id=3860]
      0x06c3a810 JavaThread "Thread-50" daemon [_thread_blocked, id=2544]
      0x0682e5b0 JavaThread "JTS Timeout Thread" daemon [_thread_blocked_trans, id=1964]
      0x06789c60 JavaThread "ORB Server-side Reader, conn from MVG-WRK-0041.DG3.be:3019"
    daemon [_thread_in_native, id=2236]
      0x06c314f8 JavaThread "ORB Client-side Reader, conn to 10.20.24.3:4653" daemon [_thread_in_native, id=132]
      0x06eb29c0 JavaThread "Thread-47" [_thread_blocked, id=4008]
      0x06d315c0 JavaThread "ORB Listener 0.0.0.0:4653" daemon [_thread_in_native, id=3956]
      0x06bb8a40 JavaThread "Thread-46" daemon [_thread_blocked, id=3040]
      0x06bb7e30 JavaThread "Thread-45" daemon [_thread_blocked, id=376]
      0x067e8c70 JavaThread "Thread-44" daemon [_thread_blocked, id=2968]
      0x067e8100 JavaThread "Thread-43" daemon [_thread_blocked, id=2928]
      0x067e7518 JavaThread "Thread-42" daemon [_thread_blocked, id=3384]
      0x066ebc70 JavaThread "Thread-41" daemon [_thread_blocked, id=3180]
      0x066eb100 JavaThread "Thread-40" daemon [_thread_blocked, id=3876]
      0x066ea620 JavaThread "Thread-39" daemon [_thread_blocked, id=2372]
      0x069505d0 JavaThread "Thread-38" daemon [_thread_blocked, id=3504]
      0x0694f930 JavaThread "Thread-37" daemon [_thread_blocked, id=2116]
      0x0694ee50 JavaThread "Thread-36" daemon [_thread_blocked, id=3784]
      0x06705298 JavaThread "Thread-35" daemon [_thread_blocked, id=3524]
      0x06704408 JavaThread "Thread-34" daemon [_thread_blocked, id=3080]
      0x06b80b80 JavaThread "Thread-33" daemon [_thread_blocked, id=264]
      0x06b80068 JavaThread "Thread-32" daemon [_thread_blocked, id=1020]
      0x06787670 JavaThread "Thread-31" daemon [_thread_blocked, id=472]
      0x06786a60 JavaThread "Thread-30" daemon [_thread_blocked, id=3464]
      0x06a5e1d0 JavaThread "Thread-29" daemon [_thread_blocked, id=2520]
      0x06a5d660 JavaThread "Thread-28" daemon [_thread_blocked, id=3804]
      0x067773c0 JavaThread "Thread-27" daemon [_thread_blocked, id=2164]
      0x06776c50 JavaThread "Thread-26" daemon [_thread_blocked, id=1852]
      0x066e22b0 JavaThread "Thread-25" daemon [_thread_blocked, id=3148]
      0x066e1b40 JavaThread "Thread-24" daemon [_thread_blocked, id=3828]
      0x066e1008 JavaThread "Thread-23" daemon [_thread_blocked, id=3060]
      0x069cdc88 JavaThread "Thread-22" daemon [_thread_blocked, id=3708]
      0x06994a00 JavaThread "Thread-21" daemon [_thread_blocked, id=960]
      0x06993fd0 JavaThread "Thread-20" daemon [_thread_blocked, id=2224]
      0x06ae8578 JavaThread "Thread-19" daemon [_thread_blocked, id=2704]
      0x06a1c680 JavaThread "Thread-18" daemon [_thread_blocked, id=3892]
      0x06ed4ca8 JavaThread "Thread-17" daemon [_thread_blocked, id=1144]
      0x06713280 JavaThread "Thread-16" daemon [_thread_blocked, id=3476]
      0x0680c080 JavaThread "Thread-15" daemon [_thread_blocked, id=3160]
      0x0680ba18 JavaThread "Thread-14" daemon [_thread_blocked, id=1308]
      0x066e7f08 JavaThread "Thread-13" daemon [_thread_blocked, id=1652]
      0x066e7d10 JavaThread "Thread-12" daemon [_thread_blocked, id=1388]
      0x00f816a0 JavaThread "Thread-11" daemon [_thread_blocked, id=2880]
      0x066e8868 JavaThread "Thread-10" daemon [_thread_blocked, id=2248]
      0x06ac6810 JavaThread "Thread-9" daemon [_thread_blocked, id=3844]
      0x066a86e0 JavaThread "Thread-8" daemon [_thread_blocked, id=1192]
      0x066a84e8 JavaThread "Thread-7" daemon [_thread_blocked, id=1732]
      0x066560d0 JavaThread "Thread-0" [_thread_blocked, id=476]
      0x00d9a948 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1256]
      0x00d99c40 JavaThread "CompilerThread0" daemon [_thread_blocked, id=408]
      0x00d98c98 JavaThread "AdapterThread" daemon [_thread_blocked, id=2640]
      0x00d98008 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2056]
      0x00d818c8 JavaThread "JDWP Event Helper Thread" daemon [_thread_in_native, id=1520]
      0x00ee7e40 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=3712]
      0x00d8bb78 JavaThread "Finalizer" daemon [_thread_blocked, id=3688]
      0x00d8a768 JavaThread "Reference Handler" daemon [_thread_blocked, id=3624]
      0x00d67a18 JavaThread "main" [_thread_in_native, id=2080]
    Other Threads:
    =>0x00d89968 VMThread [id=2368]
      0x00db2630 WatcherThread [id=384]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
    [0x00db4eb0/0x00000600] Threads_lock - owner thread: 0x00d89968
    [0x00cf2ba8/0x000005c4] Heap_lock - owner thread: 0x066e1008
    Heap
    PSYoungGen      total 280768K, used 53248K [0x10010000, 0x27e70000, 0x27e70000)
      eden [0x10010000,0x10010000,0x1a610000)
      from [0x21240000,0x24640000,0x27e70000)
      to   [0x1a610000,0x1a610000,0x21240000)
    PSOldGen        total 217536K, used 156605K [0x27e70000, 0x352e0000, 0x4fc10000)
      object [0x27e70000,0x3175f7c8,0x352e0000)
    PSPermGen       total 44800K, used 44727K [0x4fc10000, 0x527d0000, 0x53c10000)
      object [0x4fc10000,0x527bdff8,0x527d0000)
    Dynamic libraries:
    0x00400000 - 0x00406000      C:\Sun\AppServer7\bin\appservd.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x60b90000 - 0x60c79000      C:\Sun\AppServer7\bin\ns-httpd40.dll
    0x60e00000 - 0x60e1a000      C:\Sun\AppServer7\bin\ssl3.dll
    0x60ce0000 - 0x60d5d000      C:\Sun\AppServer7\bin\nss3.dll
    0x60b10000 - 0x60b17000      C:\Sun\AppServer7\bin\libplc4.dll
    0x60ac0000 - 0x60af1000      C:\Sun\AppServer7\bin\libnspr4.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\WSOCK32.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\system32\MSWSOCK.dll
    0x60b20000 - 0x60b26000      C:\Sun\AppServer7\bin\libplds4.dll
    0x60c80000 - 0x60c88000      C:\Sun\AppServer7\bin\nsfc.dll
    0x60db0000 - 0x60db6000      C:\Sun\AppServer7\bin\nstime.dll
    0x60cd0000 - 0x60cda000      C:\Sun\AppServer7\bin\nsprwrap.dll
    0x60e20000 - 0x60e2c000      C:\Sun\AppServer7\bin\support.dll
    0x60dc0000 - 0x60dc5000      C:\Sun\AppServer7\bin\nstp.dll
    0x600e0000 - 0x600e5000      C:\Sun\AppServer7\bin\getprop.dll
    0x7e410000 - 0x7e4a1000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x60b30000 - 0x60b4e000      C:\Sun\AppServer7\bin\libsi18n.dll
    0x60aa0000 - 0x60aaa000      C:\Sun\AppServer7\bin\libdbm.dll
    0x600a0000 - 0x600a5000      C:\Sun\AppServer7\bin\ares3.dll
    0x7c9c0000 - 0x7d1d6000      C:\WINDOWS\system32\SHELL32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x60da0000 - 0x60da8000      C:\Sun\AppServer7\bin\NSSLDAP32V50.dll
    0x60cc0000 - 0x60cc6000      C:\Sun\AppServer7\bin\NSLDAPPR32V50.dll
    0x60c90000 - 0x60cb5000      C:\Sun\AppServer7\bin\NSLDAP32V50.dll
    0x60e30000 - 0x60ec1000      C:\Sun\AppServer7\bin\xerces-c.dll
    0x609e0000 - 0x60a3c000      C:\Sun\AppServer7\bin\icuuc2.dll
    0x60100000 - 0x60904000      C:\Sun\AppServer7\bin\icudt2.dll
    0x60910000 - 0x609a2000      C:\Sun\AppServer7\bin\icuin2.dll
    0x00320000 - 0x00331000      C:\WINDOWS\system32\MSVCIRT.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls
    _6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\comctl32.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x60a60000 - 0x60a72000      C:\Sun\AppServer7\bin\j2eeplugin.dll
    0x08000000 - 0x082b8000      C:\Sun\AppServer7\jdk\jre\bin\server\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x5dac0000 - 0x5dac8000      C:\WINDOWS\system32\rdpsnd.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\NETAPI32.dll
    0x60070000 - 0x6007a000      C:\Sun\AppServer7\bin\PSAPI.DLL
    0x76c90000 - 0x76cb8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x10000000 - 0x10007000      C:\Sun\AppServer7\jdk\jre\bin\hpi.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x01400000 - 0x0140e000      C:\Sun\AppServer7\jdk\jre\bin\verify.dll
    0x022b0000 - 0x022c9000      C:\Sun\AppServer7\jdk\jre\bin\java.dll
    0x022d0000 - 0x022de000      C:\Sun\AppServer7\jdk\jre\bin\zip.dll
    0x05c00000 - 0x05c1c000      C:\Sun\AppServer7\jdk\jre\bin\jdwp.dll
    0x05c20000 - 0x05c25000      C:\Sun\AppServer7\jdk\jre\bin\dt_socket.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x07140000 - 0x0714f000      C:\Sun\AppServer7\jdk\jre\bin\net.dll
    0x600b0000 - 0x600bd000      C:\Sun\AppServer7\bin\cis.dll
    0x76d60000 - 0x76d79000      C:\WINDOWS\system32\iphlpapi.dll
    0x76d40000 - 0x76d58000      C:\WINDOWS\system32\MPRAPI.dll
    0x77cc0000 - 0x77cf2000      C:\WINDOWS\system32\ACTIVEDS.dll
    0x76e10000 - 0x76e35000      C:\WINDOWS\system32\adsldpc.dll
    0x76b20000 - 0x76b31000      C:\WINDOWS\system32\ATL.DLL
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.dll
    0x76e80000 - 0x76e8e000      C:\WINDOWS\system32\rtutils.dll
    0x71bf0000 - 0x71c03000      C:\WINDOWS\system32\SAMLIB.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x07f60000 - 0x07f66000      C:\Sun\AppServer7\jdk\jre\bin\ioser12.dll
    0x07f70000 - 0x07f75000      C:\Sun\AppServer7\jdk\jre\bin\rmi.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    VM Arguments:
    jvm_args: -DJAVA_HOME=C:/Sun/AppServer7/jdk
    -Dcom.sun.aas.installRoot=C:/Sun/AppServer7
    -Dcom.sun.aas.instanceRoot=C:\Sun\AppServer7\domains\domain1
    -Duser.language=nl
    -Duser.country=BE
    -Duser.variant= exit vfprintf
    -Djava.security.policy=C:/Sun/AppServer7/domains/domain1/kwatraNieuw/config/server.policy
    -Djava.security.auth.login.config=C:/Sun/AppServer7/domains/domain1/kwatraNieuw/config/login.conf
    -Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager
    -Dcom.sun.aas.configRoot=C:/Sun/AppServer7/config
    -Dcom.sun.aas.imqLib=C:/Sun/AppServer7/imq/lib
    -Dcom.sun.aas.imqBin=C:/Sun/AppServer7/imq/bin
    -Dcom.sun.aas.webServicesLib=C:\Sun\AppServer7\share\lib
    -XX:+AggressiveHeap -XX:+DisableExplicitGC
    -Djavax.rmi.CORBA.UtilClass=com.iplanet.ias.util.orbutil.IasUtilDelegate
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl
    -Dcom.sun.jdo.api.persistence.model.multipleClassLoaders=reload
    -server -Xss128k -Xms512m -Xdebug
    -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2876
    -Xnoagent -Djava.compiler=NONE
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=C:\Program Files\QuickTime\QTSystem\QTJava.zip
    PATH=C:/Sun/AppServer7/jdk\jre\bin\server;
    C:/Sun/AppServer7/jdk\jre\bin;;C:/Sun/AppServer7/bin/;
    C:\oracle\product\10.2.0\client_1;C:\oracle\product\10.2.0\client_1\bin;
    C:\orarun\bin;C:\WINDOWS\system32;C:\WINDOWS;
    C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;
    C:\orarun\jdk\bin;C:\Program Files\Provision Networks\Virtual Access Client\
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 2088428k(641700k free), swap 4030576k(2605040k free)
    vm_info: Java HotSpot(TM) Server VM (1.4.2_11-b06) for windows-x86,
    built on Feb 13 2006 10:02:05 by "java_re" with MS VC++ 6.0Anyone who has more information as to what to do?
    Thx.
    Message was edited by:
    DonStevo
    Message was edited by:
    DonStevo

  • Bind a huge object to jndi tree in sun one 7

    Hi we are loading all the master tables in to objects at the app server startup (SUN ONE 7) and then binding the whole object to the jndi tree. All the tables data in text files comes to about 5 MB and the serilized object with data to about 8 MB. But when the app server tries to bind the object the app server process consumes over 500MB of ram and gives OutOfmemoryError as the total ram is 512MB. why is it consuming so much memory. It does bind an object of about 5 MB but when trying to lookup subsequent to the first lookup it fails. Is this a bug or what??? the same thing works perfectly with Weblogic and Websphere and also Weblogic is very efficient in memory consumption and response time is amazing. For a 5 MB object the lookup takes about 5Secs in Weblogic and about 15Mins in Sun One. We might have to drop the Sun One App Srv and go for Weblogic though we dont want. Kindly provide some guidance. Thanks in advance.

    Hi,
    Refer http://java.sun.com/products/jndi/tutorial/objects/storing/remote.html
    -amol

  • Sun One EJB problem - PortableRemoteObject.narrow ClassCastException...

    Hi all,
    I'm using Sun One app server 7 for the first time and am having a bit of difficulty. I have deployed a very simple EAR containing one stateless session bean just to test it. The ear appears to have deployed correctly but PortableRemoteObject.narrow is throwing a ClassCastException when trying to do a remote lookup on the bean.
    I'm using the following env settings...
    initialContextFactory = com.sun.enterprise.naming.SerialInitContextFactory
    providerUrl = iiop://127.0.0.1:3700The lookup appears to work okay - this line of code executes successfully
    Object objref = initialContext.lookup(jndiHomeName);...objref appears to initalise succesfully (if I toString() it I get an iiop stream of some sort). However, it is the next line that is failing...
    Object obj = PortableRemoteObject.narrow(objref, homeClass);...this is the exception I get...
    java.lang.ClassCastException
         at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
         at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
         at com.scorlog.ServiceLocator.getRemoteHome(ServiceLocator.java:145)Furthermore, when PortableRemoteObject.narrow() executes, I get the following console exception on the server...
    com.sun.corba.ee.internal.core.DuplicateServiceContext
            at com.sun.corba.ee.internal.core.ServiceContexts.put(ServiceContexts.java:208)
            at com.sun.corba.ee.internal.iiop.ServerRequestImpl.getServiceContextsForReply(ServerRequestImpl.java:258)
            at com.sun.corba.ee.internal.iiop.ServerRequestImpl.createResponse(ServerRequestImpl.java:89)
            at com.sun.corba.ee.internal.POA.SubcontractResponseHandler.createReply(SubcontractResponseHandler.java:50)
            at org.omg.CosNaming.NamingContextExtPOA._invoke(NamingContextExtPOA.java:377)
            at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
            at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
            at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
            at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
            at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
            at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
            at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:288)
            at java.lang.Thread.run(Thread.java:534)
    FINE: No SAS context element found in service context listI have seen the forum that other users have had similar problems and the suggestion was that the client can't see the ejb stubs. I don't think this is the problem in my case as I deployed the same ear on weblogic 7 (obviously substituting sun-ejb-jar.xml for a weblogic-ejb-jar.xml) and successfully executed the same client code for the remote lookup.
    My feeling is that the problem revolves around the JNDI binding. Could it be the case that even though the object is binding properly, the app server doesn't realise it is an ejb and not a jdbc/jms/mail object? The documentation gives details on looking up a JDBC, javamail, URL, JMS resource (http://docs.sun.com/source/817-2177/djjndi.html) but not ejb so I could be doing something simple wrong here...
    My sun-ejb-jar.xml is as follows....
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Generated by XDoclet -->
    <sun-ejb-jar>
        <enterprise-beans>
            <ejb>
                <ejb-name>SBTest</ejb-name>
                <jndi-name>ejb/SBTestBean</jndi-name>
            </ejb>
        </enterprise-beans>
    </sun-ejb-jar>However, I noticed on another thread, a user had some additional elements under their <ejb> tag like this...
    <?xml version="1.0" encoding="UTF-8"?>
    <sun-ejb-jar>
      <enterprise-beans>
        <name>Ejb1</name>
        <ejb>
          <ejb-name>HelloBean</ejb-name>
          <jndi-name>HelloBean</jndi-name>
          <ejb-ref>
            <ejb-ref-name>ejb/helloBean</ejb-ref-name>
            <jndi-name>HelloBean</jndi-name>
          </ejb-ref>
        </ejb>
      </enterprise-beans>
    </sun-ejb-jar>However, when I tried to add and <ejb-ref> element to my xml doc the ear failed to deploy. This is the error I get in the admin console...
    Error
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- --
    Failed to load deployment descriptor for: testApp cause: Error converting J2EE-
    specific ejb xml to object representation: testApp.jar app_testApp Generated by
    XDoclet This bean has no ejb reference by the name of [ejb/SBtest]
    ejb/SBTestSBTestThis problem is eating up my time and being made all the more frustrating by the fact that a) it deploys on weblogic and b) the documentation is terrible. Even the sample application that comes with sun one only provides the .class files for the code that does the ejb look up and not the .java so you can't see how they hell they do it!
    Unfortunately I am tied to using Sun One so I really need to solve this problem fast. If anyone can provide any help I'd greatly appreciate it.
    Cheers,
    John :)

    I am having the same problem after upgrading to Sun One from iplanet. Any clue?

  • Can't deploy Simple 2.0 CMP Entity Bean into Sun One Server 7

    Dear all:
    I use JBuilder9 + SunOne Plug-in to
    build a Simple Entity Bean, but I can't
    deploy it into SunOne 7 Server that return
    error message:
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Error while processing CMP beans.
    But I use JBuilder9 + JBoss 3.x Plug-in
    that corrent run on JBoss 3.2 RC
    All code are generated by JBuilder9 EJB Designer
    and only have PK finder.
    Our deploy description flile are:
    ejb-jar.xml=============================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <display-name>Enterprise1</display-name>
    <ejb-name>Enterprise1</ejb-name>
    <home>untitled1.Enterprise1RemoteHome</home>
    <remote>untitled1.Enterprise1Remote</remote>
    <local-home>untitled1.Enterprise1Home</local-home>
    <local>untitled1.Enterprise1</local>
    <ejb-class>untitled1.Enterprise1Bean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>untitled1.Enterprise1PK</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>Enterprise1</abstract-schema-name>
    <cmp-field>
    <field-name>inDate</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>sndSeq</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>msgSnd</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>msgRcv</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>brkId</field-name>
    </cmp-field>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>Enterprise1</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    =================================
    sun-ejb-jar.xml=====================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN' 'http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd'>
    <sun-ejb-jar>
    <enterprise-beans>
    <ejb>
    <ejb-name>Enterprise1</ejb-name>
    <jndi-name>Enterprise1Remote</jndi-name>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>IPLANET</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>IPLANET</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>jdo/sample-cmp</jndi-name>
    <default-resource-principal>
    <name>mv01</name>
    <password>mv01</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    ===========================
    sun-cmp-mappings.xml===============
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-cmp-mappings PUBLIC '-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 OR Mapping //EN' 'http://www.sun.com/software/sunone/appserver/dtds/sun-cmp-mapping_1_0.dtd'>
    <sun-cmp-mappings>
    <sun-cmp-mapping>
    <schema>META-INF/mySchema</schema>
    <entity-mapping>
    <ejb-name>Enterprise1</ejb-name>
    <table-name>TSE_MSG_T</table-name>
    <cmp-field-mapping>
    <field-name>inDate</field-name>
    <column-name>INDATE</column-name>
    </cmp-field-mapping>
    <cmp-field-mapping>
    <field-name>sndSeq</field-name>
    <column-name>SNDSEQ</column-name>
    </cmp-field-mapping>
    <cmp-field-mapping>
    <field-name>msgSnd</field-name>
    <column-name>MSGSND</column-name>
    </cmp-field-mapping>
    <cmp-field-mapping>
    <field-name>msgRcv</field-name>
    <column-name>MSGRCV</column-name>
    </cmp-field-mapping>
    <cmp-field-mapping>
    <field-name>brkId</field-name>
    <column-name>BRKID</column-name>
    </cmp-field-mapping>
    </entity-mapping>
    </sun-cmp-mapping>
    </sun-cmp-mappings>
    =========================

    I remember getting errors like that. The only thing I see is in the map file. When I
    did mine I used TABLENAME.CMPFIELD to map columns to CMP attributes.
    TSE_MSG_T.INDATE
    TSE_MSG_T.SNDSEQ
    for column names in the sun-cmp-mappings.xml file.
    For any other errors set the logging for server1 or which one you are using to "finest".
    Try the deploy, shut down the server, and when you view the log, start at the bottom
    and keep scrolling up to the top of each stack trace and you should get a more
    specific error explanation at about the 3rd or 4th stack trace.

  • (Sun ONE Messaging Server 6.2-8.04)Email sending problem

    situation: user ([email protected]) sent email to [email protected], [email protected], [email protected] and [email protected] then encounter errors message as below, anybody can please help me about what's wrong with the email address or error message?
    This report relates to a message you sent with the following header fields:
    Message-id: <[email protected]>
    Date: Thu, 04 Nov 2010 14:50:19 +0800
    From: [email protected]
    To: [email protected], [email protected], [email protected],
    [email protected]
    Subject: testing
    Your message cannot be delivered to the following recipients:
    Recipient address: @webmail2.rmp.gov.my.lmtp:dccbelaga@lmtpcs-daemon
    Original address: [email protected]
    Reason: Remote SMTP server has rejected address
    Diagnostic code: smtp;555 5.5.4 Unknown RCPT TO parameter ",-2".
    Remote system: dns;webmail2.rmp.gov.my (mbems2 -- Server LMTP [Sun ONE Messaging Server 6.2-8.04 [built Feb 28 2007]])
    Recipient address: @webmail2.rmp.gov.my.lmtp:dccbintulu@lmtpcs-daemon
    Original address: [email protected]
    Reason: Remote SMTP server has rejected address
    Diagnostic code: smtp;555 5.5.4 Unknown RCPT TO parameter ",-2".
    Remote system: dns;webmail2.rmp.gov.my (mbems2 -- Server LMTP [Sun ONE Messaging Server 6.2-8.04 [built Feb 28 2007]])

    This sounds like there is something wrong in your LMTP configuration. Is delivery working at all? Or does it only fail for these addresses?
    I would say to add master_debug to the LMTP channel on the MTA and see what more detail that provides in master debug log files.

Maybe you are looking for

  • Java SFTP API/Sample application

    I'm looking for either sample java code of how to send files via sftp or a java api to do this. Jscape looks to be the standard for doing this although it costs quite a bit, wondering if there is free code out there? Thanks for any help in advance!!!

  • Creation of service order at the time of despatch(invoicing)

    Hello PP Gurus, Is it possible to trigger a service order at the time of despatch(invoicing).If yes how. Thanks in advance. Sudarshan

  • ERROR: Dequeue Element in Acquire Semaphore

    Hi I'm working with TS4.1 + LV8.6 Here's the full error I'm getting: A Run-time error has occurred in step: xMCP Alive? Sequence: MainSequence SequenceFile: R:\HLXC1536\Seq\FCU.seq Error Message: Dequeue Element in Acquire Semaphore.vi:1->NI_Internet

  • How can show the Chinese character in Oracle Report Graph on RedHat Linux?

    The OS is RedHat Linux and I set NLS="SIMPLIED CHINESE_CHINA.ZHS16GBK" in %ORA_AS_HOME%/bin/reports.sh The report file is a JSP Web Report, including Chinese character in web HTML text and graph. Now Chinese character in HTML text can be displayed co

  • Apache configuration for proxying requests to Weblogic SSL port

    Hello Everyone, I want to proxy requests from Apache to Weblogic server on its SSL Port 7002. I am using the default SSL demo version provided by Oracle/BEA. Both my Apache and Weblogic instances are running on same machine. This is the procedure I f