Anybody who can help me? I really need your help

I've tried to execute J2ee tutorial examples.
I don't know why this sample didn't execute...I've already finished to set up J2EE and enviornment variables.
I was trying this part from j2ee tutorial titled as "Packing Web modules".
Whenever I type "asant create-war" to make web modules in command window. I always got error.
Packaging Web Modules(From J2ee tutorial for your information)
A web module must be packaged into a WAR in certain deployment scenarios and whenever you want to distribute the web module. You package a web module into a WAR using the Application Server deploytool utility, by executing the jar command in a directory laid out in the format of a web module, or by using the asant utility. This tutorial allows you to use use either the first or the third approach. To build the hello1 application, follow these steps:
In a terminal window, go to <INSTALL>/j2eetutorial14/examples/web/hello1/.
Run asant build. This target will spawn any necessary compilations and will copy files to the <INSTALL>/j2eetutorial14/examples/web/hello1/build/ directory.
To package the application into a WAR named hello1.war using asant, use the following command:
asant create-war
This command uses web.xml and sun-web.xml files in the <INSTALL>/j2eetutorial14/examples/web/hello1 directory.
To learn how to configure this web application, package the application using deploytool by following these steps:
Start deploytool.
Create a web application called hello1 by running the New Web Component wizard. Select FileNewWeb Component.
In the New Web Component wizard:
Select the Create New Stand-Alone WAR Module radio button.
In the WAR File field, enter <INSTALL>/j2eetutorial14/examples/web/hello1/hello1.war. The WAR Display Name field will show hello1.
In the Context Root field, enter /hello1.
Click Edit Contents to add the content files.
In the Edit Contents dialog box, navigate to <INSTALL>/j2eetutorial14/examples/web/hello1/build/. Select duke.waving.gif, index.jsp, and response.jsp and click Add. Click OK.
Click Next.
Select the No Component radio button and click Next.
Click Finish.
Select FileSave.
A sample hello1.war is provided in <INSTALL>/j2eetutorial14/examples/web/provided-wars/. To open this WAR with deploytool, follow these steps:
Select FileOpen.
Navigate to the provided-wars directory.
Select the WAR.
Click Open Module.
I guess this step is for checking my system about setup information. I not sure how to change it.
the result from execution of ansnt command in dos
D:\J2ee\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\web\hello1>asant create- war Buildfile: build.xml
j2ee-home-test:
BUILD FAILED D:\J2ee\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\common\targets.xml:10: T he j2ee.home property is not properly set in <INSTALL>/j2eetutorial14/examples/c ommon/build.properties.
Set the j2ee.home property to the location of your Application Server installati on.
On Windows, you must escape any backslashes in the j2ee.home property with anoth er backslash or use forward slashes as a path separator. So, if your Application Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = C:\\Sun\\AppServer
or
j2ee.home=C:/Sun/AppServer
j2ee.home is currently set to:
Total time: 0 seconds
D:\J2ee\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\web\hello1>
I've installed J2ee sdk in C:\Sun\AppServer
PATH: %J2EE_HOME%\bin;%JAVA_HOME%\bin;
CLASSPATH: %J2EE_HOME%\lib\j2ee.jar;C:\Java\jre1.6.0_05\lib\ext\QTJava.zip;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar
J2EE_HOME: C:\Sun\AppServer
JAVA_HOME: C:\Sun\AppServer\jdk
I've installed J2ee with administration 4848, HTTP: 8089 HTTP: 8090
I guess this could refer the target.xml and build.properties. So, I've tried after changing some value, which is fit for my setup.
but, still doesn't work.
targets.xml
<path id="classpath">
<fileset dir="${j2ee.home}/lib">
<include name="j2ee.jar"/>
</fileset>
</path>
<target name="j2ee-home-test" >
<!-- Test if j2ee.home is set properly by looking for j2ee.jar -->
<available file="${j2ee.home}/lib/j2ee.jar" type="file" property="j2ee.jar.present" />
<fail unless="j2ee.jar.present">
The j2ee.home property is not properly set in <INSTALL>/j2eetutorial14/examples/common/build.properties.
Set the j2ee.home property to the location of your Application Server installation.
On Windows, you must escape any backslashes in the j2ee.home property with another backslash or use forward slashes as a path separator. So, if your Application Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = C:\\Sun\\AppServer
or
j2ee.home=C:/Sun/AppServer
j2ee.home is currently set to: ${j2ee.home}
</fail>
</target>
<target name="clean" >
<delete dir="${build}" />
<delete dir="${dist}" />
<delete dir="${assemble}" />
<delete file="${ear.name}" />
<delete file="${war.name}" />
<delete file="${war.file}" />
<delete file="${client.jar.name}" />
</target>
<path id="db.classpath">
<fileset dir="${db.root}/lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="create-db_common"
depends="init,start-db,delete-db"
description="Create database tables and populate database." >
<sql driver="${db.driver}"
url="${db.url}"
userid="${db.user}"
password="${db.password}"
classpathref="db.classpath"
delimiter="${db.delimiter}"
autocommit="false"
onerror="abort" >
<transaction src="${sql.script}"/>
</sql>
</target>
<target name="delete-db"
description="Deletes the database tables." >
<sql driver="${db.driver}"
url="${db.url}"
userid="${db.user}"
password="${db.password}"
classpathref="db.classpath"
delimiter="${db.delimiter}"
autocommit="false"
onerror="continue" >
<transaction src="${delete.sql.script}"/>
</sql>
</target>
<target name="ping-db"
description="Checks to see if Derby is running." >
<java classname="org.apache.derby.drda.NetworkServerControl"
fork="yes"
resultproperty="db.ping.result">
<jvmarg line="${db.jvmargs}" />
<arg line="ping" />
<classpath refid="db.classpath" />
</java>
<condition property="db.running">
<equals arg1="${db.ping.result}" arg2="0" />
</condition>
</target>
<target name="start-db"
unless="db.running"
description="Starts the Derby databse server."
depends="ping-db">
<sun-appserv-admin
explicitcommand="start-database" />
</target>
<target name="stop-db"
description="Stops the Derby database server."
depends="ping-db"
if="db.running">
<sun-appserv-admin
explicitcommand="stop-database" />
</target>
<target name="admin_command_common">
<echo message="Doing admin task ${admin.command}"/>
<sun-appserv-admin
command="${admin.command}"
user="${admin.user}"
passwordfile="${admin.password.file}"
host="${admin.host}"
port="${admin.port}"
asinstalldir="${j2ee.home}" />
</target>
<target name="create-jdbc-resource_common">
<antcall target="admin_command_common">
<param name="admin.command"
value="create-jdbc-resource
--connectionpoolid ${conpool.name} ${jdbc.resource.name}" />
</antcall>
</target>
<target name="delete-jdbc-resource_common">
<antcall target="admin_command_common">
<param name="admin.command"
value="delete-jdbc-resource ${jdbc.resource.name}" />
</antcall>
</target>
<target name="deploy-war">
<antcall target="admin_command_common">
<param name="admin.command"
value="deploy ${war.file}" />
</antcall>
</target>
<target name="undeploy-war">
<antcall target="admin_command_common">
<param name="admin.command"
value="undeploy ${example}" />
</antcall>
</target>
<property environment="env" />
<target name="listprops"
description="Displays values of some of the properties of this build file">
<property file="../../common/admin-password.txt" />
<echo message="Path information" />
<echo message="j2ee.home = ${j2ee.home}" />
<echo message="j2ee.tutorial.home = ${j2ee.tutorial.home}" />
<echo message="env.Path = ${env.Path}" />
<echo message="env.PATH = ${env.PATH}" />
<echo message="" />
<echo message="Classpath information" />
<echo message="classpath = ${env.CLASSPATH}" />
<echo message="" />
<echo message="Admin information" />
<echo message="admin.password = ${AS_ADMIN_PASSWORD}" />
<echo message="admin.password.file = ${admin.password.file}" />
<echo message="admin.host = ${admin.host}" />
<echo message="admin.user = ${admin.user}" />
<echo message="admin.port = ${admin.port}" />
<echo message="https.port = ${https.port}" />
<echo message="" />
<echo message="Domain information" />
<echo message="domain.resources = ${domain.resources}" />
<echo message="domain.resources.port = ${domain.resources.port}" />
<echo message="" />
<echo message="Database information" />
<echo message="db.root = ${db.root}" />
<echo message="db.driver = ${db.driver}" />
<echo message="db.host = ${db.host}" />
<echo message="db.port = ${db.port}" />
<echo message="db.sid = ${db.sid}" />
<echo message="db.url = ${db.url}" />
<echo message="db.user = ${db.user}" />
<echo message="db.pwd = ${db.pwd}" />
<echo message="url.prop = ${url.prop}" />
<echo message="ds.class = ${ds.class}" />
<echo message="db.jvmargs = ${db.jvmargs}" />
</target>
build.properties ����
j2ee.home=
j2ee.tutorial.home=
asinstall.dir=${j2ee.home}
admin.password.file=${j2ee.tutorial.home}/examples/common/admin-password.txt
admin.host=localhost
admin.user=admin
admin.port=4848
https.port=8181
domain.resources="domain.resources"
domain.resources.port=8080
# Derby configuration settings
db.delimiter=;
db.root=${j2ee.home}/derby
db.driver=org.apache.derby.jdbc.ClientDriver
db.datasource=org.apache.derby.jdbc.ClientDataSource
db.host=localhost
db.port=1527
db.sid=sun-appserv-samples
db.url=jdbc:derby://${db.host}:${db.port}/${db.sid};create=true;
db.user=APP
db.pwd=APP
db.jvmargs=-ms16m -mx32m
Is there anyone who can tell me how to change it? I really need your help....
Thank you in advance.

