Get blank page in Sun Java System Application Server Platform Edition 8

I installed Sun Java� System Application Server Platform Edition 8 and got blank page in http://localhost:1100/ and http://localhost:1100/hello/.
The port 1100 is my default port of HTTP port.
My enviroment:
Win2000 professional
j2sdk1.4.2_05
Tomcat 4.1 (use port : 8080, and it works fine after installing Sun Java� System Application Server Platform Edition 8 )
Anybody can help me to solve this problem? I really want to learn J2EE by using this way.
This is my server.log when invoking the URL http://localhost:1100/ or http://localhost:1100/hello/ .
===============================================================================
|sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=12;|An exception or error occurred in the container during the request processing
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
     at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
     at java.lang.Thread.run(Thread.java:534)

The way i solved it was the following :
I removed all java related packages/applications/servers etc existing in my pc .
my meaning of remove is complete uninstallation of any java application .
then i installed back again j2sdk1.42_05 then i installed the sun application server .
everything was succesful since then .
If you have any java version installed in your pc , for example j2sdk1.4.2_05 and this
package supports previous servers or other java applications and then you install
sun application server , it doesn't work .
It seems the previous java apps . don't "release" some java resources which are
used or can be used by sun application server .
I hope this can be useful to you .
good luck .
FGOM .

