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                                                                                                                                                                                                                                                                               

Similar Messages

  • 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 .

  • 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

    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.

  • 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

  • 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.

  • How can I run a servlet with Sun Java System Application Server PE 8?

    I've created a package with a TestServlet.class inside, used the deploytool to create a WAR and deployed this using the autodeploy folder.
    The filestructure has been generated and I find the TestServlet.class in
    [installdir]\domains\domain1\applications\j2ee-modules\testProject\WEB-INF\classes\[packagefolderstructure]\TestServlet.class.
    The context root is working fine, but I have no clue how I can run the servlet directly via the URL.
    I've tried many things like
    http://localhost:8080/testProject/TestServlet
    http://localhost:8080/testProject/servlet/TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithpoints]TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithslashes]TestServlet
    etc etc
    Can somebody tell me please how to write URLs to deployed servlets? Or send me an example url and xml descriptor files?
    Thanks a lot in advance!

    in web.xml use servlet mapping
    <servlet-mapping>
        <servlet-name>TestServlet</servlet-name>
        <url-pattern>/doit</url-pattern>
    </servlet-mapping>then use http://localhost:8080/testProject/doit

  • 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

  • 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

  • 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

  • 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.

  • How can I deploy JBI Application in Sun Java System Application Server 9?

    I developed a demo "Loan Processing Composite Application " in Netbeans.org(http://www.netbeans.org/kb/55/loanprocessing.html).
    The guide only show the deployment using Netbeans6.Now I want to deploy it directly using Server9 , how can I do?
    How to deploy a soa application in Sun Java System Application Server 9? Is there any doc?
    Please~~I'm puzzled.

    To deploy a JBI application to Sun's App Server, you will need a JBI compliant ESB installed. OpenESB would be my first choice here. Then as far as installing your components without Netbeans, there are two choices. 1) Copy your SA's to the JBI/ESB autodeploy directory and you binding components and service engines to the JBI/ESB autoinstall directory. 2) Use the ant tasks that the JBI specification (http://jcp.org/en/jsr/detail?id=208) requires for all JBI implementations. OpenESB's JBI tasks are detailed here: http://wiki.open-esb.java.net/Wiki.jsp?page=JBIAntTaskReference. These ant tasks can be wrapped with maven goals if needed.
    Jeff

Maybe you are looking for

  • VS 2005 CR integrated report connection with more than one database

    Hello, I am using VS 2005 to make a reporting application. I am using the Crystal Reports Viewer and I need to know how to integrate the report login information for more than one database. Here is the VB code I have for one connection: Imports Cryst

  • Using a 4:3 17" LCD with a 1st gen intel MacBook

    I have 2 MacBook's that we use in the office for our sales team. They like to have them hooked up to the 17" LCDs with external mice and keyboards. The problem is that when I mirror the display it shows up on the monitor as a 16:9 display... giving m

  • 2 video cards - 4 monitors

    hi, I run a 2008 Mac Pro with 2 video cards and 4 monitors (I know...:-)) When I select "show viewers on second display", it goes to one of the 3 available, problem is, sometimes is one, sometimes is another, and I don't seem to have the means to tel

  • Visibility properties of an input file

    Hi all gurus, in a WDDOMODIFYVIEW method of a standard view in SRM 7, I'm adding some dinamically retrieved custom fields. Here's a sketch of code that shows how I create the couple label and attribute for a field:: LOOP AT lt_header_csf INTO ls_head

  • CG's Moans and Groans - But Wireless N solves ever...

    Hallo All, You know me on these forums to have a ruddy good moan, well this time I'm gunna have a ruddy good discussion. The other night I was trying to stream a 750MB video file of Stevie Nicks singing live in Chicago from my lappy (which is a tad s