ok,
First of all make sure your tutorial folder is installed from the root:
C:\javaeetutorial5
or
D:\javaeetutorial5
it makes things so simple.
Secondly:
set your jee tutorial home
JAVAEE.TUTORIAL.HOME =
C:/javaeetutorial5
Thirdly: check in:
C:\javaeetutorial5\examples\bp-project
make a copy of the build.properties.sample save it as build.propropties, as a property file,
edit the properties file as in:
build.properties
As follows:
# uncomment the property javaee.home, and add the path
# to your GlassFish Java EE 5 SDK installation
javaee.home=c:/Sun/SDK
javaee.tutorial.home=c:/javaeetutorial5
# Uncomment the property j2ee.server.username,
# and replace the administrator username of the app-server
javaee.server.username=admin
# Uncomment the property j2ee.server.passwordfile,
# and replace the following line to point to a file that
# contains the admin password for your app-server.
# The file should contain the password in the following line:
AS_ADMIN_PASSWORD=admin1234and so fourth. Some of the settings as the application server name is all done for you
and then test it again.
Take care of editing the property file. It can give you headache.
Note also that this is for application server 9.1 - JEE5.
eve

Similar Messages

  • Hi...I have 4 folders in my MobileMe Gallery.....but only one is shown in Aperture under WEB. Anybody who can help? best, Per

    Hi...I have 4 folders in my MobileMe Gallery.....but only one is shown in Aperture under WEB. Anybody who can help? best, Per

    Hello Per,
    did you create the other Mobile Me galleries in iPhoto? If I remember correctly. you can manage each web album only in one application, either Aperture or iPhoto. I cannot test it any longer, since I upgraded to iCloud, but it used to be possible to assign the application (iPhoto or Aperture) for each album when you log into Mobile Me and select the album.
    Regards
    Léonie

  • Hello is there anybody who can help me in german? i have the same problem like the guy with i tunes. it won´t open an give me an error "An application has made an attempt to load the C runtimelibrary incorrectly" Please contact the application´s support..

    I´ve so many privat things on I tunes like pictures, music etc.and i won´t loose them. is there anybody who can help me to save my private things and help me to solve teh problem
    Thanks you for help greetings from austria

    I just had the same error: 
    R6034
    An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.
    I went to http://support.apple.com/kb/ht1925 and did a complete removal and reinstallation of iTunes. You MUST follow the directions here exactly...it's more than just iTunes that must be removed, and it MUST be done in the order in which the support article says.  I followed the exact instructions, and iTunes is back on my machine (no more C runtime error) and you do NOT lose your music...it's all in my library, as it was before.
    Good luck!

  • I CANNOT ACTIVATE MY ILLUSTRATOR  AFTER FIXING MY COMPUTER. IT SAIS THAT I AM NOT CONNECTED TO INTERNET BUT I AM. IS THERE ANYBODY WHO CAN HELP.

    I CANNOT ACTIVATE MY ILLUSTRATOR  AFTER FIXING MY COMPUTER. IT SAIS THAT I AM NOT CONNECTED TO INTERNET BUT I AM. IS THERE ANYBODY WHO CAN HELP.

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • I got my ipad this afternoon, and it suddenly shutdown after i create my account.  I can't open it since 3 hours. Is there anybody who can help me

    hi, i got my ipad 3 this afternoon, i created my account. When i'm about to install my fb, suddenly my ipad shutdown . Since 3 hours now, i can open it. Is there anybody who can help me what to do? The batter was fully charged. Thanks you

    Try a Reset. Power and Home Press For 10 Seconds

  • HT203167 i downloaded the latest update ios 7.0.4 and update my iphone 5, but to my surprise i couldnt locate the downloaded file on itunes and i've also checked my itunes folder, still cant see the file. pls anybody who can help.

    i downloaded the latest update ios 7.0.4 and update my iphone 5, but to my surprise i couldnt locate the downloaded file on itunes and i've also checked my itunes folder, still cant see the file. pls anybody who can help.

    The downloaded file is probably stored at C:\Users\<User>\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates. In general it is probably best to "download and install" updates than download and then install later. Note that you cannot revert to the older firmware if you don't like the update, even if you have the old .ipsw files.
    tt2

  • My Mac book pro can't start totally despite repeated attempt to off /on the power button , anybody there can help me ?

    Hi,
    My Mac book pro , 13 " which I bought in late 2011 , iOS 6 system, today suddenly can't start at all after I try to sync with my iPhone . Anybody there can help me urgently .?....I have tried repeatedly to switch off and then switch on the power button , but to no avail .... I really don't know what is going on ? So far , it never give this type of problem.
    Thanks for anybody who can help me in this .
    Rgds,
    Daniel

    1. Your MacBook Pro does not run iOS 6 system. iOS is for iPhone, iPad devices. From the Finder menu select the Apple>About This Mac should give you the operating system you are running. So now what happens when you push the power button?

  • Needed:  Person who can help me set up mail service

    Hi...I've been reading the forum for days and have been finding information in small bits and pieces...but I need someone who can help me put it all together. Basically, we are trying to move our mail server in-house. We have a better than T1 connection, I just need SOMEONE who can tell me exactly what we need to do to set up mail service on osx server 10.4.8 to work for us. Any takers?
    I have enough knowledge to set up our web and file sharing services (very easy, no brainer stuff), but really I'm lost on the Mail Service setup.
    Thanks!

    Hi
    I hope this thread is not resolved. Even if it is, this is my solution.
    0.1. You must have a domain name pointing to your public IP
    0.2. Your router (if you have one) must forward smtp, pop, and imap ports to the private IP adress of the sever
    Server Admin
    1. You must have DNS enable with your domain name configured. I presume that you know to.
    2. Setup your mail service
    in General
    2.1. Activate POP
    2.2. Acivate Imap (if you need)
    2.3. Activate SMTP
    2.4. Accept incoming mail
    2.5. Retain outgoing mail
    in filter
    2.6. Set up as you need
    in advanced->security
    2.7. Set up aurhentifaction for smtp and pop.(important for smtp because you can be a spam relay)
    in advanced->Hosting
    2.8. add your domain name in localhost window
    Users admin
    3. Go to your users account (mail tab)
    3.1 Activate mail
    3.2 Choose receipt method.
    I've followed this procedure 5 or 6 times and it's working fine every time.
    Be carefull. In 10.4.8, something change in Imap service and the send of messages dont work. There is a little corrective to apply (a line to change in a config file but I do not remember what)
    Sorry if the words are not exactly the same on you screen. I'm working on a french vs and my english is not very good.
    Good luck
    Vinc'

  • Hi anybody there who can help me ha..? My phone 5s was stolen 1 month ago..Find my phone is no a big deal, How can i know whether my phone is in use??

    Hi anybody there who can help me ha..? My phone 5s was stolen 1 month ago..Find my phone is no a big deal bcz it seems to be wiped out all data including settings. it might be in use somewhere turning new fresh Gadget.  How can i know whether my phone is in use??

    You would know for a fact if the device is in use, but if you go back to the find my iPhone app in iCloud.com, you can either select to erase it, or place it in lost mode, in which case, once the device makes a connection to the internet, it will automatically go into that mode.

  • I have a report from WhatisHang which (in theory) tells my why my firefox constantly hangs up. But I need someone who can help figure this out.

    I hope this section will work, i couldnt find a place for Hang ups, and this problem doesnt usually cause a full crash, which is why it was hard to figure it out.
    I finally used the program WhatisHang to try to get an idea of what is causing the seemingly random hanging, but have been unable to find anyone who can help me with it.
    I have posted the Troubleshooting Information, though i dont think it would be of much help.
    I have the report available but dont know where i can post it.

    I must admit I seem possibly to be suffering from hangs also, although as I am often not in a hurry when using firefox on this machine it has little impact. I am using a legacy computer and tend to blame this on the computer or maybe background tasks such as from security software or indexing.
    '''Do you still get the hangs in safe mode with all''' (or maybe all but one essential plugin if you think a plugin is involved in the hangs) '''plugins disabled ?
    Have you tried to rule out
    * background tasks are the problem, <br/>(at least monitor what else is running using Task Manager or sysinternals process explorer)
    * [[is my firefox problem a result of malware|malware]]. <br/>( consider full system scans with multiple tools/software)
    * any other interacting programs or plugins <br/>(some may not be listed in firefox, you may need to check / uninstall from the OS {Windows Control Panel})
    **it may also be an idea to check hangs still occur when WhatIsHangs is not in use.
    * have you tried logging the cc & gc times in the error console, <br/>(if for instance you see times in 1000s of milliseconds appearing you may have then identified one reason for firefox being unresponsive, even if the cause is not yet identified. - a symptom the memshrink firefox developers will no doubt be eager to investigate)
    * if you can get hangs in safe mode, on at least the Aurora channel releases I suggest you immediately go ahead and file a bug yourself. (I will try to find time if not today then next weekend to look more closely at my own system to see if it is showing hangs in firefox use)
    ** ideally try with all default preferences
    ** As you have changed preferences, I suggest you include as a attachment in the bug your list of user modified preferences (use ''about:support'' or Troubleshooting Information option)
    ** State what security software is in use, it could be an important factor.<br/> (I imagine the majority of users have security software, or if not have security vulnerabilities and potentially an undetected malware problem)
    I will try to find and download a copy of WhatIsHang, see if it works on my system and what results it then shows.
    I realise I have not said anything terribly helpful I solving your problem, but I suspect you are not alone in having hangs, if you are able to spare the time to investigate and report I am sure it will help others.
    Firefox has had a few problems recently that would have been solved sooner if they were investigated when first reported, but unfortunatly an advantage of firefox is how easy it is to customise, but the downside is differentiating between a firefox fault and customisation problems.

  • I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    A 15" mid-2009 MBP RAM specifications are: 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM.
    As has been pointed out, OWC is an excellent source for Mac compatible RAM.  Crucial is another first rate source for Mac RAM.  RAM from either vendor will work just as well as any purchased from Apple with the bonus of being less expensive and having a lifetime guarantee.
    Ciao.

  • I need to download ferefox 9.0 but I cannot find it anywhere. Who can help me with this?

    I need to download ferefox 9.0 but I cannot find it anywhere. Who can help me with this?

    Please note that running out of date versions of Firefox is not recommended, as you will open yourself up to known security issues, alongside bugs and other issues. Is there a specific problem you are having with Firefox that I can help you with?
    You can download Firefox 9 at [http://ftp://ftp.mozilla.org/pub/firefox/releases/9.0.1/win32/en-US/ ftp://ftp.mozilla.org/pub/firefox/releases/9.0.1/win32/en-US/]

  • I need to cancel my monthly subscription, i have tried to cancel a few days before but not succeed and then auto-renew my subscription. I almost want to delete my adobe account. I need to cancel my monthly subscription, who can help me?

    I need to cancel my monthly subscription, i have tried to cancel a few days before but not succeed and then auto-renew my subscription. I almost want to delete my adobe account. I need to cancel my monthly subscription, who can help me?

    Cancel the Cloud http://forums.adobe.com/thread/1439535?tstart=0 may help
    or
    Adobe contact information - http://helpx.adobe.com/contact.html

  • I need an Englisch version of Apple Confirurator. Who can help me?

    For a couple of schools in the Netherlands we try to install a Casper Suite network. It seems we need an Englisch version of "Apple Configurator" to do that. The problem: At our App Store we can only download a Dutch version.
    Who can help us to get an Englisch version?

    The App Store version should be multi-language. Try changing the settings in System Prefs >> Language & Text. Put English to the top of the list, closing Prefs and then launch Configurator. Failing that, log out and back in again.

  • Hey ammm who can help me y need help but i don´t speak english very well, hey ammm who can help me y need help but i don´t speak english very well

    hey ammm who can help me y need help but i don´t speak english very well, hey ammm who can help me y need help but i don´t speak english very well

    Post your question in your native language. There are often Spanish speakers who participate in these forums.
    Regards.

Maybe you are looking for