Beginner - Deploytool problems

Hi Everyone,
I am just starting to learn to run the j2ee server and have run into problems with the 'depoloytool'. Whenever the i try to connect to the server (localhost:4848) via the deploytool the deploytool hangs. Wierdly, the problem goes away when the network cable is disconnected. deploytool also detects an incorrect password and hangs only when the password is correct.
I have verified the following
1) My OS is supported. My OS is Windows XP Professional
2) The right version of jsdk is installed (j2sdk1.4.2)
3) The right version of j2ee is installed (j2sdkee1.4)
4) Server was running before deploytool was started. Some deployed applications were also verified from the web browser.
I have tried fiddling with the following
1) the java.policy file in the jre\lib\security folder to allow "listen,accept,connect,resolve" privileges to localhost
2) The hosts file to specify 127.0.0.1 as localhost.
I am at loss of what to do. If anyone has any ideas please help me.
I have gone through the these forums and have come across one similar thread.
http://forum.java.sun.com/thread.jsp?forum=13&thread=277109
David.

Hey
I had this problem on both windows XP pro and linux
<quick solution>
edit all your xml config files so that they refer to "localhost", not your computer network name
<quick solution>
The reason:
The problem for me was that some of the configuration files referred to my computer as its fully qualified network name, terrence.
the files (for me) are:
<install-dir>/domains/domain1/server/config/*.xml
I use a NAT dsl modem, so the modem was just discarding all the requests to connect to terrence were getting dropped (no pinholes set up!)
even though deploytool calls your local computer localhost, it still tries to acces it thru ur network name some times, i think
Hope that helps
P.S. Any idea why sun doesnt just use "localhost" in the config files?

Similar Messages

  • Deploytool problems

    Hello All.
    I am having trouble deploying a basic Java Server Faces appilcation...the problem seems to be in the deploytool utility.
    Firstly it doesnt seem to detect all the file that are updated since the app was last deployed and hence I have to drag each one into the WAR....very tedious.
    Secondly, the re seems to be some dependency between files!!! If you updated one and added it to the WAR you must update others as well.
    Thirdly, the server does not allow me to access my app at random times i.e update a file, update the war, save, deplo and try to access the app...only to get a resource unavilable message.
    I have a feeling this is a deploytool problem. I am using J2ee version 1.4 with SUNWappserver 8.
    Any Ideas?
    Thanks

    In addition.....every time a update a file in the application, deploytool update one file that....with the wrong version!!! Which doesnt even exist anymore on the disk.....
    Using this on Linux...Fedora core 2....

  • Struts framework & J2EE deploytool problem

    When creating a new application in the J2EE deploytool with the example WAR file "struts-example.war" from the struts framework i can view this at "http://localhost:8000/example/" with no problem. However, when creating my own WAR file of the build struts framework example i get after deployment and calling "http://localhost:8000/example/" the following:
    "javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE"
    The WAR and EAR configs look exactly alike in the J2EE deploytool.
    What bugging me is i can not find the problem.
    Please inform
    Thanbks

    Thank you very much for the response.
    As you mentioned I put the "ApplicationResources.properties" file in the classes directory, this gives me the same error.
    However, i am using struts 1.1 if it matters and in web.xml the following is defined:
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    and in struts-config.xml :
    <message-resources
    parameter="org.apache.struts.webapp.example.ApplicationResources"/>
    This is the directory where the "ApplicationResources.properties" also excists.
    As mentioned the example war coming with the framework works fine, so i assume it is not related to any envioronment vars.
    It is probably clear that i am new to all this. My objective is to determine whether my exising framework with a servlet session controlling usecase can be integrated with the strutsframework.
    I thank you for your time
    regards, Erwin

  • Deploytool problem: Tools- Server Configuration not being displayed

    I am having the above titled problem when following the instructions from section 7.2.2 of the JMS tutorial.
    Please help
    Owen.

    Typically, when I start J2EE, I get the following:
    C:\j2sdkee1.4\logs>j2ee -verbose
    J2EE server listen port: 1050
    Naming service started: 1050
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
    eDB;create=true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB
    ;create=true
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
    DB;create=true
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
    re.RemoteXaDataSource@1250ff2
    Binding DataSource, name = jdbc/_ejb_container, url = jdbc/_ejb_container__xa
    Binding DataSource, name = jdbc/_ejb_container__xa, dataSource = COM.cloudscape.
    core.XaDataSource@1b6235b
    Starting JMS service...
    Initialization complete - waiting for client requests
    Starting JMS via Resource Adapter
    Deploying jmsra.rar in C:\j2sdkee1.4\lib\system_apps\jmsra.rar
    ResourceAdapter jmsra.rar started...
    Initializing Coyote HTTP/1.1 on port 8000
    Initializing Coyote HTTP/1.1 on port 7000
    Loaded registry information 1432 ms
    Starting service J2EE(TM) Web Server
    Apache Tomcat/5.0
    Missing application web.xml, using defaults only StandardEngine[Standard-Engine]
    .StandardHost[localhost].StandardContext[]
    Added certificates -> request attribute Valve
    Starting Coyote HTTP/1.1 on port 8000
    Starting Coyote HTTP/1.1 on port 7000
    JACC:Policy Repository set to C:\j2sdkee1.4\repository\policy
    Added certificates -> request attribute Valve
    Configured an authenticator for method FORM
    J2EE Web Admin Tool started
    JAXR:Installing JAXR RA
    Deploying jaxr-ra.rar in C:\j2sdkee1.4\lib\system_apps\jaxr-ra.rar
    Binding Connection Factory, name = QueueConnectionFactory
    Binding Connection Factory, name = jms/TopicConnectionFactory
    Binding Connection Factory, name = TopicConnectionFactory
    Binding Connection Factory, name = jms/QueueConnectionFactory
    Binding Connection Factory, name = eis/JAXR
    Cannot create Destination jms/Topic since it already exists
    Binding Administered Object, name = jms/Topic
    Cannot create Destination jms/Queue since it already exists
    Binding Administered Object, name = jms/Queue
    Starting EJB Timer Service...
    J2EE server startup complete.
    I do not see any reason in the above as to why deploytool might not be working as I think it should. Maybe others have an idea?
    Owen.

  • Cloudscape and deploytool problem

    My deploytool and cloudscape have been working well until yesterday. The error message that I received with cloudscape was
    ERROR (no SQLState): Connection refused to host: 218.186.XX.XXX; nested exceptio
    n is:
    java.net.ConnectException: Connection timed out: connect
    ij version 4.0 (c) 1997-2001 Informix Software, Inc.
    And also, the deploytool cant seem to find my localhost.
    Wonder if anyone knows what is this problem? It seems that my localhost is not able to host. Any help will be appreciated.

    I would try rebooting cloudscape.

  • Beginner Has Problem With Loading JDBC Driver Using MySQL

    Hi, I am having problem with loading JDBC driver, and need your diagnotic help.
    1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console:
    sql> select * from videos
    2. I have downloaded the latest version of Connector/J (mysql-connector-java-3.1.0-alpha.zip), and unzip the zip file into my C:\ directory.
    3. I copied the mysql-connector-java-3.1.0-alpha-bin.jar to the C:\j2sdk1.4.1_02\jre\lib\ext folder and it is in my CLASSPATH
    4. MySQL server is running
    C:\> C:\mysql\bin\mysqld-nt --standalone
    5. open another DOS window and use the database
    mysql>USE SOUP
    6. succesfully compiled a Java program (javac Test.java):
    import java.sql.* ;
    public class Test
    public static void main( String[] args )
    try
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    try
    Connection con = DriverManager.getConnection( "jdbc:mysql://localhost:3306/soup" );
    try
    Statement statement = con.createStatement();
    ResultSet rs = statement.executeQuery("SELECT TITLE FROM VIDEOS");
    while ( rs.next() )
    System.out.println( rs.getString( "TITLE" ) );
    rs.close();
    statement.close();
    catch ( SQLException e )
    System.out.println( "JDBC error: " + e );
    finally
    con.close();
    catch( SQLException e )
    System.out.println( "could not get JDBC connection: " + e );
    catch( Exception e )
    System.out.println( "could not load JDBC driver: " + e );
    7. when I run the Java program (java Test), I got
    the message:
    could not load JDBC driver: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    What am I missing?

    Hi,
    I missed to specify test in my last post.
    Try running your program by explicitly setting the classspath when
    running your program . java -classpath c:\mysql-connector-java-3.1.0-alpha-bin.jar test
    Make sure your jar file contains org.gjt.mm.mysql.Driver class

  • Deploytool problem

    hello
    I am not able to run the deploytool of J2EE.
    When i run it from the console, i get the following error
    Bad Command or file name
    Out of Environment space
    Out of Environment space
    Bad Command or file name
    I am not able to find out where i have something wrong.
    What should i do now...
    My OS is windows 98 second edition
    any help will be greatly appreciated
    Hussain

    Hussain,
    take a look at the following URL
    http://forums.java.sun.com/thread.jsp?forum=136&thread=166386&start=0&range=15
    -Chris

  • Beginner CSS problems and questions

    I'm trying to learn CSS, but first, I have to knock out this simple site for a client, CSS or not, asap.
    Problem #1:
    Here is the page:  http://larrysullivandesign.com/sourceprintmedia.com/_contact.html
    Here is the style sheet: http://larrysullivandesign.com/sourceprintmedia.com/sourceprintmedia.css
    I want the email link the same font size as the text around it, which is:
    class="bodycopy-content"
    I don't understand why it appears in the text-links page bottom (class="link-typeA") size.
    Problem #2:
    Dreamweaver WYSIWYG shows the text links at page bottom in the #00F blue, (see attached jpg: "scrncap_DW_WYSIWYG.jpg) when clearly they should display only as the grey in the external stylesheet. In the browser, they look good. Frustrating, DW bug?
    Problem #3:
    I tried to merge all the CSS into one style sheet but no matter what I try, DW won't let me. Now I have 3 CSS categories. (see attached jpg "scrncap-csspanel.jpg")  How come I can't have any/all style sheets in one?
    thanks in advance!
    -Larry

    Problem #1:
    You have defined a font size (8px - which btw, renders extremely small on my 1440x900 laptop, suggestion to follow) for the "a" tag.  Because of this any link regardless of where it is will be that font size.  Personally speaking I would recommend taking the font-size off of the "a" tag in your CSS document and then let the other classes control the font size throughout your page.
    Problem #2:
    You defined a class fine, but links do not work on a class.  They will always work on a:link, a:active, a:visited, and a:hover.  With this in mind what you need to do to change the color of links in a particular area is to do the following:
    .link-typeA a { CSS stuff goes here }
    That will change the links in that class to have certain features.
    Problem #3:
    This has to do with code in the header of your page where you have re-declared link styles.  Delete that from your page and you will be set
    Now back to Problem #1 about the fonts.  Your best bet is to use "em" to define your font size.  Think of the EM like a multiplier.  It takes the default size of the end-users settings and 1.1em would be 1.1x larger than the default font, 2em would be twice as large, and .5em would be half the size. This way your text is readable on all screens regardless of the end-users resolution.

  • FORTRESS beginner - installation problems

    Hello everyone,
    I am trying to install fortress to my VM running Ubuntu 12.04.
    I have followed the steps in the README file provided, I have set up the environment variables etc.
    When I try to run "ant test" build fails, but when I am running "ant clean test" it is successful. Then I try to compile hello world with "fortress compile hello.fss" and i get "fortress: command not found".
    I have done the procedure again and again several times, I have also tried to find some troubleshooting page but nothing.
    Can anyone please help me?
    Thanx in advance,
    K

    If you are trying to change the operating system platform for a current Adobe software title then please see Order product | Platform, language swap - http://helpx.adobe.com/x-productkb/policy-pricing/order-product-platform-language-swap.htm l.

  • About deploytool problem

    There is a checkbox "return a client jar" when I deploy a EJB.It will output a client.jar file if I deploy the EJB successfully.But what is the client.jar and how can I use it?

    Thank you!
    You means that the ejb-client.jar contain the "stub,skeleton" that should be used by RMI and the ejb-jar that EJB container used?
    If I want to run a EJB in my server(For example:Tomcat) and I must have the ejb-client.jar in the Tomcat?

  • Daily forecast - beginner's problems

    Hi All,
    within my planning implementation I have daily calendar and daily historical data for several previous years.
    the task is to forecast account set (0-level members belonging to one parent) for each day of a month basing on the historical data for these days.
    I can forecast one account for one day. the script is like this:
    FIX(Budg,Income,Final)
    SET CREATENONMISSINGBLK ON;
    Acc1 (@TREND
    (@LIST(Fact03->FY03->"Jan-1",Fact04->FY04->"Jan-1"
    ,Fact05->FY05->"Jan-1",Fact06->FY06->"Jan-1")
    "Fcast-Jan07"->FY07->"Jan-1",LR
    endfix;
    but how to do it for several accounts and for the days of a month?
    thanks in advance.
    Andrei

    Andy,
    thank you very much.
    this is great suggestion.
    this gave me the forecast for each day of January:
    FIX ( @CHILDREN("01 00 00000 00 0000 000"), @ICHILDREN(Jan), Final, FY07 )
    SET CREATENONMISSINGBLK ON;
    "Fcast-Jan07"
    (@TREND
    (@LIST(Fact03->FY03->@CURRMBR(Period),Fact04->FY04->@CURRMBR(Period)
    ,Fact05->FY05->@CURRMBR(Period),Fact06->FY06->@CURRMBR(Period))
    @CURRMBR(Period),LR
    endfix;
    Andrei

  • Help with CSS beginner layout problem?

    Making my first CSS website. See http://www.capeannphysicaltherapy.com/index-test.html
    The DIV layout held up fine even after I copied text into the #main_text DIV. But when I turn it into html the #main_content DIV jumps down even though the text stays in place. I'd appreciate any help.
    Thanks

    Increase text size in browser (Ctrl+++)  Zoom, text only - to test your pages.
    Get rid of DIV container HEIGHT-itis:
    #container {
    width: 812px;
    background: #FFFFFF;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    height: 566px; **remove me, no height is needed here**/
    #left_container {
    width: 222px;
    float: left;
    background-image: url(images/banner_left.gif);
    height: 566px; /**remove me**/
    min-height: 566px /**for non-IE browsers only**/
    #main_content {
    background-image: url(images/content_area.gif);
    height: 370px; /**remove me**/
    min-height: 370px; /**for non-IE browsers only**/
    width: 590px;
    Web pages need to be flexible.  Do a Google search for "CSS Min- & Max width" and "CSS Min- & Max heights."
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

  • Simple beginner script problem

    I'm reading Scripting InDesign CS3/4 with Javascript from O'Reilly and this simple example doesn't seem to work. Can someone please see what's up?
    Another useful application of split () and join () is processing paragraphs in a text frame. To see how this works, create a new InDesign document; draw a text frame big enough to hold about half a dozen names; and type a list of half a dozen names, one a line. Select the text frame or place the cursor somewhere in the list. The following script sorts the list alphabetically:
    // check that a story is selected
    if (app.selection[0].parentStory.constructor.name!="Story")
    exit ( );
    // create an array of paragraphs by splitting the story on hard returns
    myArray = app.selection[0].parentStory.contents.split ("\r");
    // sort the array
    myArray.sort ( );
    // join the array as one string separated by hard returns
    myString = myArray.join ("\r");
    // replace the contents of the selected story with myString
    app.selection[0].parentStory.contents = myString;

    It highlights
    if (app.selection[0].parentStory.constructor.name!="Story")
    and says undefined is not an object
    Edit: solution, I had to choose Adobe InDesign CS5 from the ESTK menu instead of ESTK CS5

  • How can I configure the save page mode (to save DEFAULT WITH OR WITHOUT images and other dependencies in a folder)?

    I like it that I can save webpages with or without dependencies in a separated folder. And its implementation in Firefox (e.g. it remembers how I saved something before, and that way becomes the default) can also be good sometimes. But usually it is not.
    Usually I want to save pages as HTML-only. Sometimes, but only sometimes I have to save a page as a whole (I don't know the name of the feature). But after I save something with dependencies, I often forget that, and don't care about this option. Firefox, however, doesn't forget it, and saves thousands of unimportant images, until I notice it and switch it off again.
    This is not good.
    I tried Google Chrome, which simply don't remember how I saves something before, and always select the complete page option for default. It is exactly the opposite of the perfect solution (in my opinion). The best would be if the browser would save everything as HTML only, if I don't change it. Or it would be even better if I could configure it manually (turn this remembering feature on/off).
    This is not a beginner's problem, so it would be good if only a config option solved this. I imagine that already exists a config option for this, but I could not find it. I found only the "browser.download.save_converter_index" option, which depends on how I used it last time.
    Is there a config option for this? Or should I report this in the Firefox brainstorm page?
    Thank you for your time
    D. J. S.

    That choice is remembered in the Integer pref <b>browser.download.save_converter_index</b>
    0: Web Page, complete (default)
    1: Web Page, HTML only
    2: Text files
    If you want to reset that choice to HTML only on every start of Firefox then you can use this line in the file [http://kb.mozillazine.org/user.js_file user.js]
    <pre><nowiki>user_pref("browser.download.save_converter_index", 1);
    </nowiki></pre>
    See also http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • Get Info for multiple files

    OS X 10.9.4, 27”, late 2013
    Seems to be a beginner’s problem, sorry …
    I have a folder on my HD with 250 mp3 files (1.25GB) and want to copy some to a SD card (512MB).
    So I (shift) select say 95 files in Finder:
    It lists “95 of 250 selected, 723.39 GB available”
    - Thanks, but at the moment I’m not interested in the space available on my HD (@AppleDevelopers: Check the Win Explorer for some ideas of usability … and what you should not do …).
    To get the size I try the right click at the selected files (blue) with “Get Info” (or the top menu icon) - but now 95 windows pop up with the size of each file, I can’t stop it (fascinating to watch, indeed) and don’t know how to close all “Get Info” windows at once.
    1) 95 x Cmd+W or “Quit” Finder from Activity Monitor?
    2) How to “Find” the size of a bunch of files?
    (I bet it was working before, selecting multiple files with one “Get Info” summary?)

    Thanks for your response(s).
    2. The option, Command and I key works, great.
    I did not understand the “or press Option when the File menu is open …” instruction, always returns the folder size.
    The slow moving shift + Get Info is cool.
    I am sure I did not use any of these combinations before, but ... +