Similar Messages

  • Can't deploy my app on  Sun Java System Application Server Platform Edition

    Hi,
    I am trying to deploy me app on the Sun's app server but I get the following error:
    I am using Sun Java System Application Server Platform Edition 8.2
    Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ejb-jar.xml
    Line 29 Column 15 -- The content of element type "session" must match
    "(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-type,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*)". "It deploys on Orion 2.02
    The ejb.xml file is as follows:
      <enterprise-beans>
        <session>
          <display-name>Facade stateless session bean</display-name>
          <ejb-name>ejb/PetardsFacade</ejb-name>
          <home>com.jag.petardscmsbeans.interfaces.PetardsFacadeHome</home>
          <remote>com.jag.petardscmsbeans.interfaces.PetardsFacade</remote>
          <local-home>com.jag.businesslogic.interfaces.FacadeLocalHome</local-home
          ><local>com.jag.businesslogic.interfaces.FacadeLocal</local>
          <ejb-class>com.jag.petardscmsbeans.ejb.PetardsFacadeEJB</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Container</transaction-type>
          <resource-ref>
            <res-ref-name>jdbc/OracleDSRES</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
          </resource-ref>
          <env-entry>
            <env-entry-name>DSName</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>jdbc/OracleDSRES</env-entry-value>
          </env-entry>
        </session>
      </enterprise-beans>also, in the error message what does ? and * signify?
    Thanks

    This is an element ordering issue. env-entry is before resource-ref in the schema so it must be declared in the same order.
    --ken                                                                                                                                                                                                                                                                               

  • Servlet on "Sun Java System Application Server Platform Edition 9.0"

    Hi Friends,
    I'm using Sun Java System Application Server Platform Edition 9.0
    my server is instatted on "C:\Sun\AppServer\" and rest is default istallation path
    my web page is calling from "C:\Sun\AppServer\domains\domain1\docroot\" folder
    I wrote a test servert and placed the complied
    using the command
    C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>javac -cp C
    :\Sun\AppServer\lib\j2ee.jar TestServlet.java
    C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>
    and placed the class file in "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk\TestServlet.class" having following code
    package in.muk;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Date;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class TestServlet extends HttpServlet {
         public void doGet(HttpServletRequest req, HttpServletResponse res)
              throws IOException, ServletException {
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              out.println("<html><head><title>TestServlet</title>");
              out.println("\t<style>body { font-family: 'Lucida Grande', " +
                   "'Lucida Sans Unicode';font-size: 13px; }</style>");
              out.println("</head><body><p>Current Date/Time: " +     new Date().toString() + "</p>");
              out.println("</body></html>");
              out.close();
    The content of my "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\web.xml" file is
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         version="2.5">
         <servlet>
              <servlet-name>TestServlet</servlet-name>
              <servlet-class>in.muk.TestServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>TestServlet</servlet-name>
              <url-pattern>/TestServlet</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
    </web-app>--------------------
    The content of "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\sun-web.xml"
    is
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
    <sun-web-app error-url="">
      <class-loader delegate="true"/>
      <jsp-config>
        <property name="keepgenerated" value="true">
          <description>Keep a copy of the generated servlet class' java code.</description>
        </property>
      </jsp-config>
    </sun-web-app>--------------
    The proble is I'm not able to call this servlet on web
    with URL
    *http://localhost:8080/TestServlet
    *it is giving "HTTP Status 404 - "
    Could anybody please help me in finding out why I'm not able to access the Servlet.
    Thank you with regards.
    Edited by: mu_kumar on Mar 5, 2008 9:00 PM

    Hello,
    Did you download the window version?
    Download it from
    https://sdlc4e.sun.com/ECom/EComActionServlet;jsessionid=127ACE07200555497A21DDC654885146
    And don't worry, it's the correct version. Also could you check on your PC,
    Start\Programs\ Sun Microsystems\ Application Server PE 9.
    Also which operative system are you using?
    eve

  • Sun Java System Application Server Platform Edition 9.0 (webfolder)

    How do I update files(drag and drop) in the webfolder with out restarting the server.

    Hello,
    Did you download the window version?
    Download it from
    https://sdlc4e.sun.com/ECom/EComActionServlet;jsessionid=127ACE07200555497A21DDC654885146
    And don't worry, it's the correct version. Also could you check on your PC,
    Start\Programs\ Sun Microsystems\ Application Server PE 9.
    Also which operative system are you using?
    eve

  • Sun Java System Application Server Platform Edition 9

    I've done several searches and can't find any threads discussing connecting to the Application Server included with Sun's J2EE SDK.
    JDeveloper (10.1.3.1.0.3984) has nice choices for creating a connection to various application servers:
    OC4J
    Oracle Application Server 10g
    Weblogic
    Tomcat
    JBoss
    But there seems to be no info on how to connect to Sun's SDK server nor Jasper (which I have running on one of my Linux servers).
    Any ideas? Can I just "pretend" it is one of those other types of servers?

    JDeveloper doesn't have a built-in connection to the Sun server, but you can still deploy applications created in JDeveloper to that server.
    The two options that you have are:
    1. Use the sun server Ant tasks and the integrated Ant support in JDeveloper to create an ant build file that does the deployment for you - and run it from within JDeveloper.
    2. Create the EAR/WAR file from JDeveloper and then pick it up from the Sun deployment tools and just deploy it to the server.

  • Help for MDB, with Sun Java System Application Server Platform Edition 8.2

    Hi all,
    Iam having problem in working MDB. Have written & deployed the Bean sucessfully and when am trying to run the Client, to post a new message am getting exceptions
    The Exception i got is
    D:\krb\ejb\Message\MDB>appclient -client MDBClient.jar
    MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login failed:  user=admin, br
    oker=itech-4:7676(1339)
    com.sun.messaging.jms.JMSSecurityException: [C4060]: Login failed:  user=admin,
    broker=itech-4:7676(1339)
            at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(Protocol
    Handler.java:824)
            at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
    .java:749)
            at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
    .java:679)
            at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.j
    ava:416)
            at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connect
    ionImpl.java:1979)
            at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.ja
    va:745)
            at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.
    java:315)
            at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedC
    onnectionImpl.java:33)
            at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionI
    mpl.java:32)
            at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnection
    Factory.java:65)
            at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.j
    ava:131)
            at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnec
    tion(ManagedConnectionFactory.java:148)
            at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
    orAllocator.java:90)
            at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
    ource(IASNonSharedResourcePool.java:437)
            at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
    rce(IASNonSharedResourcePool.java:355)
            at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
    onSharedResourcePool.java:250)
            at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
    anagerImpl.java:213)
            at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
    pl.java:174)
            at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
    tion(ConnectionManagerImpl.java:286)
            at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
    n(ConnectionManagerImpl.java:190)
            at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
    n(ConnectionManagerImpl.java:121)
            at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
    nnectionFactoryAdapter.java:118)
            at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
    nnectionFactoryAdapter.java:89)
            at MessageClient.main(MessageClient.java:39)
            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:585)
            at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
    7)
            at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
            at com.sun.enterprise.appclient.Main.main(Main.java:99)
    Jun 8, 2006 12:40:26 PM com.sun.enterprise.connectors.ConnectionManagerImpl inte
    rnalGetConnection
    WARNING: RAR5117 : Failed to obtain/create connection. Reason : MQRA:MC:Constr:E
    xception on cnxn creation-[C4060]: Login failed:  user=admin, broker=itech-4:767
    6(1339)
    com.sun.messaging.jms.JMSException: MQRA:CFA:allocation failure:createConnection
    :Error in allocating a connection. Cause: MQRA:MC:Constr:Exception on cnxn creat
    ion-[C4060]: Login failed:  user=admin, broker=itech-4:7676(1339)
            at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
    nnectionFactoryAdapter.java:122)
            at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
    nnectionFactoryAdapter.java:89)
            at MessageClient.main(MessageClient.java:39)
            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:585)
            at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
    7)
            at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
            at com.sun.enterprise.appclient.Main.main(Main.java:99)
    Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a
    connection. Cause: MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login fai
    led:  user=admin, broker=itech-4:7676(1339)
            at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
    tion(ConnectionManagerImpl.java:301)
            at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
    n(ConnectionManagerImpl.java:190)
            at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
    n(ConnectionManagerImpl.java:121)
            at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
    nnectionFactoryAdapter.java:118)
            ... 9 more
    Caused by: com.sun.enterprise.resource.PoolingException: MQRA:MC:Constr:Exceptio
    n on cnxn creation-[C4060]: Login failed:  user=admin, broker=itech-4:7676(1339)
            at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
    orAllocator.java:100)
            at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
    ource(IASNonSharedResourcePool.java:437)
            at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
    rce(IASNonSharedResourcePool.java:355)
            at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
    onSharedResourcePool.java:250)
            at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
    anagerImpl.java:213)
            at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
    pl.java:174)
            at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
    tion(ConnectionManagerImpl.java:286)
            ... 12 more
    My MessageDrivenBean is:
    import java.io.Serializable;
    import java.rmi.RemoteException;
    import javax.ejb.EJBException;
    import javax.ejb.MessageDrivenBean;
    import javax.ejb.MessageDrivenContext;
    import javax.ejb.CreateException;
    import javax.naming.*;
    import javax.jms.*;
    public class MyMessageDrivenBean implements MessageDrivenBean, MessageListener {
         private MessageDrivenContext mdc = null;
         private Context context;
         public MyMessageDrivenBean() { }
         public void setMessageDrivenContext(MessageDrivenContext mdc){
              this.mdc = mdc;
         public void ejbCreate() { }
         public void onMessage(Message msg){
              try{
                   if(msg instanceof TextMessage) {
                        TextMessage txtMsg = (TextMessage) msg;
                        System.out.println("The Received Message is: "+txtMsg.getText());
                   } else {
                        System.out.println("Incorrect Message Type");
              } catch(JMSException e){
                   e.printStackTrace();
         public void ejbRemove() { }
    My Client is:
    import javax.jms.*;
    import javax.naming.*;
    import java.util.*;
    public class MessageClient {
         public static void main(String arg []) {
              InitialContext ctx = null;
              ConnectionFactory conFact = null;
              Connection con = null;
              Session ses = null;
              Destination dest = null;
              MessageProducer msgPrd = null;
              TextMessage msg = null;
              try {
                   ctx = new InitialContext();
              } catch(NamingException e) {
                   e.printStackTrace();
              try {
                   conFact = (ConnectionFactory) ctx.lookup("java:comp/env/jms/BankConnectionFactory");
                   dest = (javax.jms.Queue) ctx.lookup("java:comp/env/jms/BankPhysicalDest");
              } catch(NamingException e) {
                   e.printStackTrace();
              try {
                   con = conFact.createConnection();
                   ses = con.createSession(false, Session.AUTO_ACKNOWLEDGE);
                   msgPrd = ses.createProducer(dest);
                   msg = ses.createTextMessage();
                   msg.setText("This is first Message");
                   msgPrd.send(msg);
                   msg.setText("This is second Message");
                   msgPrd.send(msg);
              } catch(JMSException e){
                   e.printStackTrace();
              } catch(Exception e){
                   e.printStackTrace();
              } finally{
                   if(con != null){
                        try{
                             con.close();
                        } catch(JMSException e){
                             e.printStackTrace();
                        } catch(Exception e){
                             e.printStackTrace();
    My JMS CONNECTION FACTORY RESOURCES are:
    1.     CONNECTION FACTORIES
    a.     JNDI NAME: jms/QueueConnFactory
    b.     TYPE: javax.jms.QueueConnectionFactory
    2.     PHYSICAL DESTINATION
    a. NAME: PhysicalQueue
    3.     DESTINATION RESOURCES
    a.     JNDI: jms/MessageQueue
    b.     TYPE: javax.jms.Queue
    c.     ADDITIONAL PROPERTIES � NAME: PhysicalQueue
    My Message-Driven Bean Settings:
    i.     Destination Type: javax.jms.Queue
    ii.     Target Destination: PhysicalQueue
    iii.     Connection Factory JNDI Name: jms/QueueConnFactory
    My MDBClient Settings are
    a.     Resource Refs
    i.     Coded Name: jms/BankConnectionFactory
    ii.     Type: javax.jms.ConnectionFactory
    iii.     Authentication: Container
    iv.     JNDI Name: jms/QueueConnFactory
    v.     User Name: admin
    vi.     Password: password
    b.     Msg Dest Refs
    i.     Coded Name: jms/BankPhysicalDest
    ii.     Destination Type: javax.jms.Queue
    iii.     Usage: ConsumesProduces
    iv.     Target Destination: PhysicalQueue
    c.     Message Destinations
    i.     Destination Name: PhysicalQueue
    ii.     JNDI Name: jms/MessageQueue
    My MDBAppl settings
    a.     JNDI Name: jms/MessageQueue
    b.     References: jms/QueueConnFactory
    My MDBJAR Settings
    a.     Message Destinations
    i.     Destination Name: PhysicalQueue
    ii.     JNDI Name: jms/MessageQueue
    My MyMessageDrivenBean File Settings
    a.     Transactions: Container-Managed
    b.     Transaction Attribute: Required
    and am RUNNING THE APPLICATION using
    appclient -client MDBClient.jar
    Pls help me to solve this problem
    rgds
    Ravi Bharathi

    Default username/password is admin/admin.
    Since the auth-type is container do not provide any username/password in the client descriptor and try.

  • Servlet configration on "Sun Java System Application Server Platform Editio

    Hi Friends,
    I'm using Sun Java System Application Server Platform Edition 9.0
    my server is instatted on "C:\Sun\AppServer\" and rest is default istallation path
    my web page is calling from "C:\Sun\AppServer\domains\domain1\docroot\" folder
    I wrote a test servert and placed the complied class file in "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk\TestServlet.class" having following code
    using the command
    C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>javac -cp C
    :\Sun\AppServer\lib\j2ee.jar TestServlet.java
    C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>
    {noformat}<code>package in.muk;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Date;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class TestServlet extends HttpServlet {
    public void doGet(HttpServletRequest req, HttpServletResponse res)
    throws IOException, ServletException {
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              out.println("<html><head><title>TestServlet</title>");
              out.println("\t<style>body { font-family: 'Lucida Grande', " +
                   "'Lucida Sans Unicode';font-size: 13px; }</style>");
              out.println("</head><body><p>Current Date/Time: " +     new Date().toString() + "</p>");
              out.println("</body></html>");
              out.close();
    </code>{noformat}
    The content of my "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\web.xml" file is
    {noformat}<code><?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         version="2.5">
         <servlet>
              <servlet-name>TestServlet</servlet-name>
              <servlet-class>in.muk.TestServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>TestServlet</servlet-name>
              <url-pattern>/TestServlet</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    </code>{noformat}
    The content of "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\sun-web.xml"
    is -----
    {noformat}<code><?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
    <sun-web-app error-url="">
    <class-loader delegate="true"/>
    <jsp-config>
    <property name="keepgenerated" value="true">
    <description>Keep a copy of the generated servlet class' java code.</description>
    </property>
    </jsp-config>
    </sun-web-app>
    </code>{noformat}
    The proble is I'm not able to call this servlet on web
    with URL
    http://localhost:8080/TestServlet
    it is giving "HTTP Status 404 - "
    Could you please help me in finding out where is the error

    Thanks for the reply.
    I am using Sun Java System Application Server Platform Edition 8.2 (build b06-fcs). Could be some problem in the application itself. Can you suggest what may be missing? As suggested in the bug description i used the wscompile -infix option as well.

  • How to configure Sun Java System Application Server Enterprise Edition 8.1

    hi all,
    How to configure Sun Java System Application Server Enterprise Edition 8.1 to my IDE..( jstudio)
    I have installed jes for my windows system.. so that i have removed platform version of Application Server..
    I try to add the Enterprise application Server (Sun Java System Application Server Enterprise Edition 8.1) to JStudio IDE..
    but i couldn't;

    Configuring your IDE to integrate with Sun App Server is something you probably will have to ask in some sort of JStudio forum. Other than for Netbeans, Eclipse, or possibly IntelliJ IDEA, you might not have much luck answering an IDE question here. I could be wrong though. Maybe somebody will have an answer for you and set me straight.

  • New to JEE5 not running  Sun Java System Application Server Platform  9

    Hi! I've downloaded the JEE5 in Windows XP, the installation was fine, I start the server following this
    From the Start menu, Programs => Sun Microsystems => Application Server PE=> Start Default Server.
    and this message appears: Domain domain1 is ready to receive client requests. Additional services are being started in the background.
    but when I confirm that the server is running clicking here:
    http://localhost:8080.
    it's not running.
    I didn't change the default settings in the installation, and I have the PATH variable set to C:\Sun\AppServer\bin.
    But this one does work fine:
    http://localhost:4848/asadmin/admingui/TopFrameset.
    What could be happening?

    What could be happening is that port 8080 has been in use at the time you were installing Java EE SDK and installer selected an alternative HTTP port number for you - if you were not paying close attention to the content of the appropriate installer text box it is rather easy to miss it...
    To check which port is being used, access admin console at
    http://localhost:4848
    and log in. Click "Application Server" on the left side menu and you'll see the list of port numbers used. First port listed under HTTP Port(s) is the one you should use to access your server.

  • Wild bug on Sun Java System Application Server 9.1 (build b41d-beta2)

    i'am facing a strange problem when i try to deploy any application that utilizes ajax4jsf 1.1.1 also it works fine when i deployed the webapplication on tomcat 6 and on Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01)
    please help
    the exception was
    [#|2007-07-05T13:21:48.333+0400|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1258595) threw exception
    javax.faces.FacesException: javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1550)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
    at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
    at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
    at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
    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 javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
    ... 51 more
    Caused by: java.lang.NullPointerException
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
    at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
    at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
    ... 57 more
    |#]
    [#|2007-07-05T13:21:48.333+0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
    javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
    at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
    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 javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
    at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
    at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: java.lang.NullPointerException
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
    at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
    at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
    ... 57 more
    |#]

    Hi,
    Did you ever figure out what the problem was? I am having the same issue.
    Kind Regards,
    Andre

  • How deploy the EJB in security on the Sun Java System Application Server 9?

    I hava deploied a simple Hello EJB Object on PE 9(Sun Java System Application Server Platform Edition 9). I can use this EJB object without user name an password On any client. See the following code section:
         public static void main(String[] args) {
              try{
                   Properties props = System.getProperties();
                   props.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.enterprise.naming.SerialInitContextFactory");
                   props.put(Context.PROVIDER_URL,"iiop://localhost:3700");
                   Context ctx = new InitialContext(props);
                   Hello h = (Hello) ctx.lookup("ejb/test/Hello");
                   System.out.println(h.sayHello());
              }catch(Exception e){
                   e.printStackTrace();
    Please tell me how deploy the EJB in security on the Sun Java System Application Server 9? So that, The client must set the user name and password when lookup the ejb object. Like the following:
    props.put(Context.SECURITY_PRINCIPAL,"admin")
    props.put(Context.SECURITY_CREDENTIALS,"1234");

    Guys,
    I too have the same issue. If anyone has an answer, please let me know.
    Is this GlassFish problem? or Prgram issue?
    Find below the source code
    package TransactionSecurity.bean;
    import javax.annotation.Resource;
    import javax.annotation.security.DeclareRoles;
    import javax.annotation.security.PermitAll;
    import javax.annotation.security.RolesAllowed;
    import javax.ejb.Remote;
    import javax.ejb.SessionContext;
    import javax.ejb.Stateless;
    import javax.ejb.TransactionAttribute;
    import javax.ejb.TransactionAttributeType;
    @Stateless
    @Remote(TSCalculator.class)
    @DeclareRoles({"student", "teacher"})
    public class TSCalculatorBean implements TSCalculator {
         private @Resource SessionContext ctx;
         @PermitAll
    //     @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
         public int add(int x, int y) {
              System.out.println("CalculatorBean.add  Caller Principal:" + ctx.getCallerPrincipal().getName());
              return x + y;
         @RolesAllowed( { "student" })
         public int subtract(int x, int y) {
              System.out.println("CalculatorBean.subtract  Caller Principal:" + ctx.getCallerPrincipal().getName());
              System.out.println("CalculatorBean.subtract  isCallerInRole:" + ctx.isCallerInRole("student"));
              return x - y;
         @RolesAllowed( { "teacher" })
         public int divide(int x, int y) {
              System.out.println("CalculatorBean.divide  Caller Principal:" + ctx.getCallerPrincipal().getName());
              System.out.println("CalculatorBean.divide  isCallerInRole:" + ctx.isCallerInRole("teacher"));
              return x / y;
    package TransactionSecurity.bean;
    import javax.ejb.Remote;
    @Remote
    public interface TSCalculator {
            public int add(int x, int y);
            public int subtract(int x, int y);
            public int divide(int x, int y);
    package TransactionSecurity.client;
    import java.util.Properties;
    import javax.ejb.EJBAccessException;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import TransactionSecurity.bean.TSCalculator;
    public class TSCalculatorClient {
         public static void main(String[] args) throws Exception {
              // Establish the proxy with an incorrect security identity
              Properties env = new Properties();
              env.setProperty(Context.SECURITY_PRINCIPAL, "kabir");
              env.setProperty(Context.SECURITY_CREDENTIALS, "validpassword");
            env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"com.sun.appserv.naming.S1ASCtxFactory");
            env.setProperty(Context.PROVIDER_URL,"iiop://127.0.0.1:3700");
            env.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory");
            env.setProperty("java.naming.factory.url.pkgs","com.sun.enterprise.naming");
            env.setProperty("java.naming.factory.state","com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
            env.setProperty("org.omg.CORBA.ORBInitialHost", "127.0.0.1");
            env.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
              InitialContext ctx = new InitialContext(env);
              TSCalculator calculator = null;
              try {
                   calculator = (TSCalculator) ctx.lookup(TSCalculator.class.getName());
              } catch (Exception e) {
                   System.out.println ("Error in Lookup");
                   e.printStackTrace();
                   System.exit(1);
              System.out.println("Kabir is a student.");
              System.out.println("Kabir types in the wrong password");
              try {
                   System.out.println("1 + 1 = " + calculator.add(1, 1));
              } catch (EJBAccessException ex) {
                   System.out.println("Saw expected SecurityException: "
                             + ex.getMessage());
              System.out.println("Kabir types in correct password.");
              System.out.println("Kabir does unchecked addition.");
              // Re-establish the proxy with the correct security identity
              env.setProperty(Context.SECURITY_CREDENTIALS, "validpassword");
              ctx = new InitialContext(env);
              calculator = (TSCalculator) ctx.lookup(TSCalculator.class.getName());
              System.out.println("1 + 1 = " + calculator.add(1, 1));
              System.out.println("Kabir is not a teacher so he cannot do division");
              try {
                   calculator.divide(16, 4);
              } catch (javax.ejb.EJBAccessException ex) {
                   System.out.println(ex.getMessage());
              System.out.println("Students are allowed to do subtraction");
              System.out.println("1 - 1 = " + calculator.subtract(1, 1));
    }The user kabir is created in the server and this user belongs to the group student.
    Also, I have enabled the "Default Principal To Role Mapping"
    BTW, I'm able to run other EJB3 examples [that does'nt involve any
    security features] without any problems.
    Below is the ERROR
    Error in Lookupjavax.naming.NamingException: ejb ref resolution error for remote business interfaceTransactionSecurity.bean.TSCalculator [Root exception is java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
         org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No
         at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
         at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
         at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
         at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
    ----------END server-side stack trace----------  vmcid: 0x0  minor code: 0  completed: No]
         at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:425)
         at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:74)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at TransactionSecurity.client.TSCalculatorClient.main(TSCalculatorClient.java:35)
    Caused by: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
         org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No
         at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
         at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
         at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
         at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
    ----------END server-side stack trace----------  vmcid: 0x0  minor code: 0  completed: No
         at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:277)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
         at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
         at com.sun.ejb.codegen._GenericEJBHome_Generated_DynamicStub.create(com/sun/ejb/codegen/_GenericEJBHome_Generated_DynamicStub.java)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:372)
         ... 5 more
    Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No
         at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
         at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
         at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
         at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
    ----------END server-side stack trace----------  vmcid: 0x0  minor code: 0  completed: No
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:913)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:131)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:685)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:472)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:363)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192)
         ... 13 moreAny help is appreciated.
    Regards!
    Nithi.
    Edited by: EJB3 on Aug 17, 2008 8:17 PM

  • Cannot install Sun Java System Application Server

    When trying to install the J2EE platform - specifically the "Sun Java System Application Server Platform Edition 8 2005Q1" - on my Windows XP SP2 Pro computer, the installation process terminates while checking disk space. The same thing happens when I try to install earlier versions. I have more than 20 GByte free on disk and JDK1.5.0_1 previously installed.
    What did I do wrong?

    Try to run the setup with -javahome option, followed by the JDK 5 home directory. If the installer has the option to enable the verbose mode, enable it.
    Claudio

  • Sun Java System Application Server could not start

    Hi
    I have installed JDK1.5 Update1 + netbeans 5.5 with the JBOSS bundle and added the Sun Java System Application Server 9.1.02.
    I am creating the EJB-JMS application described at
    http://www.netbeans.org/kb/55/ejb30.html
    All the steps are followed properly, but while running the project i get the error
    The Sun Java System Application Server could not start.
    More information about the cause is in the Server log file.
    Possible reasons include:
    - IDE timeout: refresh the server node to see if it's running now.
    - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
    - Incorrect server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    - Invalid installation location.
    D:\MyNBProjects\EJBAPP1\nbproject\build-impl.xml:183: Deployment error:
    The Sun Java System Application Server could not start.
    More information about the cause is in the Server log file.
    Possible reasons include:
    - IDE timeout: refresh the server node to see if it's running now.
    - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
    - Incorrect server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    - Invalid installation location.
    See the server log for details.
    BUILD FAILED (total time: 5 minutes 3 seconds)

    Hi Roman,
    Sorry for the long wait....
    In the mean time I have downloaded NB6.1 (final Release) and JDK 1.6.0_04,added the sjsas-9_1_02 to NB6.1, all are in D:\javak (where previous setup of NB5.5 and jdk1.5 and SJSAS-9_1_02 is AS IS in D:\java)
    Current Scenario:
    Product Version: NetBeans IDE 6.1 (Build 200805300101)
    Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
    System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
    Userdir: D:\Documents and Settings\kedar\.netbeans\6.1
    Now, when i try to Run the SAME code i get the following error:
    Created dir: D:\ProjectsNB\EJBAPP1\dist
    Building jar: D:\ProjectsNB\EJBAPP1\dist\EJBAPP1.ear
    post-dist:
    dist:
    pre-run-deploy:
    Initial deploying EJBAPP1 to D:\ProjectsNB\EJBAPP1\dist\gfdeploy
    Error during incremental deploy: java.lang.NullPointerException
    Start registering the project's server resources
    Finished registering server resources
    java.lang.NullPointerException
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.getFileArchive(DirectoryDeploymentFacility.java:264)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:168)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    java.lang.IllegalStateException: cannot find FileArchive class...
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Deployment error:
    cannot find FileArchive class...
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Caused by: java.lang.IllegalStateException: cannot find FileArchive class...
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:194)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
    ... 16 more
    Caused by: java.lang.IllegalStateException: cannot find FileArchive class...
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
    ... 20 more
    BUILD FAILED (total time: 9 seconds)
    Thanks,
    Kedar.

  • ColdFusion compatibility with Sun Java System Application Server

    Background: A vendor that is doing a project for our
    department told us that ColdFusion MX 6.1 is not compatible with
    Sun Java System Application Server Enterprise Edition 8.1 and
    beyond. Since we are migrating our server environment to this
    release of Sun Java System Application Server Enterprise Edition,
    we face a difficult situation in that our ColdFusion applications
    will no longer run. Thus, we would like Adobe to answer a couple
    questions which will help us determine what course of action we
    ought to take.
    Q: Will applications we developed using ColdFusion MX 6.1 run
    on Sun Java System Application Server Enterprise Edition 8.1? Below
    is a detailed description of the Sun Java System Application Server
    Enterprise Edition we intend to migrate to.
    Q: Is Adobe aware of any compatibility issues with this
    configuration?
    Q: What is Adobe's support commitment regarding future
    releases of ColdFusion MX and Sun Java System Application Server
    Enterprise Edition? Does Adobe intend to continue support this
    environment?
    Configuration: Sun Java System Application Server Enterprise
    Edition 8.1_02 (build b24-p11)
    Below is the specification levels for the 8.1 server
    (J2EE1.4), note it can use J2SE 1.4.2_06 or 5.0 as the JAVA
    runtime.
    J2EE 1.4 compatible
    Components: J2SE 1.4.2_06 or J2SE 5.0
    Application and Application Client
    Enterprise JavaBeans (EJB) 2.1
    Java Servlet 2.4
    JavaServer Pages(JSP) 2.0
    J2EE Connector Architecture 1.5
    JMX 1.2
    JMS 1.1
    Java Naming and Directory Interface (JNDI) 1.2
    and Java Transaction API (JTA) 1.0
    Web Services:Java Web Services Developer Pack 1.5
    Java APIs for XML Registries (JAXR) 1.0
    Java API for XML-based Remote Procedure Calls (JAX-RPC) 1.1
    SOAP With Attachments API for Java (SAAJ) 1.2
    WS-I Basic Profile 1.0
    Other:J2EE Deployment 1.1
    J2EE Management 1.0
    Java API for XML Processing (JAXP) 1.2
    JavaMail 1.3
    Java Authentication and Authorization Service (JAAS) 1.0
    Java Authorization Contract for Containers (JACC) 1.0

    First of all, is there a reason why you are using jRockit?
    Since the issue appeared after upgrading the windows, the issue would potentially be in the interaction between JVM and OS.
    Also, there were some issues related to memory leak that were fixed in AS 8.2.
    May be you should try with a Sun JVM and AS 8.2.

  • Sun Java System Application Server 8.0

    after succesfull installing of application server when i give URL in browser http://localhost:8080 its shows me blank screen in browser
    but when i check in log i get this error message..
    while runnig this server rest all server are stopped and i have assign port 8080 for this server only..
    sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=11;|An exception or error occurred in the container during the request processing
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
         at java.lang.Thread.run(Thread.java:534)

    Hi,
    On a similar note, I am able to install Sun Java System Application Server 8 but I am getting following error while applying asadmin start-domain --verbose domain1 to start the default domain. I am pasting the relevant section of log file below. Can someone please help me correct the issue? Thanks-in-advance!
    [#|2009-09-16T23:44:36.203-0700|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Service [email protected] cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]|#]
    [#|2009-09-16T23:44:36.203-0700|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
    com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]
    at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:104)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: java.io.IOException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]
    at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
    at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:177)
    at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:95)
    ... 3 more
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]
    at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
    at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
    at javax.naming.InitialContext.bind(InitialContext.java:359)
    at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
    ... 5 more

Maybe you are looking for

  • Problem with Report on Multiprovider

    Hi All, I am getting key fig value more than the expected value in the report output, Report is on Multiprovider, I have checked in to cubes, values in the cubes and reports are same, I have checked in TR and UR there is no routines, But Data source

  • S3 Sleep Issue with DKA790GX Platinum

    Upon waking from S3 sleep, my cpu fan and rear case fan run 300rpm's slower than before the system goes into sleep mode and they never recover speed.  The front case fan returns to normal speed.  I am seeing the speed difference in Speedfan as well a

  • ANOTHER forgotten passcode query...but a bit different...

    Hey guys,  I've had an iphone 5s as my work phone for the past couple of months now, used to have the standard 4 digit code, with the fingerprint.  We have an MDM software on the phones and we had to input a new 8 digit passcode!!!! Low and behold, i

  • HOW TO COUNT IMMEDIATE CHILDREN OF A NODE?

    Hi I need count the immediate children for all node of a tree with analitic functions. Somebody have any idea?. ty

  • Download Adobe Acrobat Pro9

    I would need to install the Adobe Acrobat Pro 9 version in my new PC.