What is your most-used Sun Java Creator feature/widget/key sequence

As I am learning about the IDE and using it to develop apps, I wonder about the most commonly used features that I have yet to learn about. Especially the key sequences that could save me time.
What features do you find yourself using the most? What features do you rely on as productivity enhancers?

Hi,
Thanks for your interest in Sun Java Studio Creator.
Apparently the Studio Creator offers drag-and-drop, RAD approach to J2EE development. Java Studio Creator blends together technologies such as JSF, JDBC Rowsets, and the Web Services APIs to give J2EE developers a brisk-start when it comes to building web applications. The developers without being tied to proprietary technologies, developers can work with and within Creator or easily take their code with them to a number of development platforms.
Requirement of more sophisticated technologies to meet user demands, enterprise developers can incorporate EJB's.
Please have a walkthrough of the IDE features in the following links.
http://www.sun.com/software/products/jscreator/features.xml
http://developer.sun.com/prodtech/javatools/jscreator/
Keep looking for new features and updates of the iDE.
Cheers :)
Creator Team.

Similar Messages

  • JSF using Sun Java Studio Creator 2

    hi every body:
    i developed an application using Sun Java Studio Creator 2 , now by default the url patterns the creator generates is like this:
    ...../faces/page1.jsp
    now i want the ,, i need to change the extension of the page , so i want to replace it from .jsp to .abc for example , and i want to remove the /faces prefix for each page....
    that's all
    thanks in advance

    Modify URL-PATTERN for your Faces Servlet from /faces/* to *.abc in web.xml
    change
    <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>to
      <servlet>
           <servlet-name>Faces Servlet</servlet-name>
           <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.abc</url-pattern>
        </servlet-mapping>hope that might help :)
    REGARDS,
    RaHuL

  • Webboard project using sun java studio creator 2

    I would like to create a simple webboard using Sun Java Studio Creator 2. In the View Topic page, there are a subject and a message creator by the owner of the subject. Then there are messages reply by others. I use Table component to list all the messages. I put a Static Text and a Text Area component in a group panel. And put a group panel in a Table Column. I bind the the reply message with the Text Area.
    My problems are...
    1. The Text Area have the same value for every row.
    2. I changed the Text Area to Static Text. The binding is successful. However, it cannot display multiline message. Please suggest a component that is more suitable to bind the variable lines message. I would like each row to have different height depending on the length of the message.
    My jsp is as follows.
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <ui:page binding="#{ReadTopic.page1}" id="page1">
                <ui:html binding="#{ReadTopic.html1}" id="html1">
                    <ui:head binding="#{ReadTopic.head1}" id="head1">
                        <ui:link binding="#{ReadTopic.link1}" id="link1" url="/resources/stylesheet.css"/>
                    </ui:head>
                    <ui:body binding="#{ReadTopic.body1}" id="body1" style="-rave-layout: grid">
                        <ui:form binding="#{ReadTopic.form1}" id="form1">
                            <ui:staticText binding="#{ReadTopic.staticText1}" id="staticText1" style="left: 120px; top: 24px; position: absolute"/>
                            <ui:messageGroup binding="#{ReadTopic.messageGroup1}" id="messageGroup1" style="position: absolute; left: 432px; top: 24px"/>
                            <ui:staticText binding="#{ReadTopic.staticText5}" id="staticText5" style="left: 120px; top: 72px; position: absolute" text="#{ReadTopic.topicGetNameDataProvider.value['topic.Owner']}"/>
                            <ui:staticText binding="#{ReadTopic.staticText6}" id="staticText6" style="left: 120px; top: 120px; position: absolute" text="#{ReadTopic.topicGetNameDataProvider.value['topic.Subject']}"/>
                            <ui:label binding="#{ReadTopic.label1}" id="label1" style="position: absolute; left: 24px; top: 24px" text="Topic No:"/>
                            <ui:label binding="#{ReadTopic.label2}" id="label2" style="position: absolute; left: 24px; top: 72px" text="Owner:"/>
                            <ui:label binding="#{ReadTopic.label3}" id="label3" style="position: absolute; left: 24px; top: 120px" text="Subject:"/>
                            <ui:button action="#{ReadTopic.button1_action}" binding="#{ReadTopic.button1}" id="button1"
                                style="left: 23px; top: 168px; position: absolute" text="Reply"/>
                            <ui:table augmentTitle="false" binding="#{ReadTopic.table2}" id="table2" style="left: 24px; top: 216px; position: absolute; width: 0px" width="0">
                                <script><![CDATA[
    /* ----- Functions for Table Preferences Panel ----- */
    * Toggle the table preferences panel open or closed
    function togglePreferencesPanel() {
      var table = document.getElementById("form1:table2");
      table.toggleTblePreferencesPanel();
    /* ----- Functions for Filter Panel ----- */
    * Return true if the filter menu has actually changed,
    * so the corresponding event should be allowed to continue.
    function filterMenuChanged() {
      var table = document.getElementById("form1:table2");
      return table.filterMenuChanged();
    * Toggle the custom filter panel (if any) open or closed.
    function toggleFilterPanel() {
      var table = document.getElementById("form1:table2");
      return table.toggleTableFilterPanel();
    /* ----- Functions for Table Actions ----- */
    * Initialize all rows of the table when the state
    * of selected rows changes.
    function initAllRows() {
      var table = document.getElementById("form1:table2");
      table.initAllRows();
    * Set the selected state for the given row groups
    * displayed in the table.  This functionality requires
    * the 'selectId' of the tableColumn to be set.
    * @param rowGroupId HTML element id of the tableRowGroup component
    * @param selected Flag indicating whether components should be selected
    function selectGroupRows(rowGroupId, selected) {
      var table = document.getElementById("form1:table2");
      table.selectGroupRows(rowGroupId, selected);
    * Disable all table actions if no rows have been selected.
    function disableActions() {
      // Determine whether any rows are currently selected
      var table = document.getElementById("form1:table2");
      var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
      // Set disabled state for top actions
      document.getElementById("form1:table2:tableActionsTop:deleteTop").setDisabled(disabled);
      // Set disabled state for bottom actions
      document.getElementById("form1:table2:tableActionsBottom:deleteBottom").setDisabled(disabled);
    }]]></script>
                                <ui:tableRowGroup binding="#{ReadTopic.tableRowGroup2}" id="tableRowGroup2" rows="10"
                                    sourceData="#{ReadTopic.topicdetailDataProvider}" sourceVar="currentRow">
                                    <ui:tableColumn binding="#{ReadTopic.tableColumn4}" id="tableColumn4" width="80%">
                                        <ui:panelGroup binding="#{ReadTopic.groupPanel1}" id="groupPanel1" style="height: 94px; width: 238px">
                                            <h:panelGrid binding="#{ReadTopic.gridPanel1}" border="0" columns="2" id="gridPanel1" width="100%">
                                                <ui:label binding="#{ReadTopic.label4}" id="label4" text="No:"/>
                                                <ui:staticText binding="#{ReadTopic.staticText11}" id="staticText11" text="#{currentRow.value['topicdetail.No']}"/>
                                                <ui:label binding="#{ReadTopic.label5}" id="label5" text="Name:"/>
                                                <ui:staticText binding="#{ReadTopic.staticText12}" id="staticText12" text="#{currentRow.value['topicdetail.Name']}"/>
                                                <ui:label binding="#{ReadTopic.label6}" id="label6" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3634;&#3617;:"/>
                                                <ui:staticText binding="#{ReadTopic.staticText10}" id="staticText10" text="#{currentRow.value['topicdetail.Message']}"/>
                                            </h:panelGrid>
                                        </ui:panelGroup>
                                    </ui:tableColumn>
                                </ui:tableRowGroup>
                            </ui:table>
                        </ui:form>
                    </ui:body>
                </ui:html>
            </ui:page>
        </f:view>
    </jsp:root>

    Modify URL-PATTERN for your Faces Servlet from /faces/* to *.abc in web.xml
    change
    <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>to
      <servlet>
           <servlet-name>Faces Servlet</servlet-name>
           <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.abc</url-pattern>
        </servlet-mapping>hope that might help :)
    REGARDS,
    RaHuL

  • Sun java Creator, Table component vanishes when associating with the table

    I am trying to develop JSF page with a table component and associating a table (users) to the table component.
    I have created datasource and i can see the data in the SQL editor in Sun Java Creator.
    But when i try to associate the table component with the table(users).
    I table component vanishes.
    I dont understand what is the problem.
    Can anybody help me.

    The default theme is localized. If you look at <Creator-install>/rave2.0/modules/ext/locale
    you should see the localized default theme jars. Not sure which locale you are. You can put your localized jar here. Add the localized jar to your web application via library manager for it to be included in the deployed war file
    - Winston
    http://blogs.sun.com/winston

  • Problem with Sun Java Creator JDBC driver .....

    Hi:
    I am new to Java Studio Creator. I am using Oracle Enterprise Edition 8.0.5.0 database to get data from. Through Servers Navigator->Data Sources, I define a new datasource using default JSC JDBC driver for Oracle. However, when I try to test the connection I get the following error.
    [sunm][Oracle JDBC Driver] Internal Error: Net8 Protocol Error
    Can someone tell me what is going on here? By the way I also have Netbeans 4.0 IDE which works fine with the same database.
    -Victor bagga

    I was using the following database URL.
    jdbc:sun:oracle://autoserv.cqtel.com:1521;SID=autosvdb
    The SID is valid because I can use other JDBC drivers such as Oracle's thin driver which uses the Database URL
    jdbc:oracle:thin:@autoserv.cqtel.com:1521:autosvdb
    and it works. However, I can not use the Oracle thin JDBC driver with Sun Java Creator as it seems to be incompatible. Using this driver I can successfully define a datasource and veiw all the data and make all kind of queries through the Server Navigator window but when I try to drop a database table on to a Data Table in my project, nothing happens. If I try to Edit the query on the rowset, the GUI window does not show any Column names and display names.
    By the way, I also have an Oracle 9.x database which works just fine with Java Ctreator Studio. I really like Java Creator as I find it very productive but not being able to make it work with Oracle 8.0.5.0 takes the fun out of it.

  • Error while authenticating BPEL WorklistApplication using sun java server

    Hi,
    I have got a situation where i need to use sun java server to authenticate users and groups who can log into the BPEL worklist application.
    This is what i have done.
    I went to middleware services,BPEL,orabpel and to hw services.
    There i changed the Security provider to thrid party LDAP Server.
    the LDAP connection is successfull.
    But when i m loggin onto the Worklist App it says Username invalid .Somehow it autheticates against systemjazndata.xml file .But it's not supposed to do so and validate against the ldap.
    Any help is highly appreciated..

    Hi,
    I have got a situation where i need to use sun java server to authenticate users and groups who can log into the BPEL worklist application.
    This is what i have done.
    I went to middleware services,BPEL,orabpel and to hw services.
    There i changed the Security provider to thrid party LDAP Server.
    the LDAP connection is successfull.
    But when i m loggin onto the Worklist App it says Username invalid .Somehow it autheticates against systemjazndata.xml file .But it's not supposed to do so and validate against the ldap.
    Any help is highly appreciated..

  • Use Sun Java Studio 2 with Existing Java Application

    I have started using Sun Java Studio 2 and having fun and little difficulty creating a new Java web application from scatch. My question is where do I find information on Java Studio configuration to allow Java Studio to load up and modify Java server pages/forms in an existing Java application that I did not write?
    The Java application has been created with Javabeans and using BEA Weblogic version 7, with a SQL-Server 2000 database backend.
    Below is a bit of code out of one of the main Java forms.
    <%@ page buffer="256kb" autoFlush="false" errorPage="../../common/system/error.jsp"
    import="psdi.jsp.beans.*, psdi.jsp.common.*, psdi.jsp.app.wotrack.*, psdi.jsp.util.* , psdi.mbo.* , psdi.util.* "%>
    I have looked around and have not found what I need to setup in Java Studio to allow me to load up a form and view it in the Visual designer, I keep getting errors on the psdi. references and cannot load up any pages.
    I see on the server install ia folder under the main root <DIR> called <apps>, and inside the <apps> folder is a folder called <jsp> and in the <jsp> folder are sub folders for each main module within the application with all the related .jsp files. I have been manually editing the .jsp files using Windows Notpad and saving the changes. Then I rebuild the .ear file and my changes work fine. Since I have a lot of changes to make there has to be a better way than using Notpad.
    My hope is somewhere is a point-by-point document on what to so I can use Sun Java Studio 2 to make my changes in a visual IDE.
    Any assistance would really be appreciated.

    Hi Giri,
    Yep, this I know,b ut when I do I get errors messages and am looking for some form of point-bypoint instuction that better explains how to setup up custom libraries in Sun Java Studio, custom tags, etc.

  • Running CLDC applications in Mindows Mobile using sun-java-cldc-emu.cab

    How to run CLDC applications in Windows Mobile using sun-java-cldc-emu.cab present in Java Me Platform SDK 3.0. I read the 'Java ME Platform SDK and windows mobile integration.pdf' before installing the cab. But after installing the cab the jar or jad files aren't getting associated with the JVM. When I click the jar it says 'there is no application associated with "filename". Run the application first, then open this application from within the application.' I can't find any option to open the jar file from within the Sun Java CLDC Emulator application.
    I'm using Windows Mobile 6.1 Professional Images.
    Is it possible to run this JVM like IBM J9 and CrEme? Is it actually a JVM??
    Please help.

    Threre are many JSR's to give extensive support for developers, however, it is phone manufactures would impl. JVM/spec support on their devices. This is similar to JVM api for desktop, one can't extended the JVM features which take native os support, even if they do one machine.. others using it will not be able run your application as these systems relay upon standard jvm from Sun.
    Wish you good luck.. if you are building the entire phone stack..
    Regards,
    Raja Nagendra Kumar
    Edited by: rajanag on Jul 29, 2009 10:44 PM

  • Server does not start using Sun Java SE 1.5.0_07

    The application server launched with startserv using Sun Java SE 1.5.0_07 , seems to hang (uyner SuSE Linx 10.1), it does not start, and stays forever in startserv. performing a kill -3 for the precess we have:
    "process reaper" daemon prio=1 tid=0x08459ab8 nid=0x1bc8 runnable [0xa8c01000..0xa8c01e50]
    at java.lang.UNIXProcess.waitForProcessExit(Native Method)
    at java.lang.UNIXProcess.access$900(UNIXProcess.java:20)
    at java.lang.UNIXProcess$1$1.run(UNIXProcess.java:132)
    "Low Memory Detector" daemon prio=1 tid=0x080c7720 nid=0x1bc6 runnable [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=1 tid=0x080c6178 nid=0x1bc5 waiting on condition [0x00000000..0xaa2c09b8]
    "Signal Dispatcher" daemon prio=1 tid=0x080c5100 nid=0x1bc4 runnable [0x00000000..0x00000000]
    "Finalizer" daemon prio=1 tid=0x080b9b88 nid=0x1bc3 in Object.wait() [0xaa3fc000..0xaa3fd0d0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xaaa77568> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0xaaa77568> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=1 tid=0x080b8e38 nid=0x1bc2 in Object.wait() [0xaa47e000..0xaa47e150]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xaaa775e8> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0xaaa775e8> (a java.lang.ref.Reference$Lock)
    "main" prio=1 tid=0x0805d5f8 nid=0x1bc0 runnable [0xbfb3a000..0xbfb3b2d8]
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:194)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
    - locked <0xaaa79d20> (a java.io.BufferedInputStream)
    at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
    at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
    - locked <0xaa591480> (a java.io.InputStreamReader)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    - locked <0xaa591480> (a java.io.InputStreamReader)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at com.sun.enterprise.tools.launcher.ProcessLauncher.sendInputToProcessInput(ProcessLauncher.java:410)
    at com.sun.enterprise.tools.launcher.ProcessLauncher.executeBackgroundCommand(ProcessLauncher.java:352)
    at com.sun.enterprise.tools.launcher.ProcessLauncher.executeCommand(ProcessLauncher.java:327)
    at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:238)
    at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:158)
    "VM Thread" prio=1 tid=0x080b61b0 nid=0x1bc1 runnable
    "VM Periodic Task Thread" prio=1 tid=0x080c8bd8 nid=0x1bc7 waiting on condition

    The recommended way of starting the application server is to use asadmin command, for ex. <application-server-install-root>/bin/asadmin start-domain. The reason startserv hangs is because it is expecting some input which is automatically provided by the asadmin command.
    - sreeni

  • What are the most useful/your favorite Ipod touch apps?

    I am currently in the market for an ipod and I'm just not sure if I need a touch or not. I would love a 16gig but they don't exist which means I have to spend a lot of money on 32 gig. Anyways, I am just curious if the investment will be worth it in the long run because of the app's. Yes, I realize that a useful app to you might not be to me and vice versa so I was just hoping you guys could list off some of the most useful ones for you guys personally so I can know what to expect. Thanks!
    Message was edited by: DreamAgainXI

    1. Apple's "Remote". I love the ability to control my computer (playing my iTunes library into my stereo) from anywhere in my house via wi-fi.
    2. "Units" (and others like it). Very handy tool to convert sq. feet to acres, meters per second to mph, N-m to ft-lb, etc.
    3. "Loan Shark" (and others like it). Very handy to figure out monthly payments on a loan given the interest rate/ term, calculating how much principle you will have paid after X months, etc.
    4. "Sports Tap". ¡Órale! Mexico just beat France 2-0!
    I have many others, but these I use a lot and find the most useful.

  • Same certificates for two servers using Sun Java WS 6.1sp5 with Crypto card

    Hi,
    I have 2 Sun java webserver 6.1 sp5 installed on two machines as :
    Single webserver1 instance on hostmachine1
    Single webserver1 instance on hostmachine2.
    (both instance names are same)
    I have created server certificate and installed it using External cryptographic module: Sun Crypto Accelerator 500 on hostmachine1.
    It is perfectly working fine.
    Now,for hostmachine2, I created trust database with same password as for hostmachine1, I copied the two files
    https-webserver1-hostmachine1-key3.db and
    https-webserver1-hostmachine1-cert8.db from hostmachines1 and then put on the hostmachines2 (in an serverroot/alias folder ) and then renamed them as
    https-webserver1-hostmachine2-key3.db and
    https-webserver1-hostmachine2-cert8.db
    Then I went to preferences->Edit socket listen, but security was disabled.
    I restarted the webserver, but security was still disabled.
    What is the problem??
    Please inform me as well as at my email address [email protected]
    Please do reply me as I am waiting anxiously.
    Thanks.
    Taqi

    Hello,
    The problem you are reporting is not expected.
    Hope you are not trying on admin server.
    I am not sure why you removed all files from alias directory.
    Please do the following in a fresh installation:-
    1) install ws6.1sp5.
    2) copy cert and key db from the working systems to the alias
    directory of the instance.
    3) move the db files to the new name (make this name right).
    4) through admin server GUI select instance (Manage server).
    5) go to edit listen socket.
    6) turn on security and select OK.
    7) then press Apply button.
    8) then press Apply changes.
    9) it will restart your instance server and will ask you for the password.
    10) supply the security password of the first server.
    11) it will restart your instance server in https mode.
    This works fine.

  • Could anyone tell me please what compiler can i use for java?

    i want to begin programing in java and i dont know what compiler shoud i use.thank you

    The one that comes with the JDK.
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    Sun's basic Java tutorial
    http://javaalmanac.com . A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.
    James Gosling's The Java Programming Language. Gosling is
    the creator of Java. It doesn't get much more authoratative than this.

  • Migration from Sun Java Creator to JDeveloper.

    Hi
    I want to migrate my application which I have developed in Sun Java Studio creator to Jdeveloper.
    What all changes I have to do.
    I tried importing the jsp pages in the Jdeveloper IDE. But could not see them. They were all blank.
    Could you please help me to get an insight as to how should I go for the migration and what all issues I have to face since I m new to Jdeveloper also.
    Thanks for your help in advance.

    The migration path for Sun Portal Server is Oracle WebCenter Suite. WebCenter is a significantly different architecture so there are no tools planned for the migration. However, we do plan to document and publish a whitepaper once we've assisted a few of the initial customer migrations.

  • Deployment failed. Building failed using sun java application server

    Hi
    am using netbean 6 ,glassfish v2 and sun java application server 9
    When am try to run my jsp file am getting Deployment error report with further error given below.
    Deployment error:
    The Sun Java System Application Server could not start.
    More information about the cause is in the Server log file.
    Possible reasons include:
    - IDE timeout: refresh the server node to see if it's running now.
    - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
    - Incorrect server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    - Invalid installation location.
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Caused by: org.netbeans.modules.j2ee.deployment.impl.ServerException: The Sun Java System Application Server could not start.
    More information about the cause is in the Server log file.
    Possible reasons include:
    - IDE timeout: refresh the server node to see if it's running now.
    - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
    - Incorrect server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    - Invalid installation location.
    at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1270)
    at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1224)
    at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1035)
    at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:912)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:417)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:140)
    ... 16 more
    BUILD FAILED (total time: 44 seconds)

    Hi,
    I've found that if you remove the j2ee-application element related to the enterprise app you are trying to deploy from Sun\AppServer\domains\domain1\config\domain.xml, and also remove your enterprise j2ee-app directory from Sun\AppServer\domains\domain1\applications\j2ee-apps\, it works.
    This is not a permanent solution. I get the same error again, when I try to redeploy the application for the third time. Hope someone can help soon!
    Thanks.

  • Using Sun Java System App Server Update 1 with JDK1.5's XML

    Hi,
    I have some new code that uses new XML features from JDK 1.5,
    e.g., the Validation API.
    However, this code fails to run on Sun Java System App Server Update 1,
    since the server uses the 'endorsed' mechanism to load outdated XML libraries.
    When I remove the outdated XML JAR's from the server's 'endorsed' directory,
    the server fails to start....
    I would really like to keep using the new XML features....

    Where are you placing your jars? I would bundle them with your application. Do not replace the system jars.
    There were some package changes to avoid collisions that I believe made jswdp 1.4 and sjsas 8.1

Maybe you are looking for