Maybe you are looking for

  • Getting rid of event year in iMovie 10

    I am just getting started with iMovie, having just completed the Lynda.com training. My setup seems to create an extra layer in the library. It goes like this: iMovie Library Year/date (with a little calendar icon) Event (with a star icon) Project MM

  • Lost brushes in Photoshop cc

    After working in Lightroom 5 and photoshop cc for an extended period (6 hrs or so) I lose my brushes especially consistently in the liquify filter. Then, the whole photo has a red overlay as if a mesh-- and then after I close liquify window my image

  • PCR Work Flow Error

    Hi, I am working on PCR WorkFlows, the problem i am getting is .. when the PCR is executed from MSS it is coming to UWL as task . But when try to open that .. it is giving me the error like .... "Critcal Error. Message number cannot read from Workflo

  • Wifi Proxy - Third party apprs

    Hello all, I am wondering if there is a solid work around for using third party apps such as Good reader on the iphone when you're connected to a wifi lan that requires proxy authentication for internet access. I can use all the native apps such as s

  • I found multiple apps., of Firefox, Mozilla Firefox applications. I only need version 16.0. How can I delete all other versions??

    My program files on both Drives C and E, show only one version of Firefox, but I saw 3 other applications called FIREFOX, MOZILLA FIREFOX, AND ANOTHER FIREFOX. I wanted Firefox version 16.0, downloaded it, but now see a Version 24.0 that I didn't dow