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.

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

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

  • How to install Sun Java System Application Server PE 9 in debian

    Hi,
    I have ubuntu installed on my system. I wanted to install the Sun Java System Application Server PE 9 on it. I didn't see any debian package for it on Sun's downloads. I downloaded the linux version and tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    Or if you already have the required Java(TM) 2 Runtime Environment
    installed, try rerunning this application with the following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM) installation directory>
    root@vineet:/usr/src# ./java_ee_sdk-5-linux.bin -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    Vineet

    Hi,
    I have ubuntu installed on my system. I wanted to
    install the Sun Java System Application Server PE 9
    on it. I didn't see any debian package for it on
    Sun's downloads. I downloaded the linux version and
    tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the
    Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the
    Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime
    Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    f you already have the required Java(TM) 2 Runtime
    Environment
    installed, try rerunning this application with the
    following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM)
    installation directory>
    oot@vineet:/usr/src# ./java_ee_sdk-5-linux.bin
    -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    VineetDo you have java 5 sdk on your machine (Or at the very least java 5 re) ?
    Have you tried the command that they gave ?

  • How to customize 404 error of Sun Java System Application Server Enterprise

    Hi,
    I want to customize the 404 error message in Sun Application Server Enterprise Edition8.2.
    If anyone knows the way, please help me out.
    Thanks
    Randhir

    Randhir,
    I think the documentation at the url below should help you out. If this isn't what you're looking for let me know and I'll try to dig deaper.
    http://docs.sun.com/app/docs/doc/819-4734/beagh?l=en&a=view
    Good Luck,
    John
    Edited by: m305653 on Jun 8, 2008 8:04 AM

  • How to config  Sun Java System Application Server 9

    Hi
    I developed a small web application using Netbeans Visual Web and Sun java application
    Server 9. and it working fine. Now how can I access the application from another machine
    (Clint) through net work
    Can anyone please help?

    Huh? You'd have to go to some trouble to make it [bold]not[bold] accessible from another machine on the network! Just point your web browser at the machine, as you must have done during development and testing. If you pointed your browser at localhost before, replace localhost with either the host name or IP address of your web server

  • How to start Sun Java System Application Server 9.0

    yesterday morning i downloaded the software from sun.java.com and installed it .but i failed in starting the application server on my system(windows). i read the quick start guide and followed the steps : <From the Start menu, choose Programs => Sun Microsystems => Application Server PE 9 => Start Default Server. > the first try the message appeared in the command window is <domain listens on at least following ports for connections:[8080 8181 4848 3700 3820 3920 8686 ]> . i tried it later for several times ,but i got a same answer [b]<the domain (domain1) is already running .cli156 could not start the domain domain1> . both of the two answers are different from the message shows in the Guide . finally i failed . i hope someone can help me , i will really appreciate it .
    sent by :
    meansun

    dear skgaju,thank you very much ! but i am still in the trouble. i failed in the step http://<IP>:port/ whether i typed the port number 4849 or 4848 . and then i try to open domain.xml. but it shows [the system can not find the appointed object and something wrong when system deals with the resource : of 'http://www.sun.com/software/appserver/dtds/sun-domain_1_2.dtd' . i puzzled. could you tell me what's wrong with my machine?

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

  • How to Connect Sun Java System Application Server to MySQL?

    Hi,
    I am new to the SJSAS and I want to use MySQL 5.0 as my database.
    I have searched the web for a step by step for configuring the two softwares
    but I did not find anything?
    Can someone help?
    Thanks

    Hi,
    You can refer SJSAS Developer, Administration guides for database access.
    Chapter 15 Using the JDBC API for Database Access
    http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5bi?a=view
    To configure mysql :
    Configurations for Specific JDBC Drivers
    http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view
    Thanks,
    -Jagadish

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

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

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

Maybe you are looking for